catalog_server - start a catalog server
A catalog server provides naming and discovery for multiple components of the Cooperative Computing Tools, particularly the Chirp distributed filesystem and the Work Queue distributed programming framework. Services that wish to be known on the network periodically publish their information to the catalog server via a short UDP packet. Clients wishing to discover services by name may query the catalog by issuing an HTTP request to the catalog server and will receive back a listing of all known services.
To view the complete contents of the catalog, users can direct their browser to http://catalog.cse.nd.edu:9097. Command line tools work_queue_status and chirp_status present the same data in a form most useful for Work Queue and Chirp, respectively. Large sites are encouraged to run their own catalog server and set the CATALOG_HOST and CATALOG_PORT environment variables to direct clients to their server.
The catalog server is a discovery service, not an authentication service, so services are free to advertise whatever names and properties they please. However, the catalog does update each incoming record with the actual IP address and port from which it came, thus preventing a malicious service from overwriting another service's record.
Run as a daemon.
Write process identifier (PID) to file.
Enable debugging for this subsystem
Show this help screen
Store catalog history in this directory. Enables fast data recovery after a failure or restart, and enables historical queries via deltadb_query.
Listen only on this network interface.
Lifetime of data, in seconds (default is 1800)
Log new updates to this file.
Maximum number of child processes. (default is 50)
Maximum size of a server to be believed. (default is any)
Set the preferred hostname of this server.
Write debugging output to this file. By default, debugging is sent to stderr (":stderr"). You may specify logs to be sent to stdout (":stdout") instead.
Rotate debug file once it reaches this size (default 10M, 0 disables).
Port number to listen on (default is 9097)
Single process mode; do not fork on queries.
Maximum time to allow a query process to run. (default is 60s)
Send status updates to this host. (default is catalog.cse.nd.edu,backup-catalog.cse.nd.edu)
Send status updates at this interval. (default is 5m)
Show version string
Select port at random and write it to this file. (default is disabled)
- CATALOG_HOST Hostname of catalog server (same as -u).
- CATALOG_PORT Port number of catalog server to be contacted.
- TCP_LOW_PORT Inclusive low port in range used with -Z.
- TCP_HIGH_PORT Inclusive high port in range used with -Z.
On success, returns zero. On failure, returns non-zero.
The Cooperative Computing Tools are Copyright (C) 2005-2021 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
- Cooperative Computing Tools Documentation
- catalog_server(1) catalog_update(1) catalog_query(1) chirp_status(1) work_queue_status(1) deltadb_query(1)