catalog_update(1) | Cooperative Computing Tools | catalog_update(1) |
catalog_update - send update to catalog server
catalog_update [options] [name=value] ..
The catalog_update tool allows users to manually send an update to a catalog server via a short UDP packet.
The catalog_update tool sends a custom message to the catalog server in the from of a JSON object with various properties describing the host. By default, the catalog_update tool includes the following fields in the update:
The field name is intended to give a human-readable name to a service or application which accepts incoming connections at port.
On success, returns zero. On failure, returns non-zero.
The following example sends an update to the catalog server located at catalog.cse.nd.edu with three custom fields.
% cat > test.json << EOF {
"type" : "node",
"has_java" : true,
"mode" : 3 } EOF % catalog_update -c catalog.cse.nd.edu -f test.json
The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
CCTools 7.1.2 FINAL |