catalog_server(1)
β¨ catalog_server(1) β¨
okay bestie, welcome to the catalog_server page from the Cooperative Computing Tools manual, section 1 π buckle up, this one's literally the matchmaker of your whole distributed cluster π«Ά
πΈ NAME πΈ
catalog_server β start a catalog server β¨
π SYNOPSIS π
catalog_server [options]
π¦ DESCRIPTION π¦
so basically, a catalog server is the naming and discovery girlie for a bunch of components in the Cooperative Computing Tools β especially the Chirp distributed filesystem and the Work Queue distributed programming framework π
here's the vibe: services that want to be known on the network periodically publish their info to the catalog server via a short UDP packet π¨ and then clients that wanna discover services by name can query the catalog by sending an HTTP request to the catalog server and they get back a listing of all known services. it's giving directory service but make it iconic π
want to see the complete contents of the catalog with your own eyeballs? direct your browser to http://catalog.cse.nd.edu:9097 π the command line tools work_queue_status and chirp_status serve up that same data in a form that's most useful for Work Queue and Chirp respectively, no cap. and if you're a large site, you're encouraged (fr fr) to run your own catalog server and set the CATALOG_HOST and CATALOG_PORT environment variables so clients get pointed at your server π
β οΈ important tea: the catalog server is a discovery service, NOT an authentication service. so services are free to advertise whatever names and properties they please π however β and this is the slay part β the catalog updates each incoming record with the actual IP address and port from which it came, which prevents a malicious service from overwriting another service's record. protective king behavior, honestly π‘οΈ
π OPTIONS π
-b,--backgroundβ run as a daemon π§-B,--pid-file=<file>β write the process identifier (PID) to file π-d,--debug=<flag>β enable debugging for this subsystem π-h,--helpβ show this help screen π-H,--history=<directory>β store catalog history in this directory. this enables fast data recovery after a failure or restart, and it enables historical queries viadeltadb_queryπ₯-I,--interface=<addr>β listen only on this network interface π§-l,--lifetime=<secs>β lifetime of data, in seconds (default is1800) β³-L,--update-log=<file>β log new updates to this file π-m,--max-jobs=<n>β maximum number of child processes. (default is50) πΆ-M,--server-size=<size>β maximum size of a server to be believed. (default isany) π€-n,--name=<name>β set the preferred hostname of this server π·οΈ-o,--debug-file=<file>β 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 π€-O,--debug-rotate-max=<bytes>β rotate debug file once it reaches this size (default10M,0disables) π-p,--=<port>β port number to listen on (default is9097) πͺ-S,--singleβ single process mode; do not fork on queries π βοΈ-T,--timeout=<time>β maximum time to allow a query process to run. (default is60s) β°-u,--update-host=<host>β send status updates to this host. (default iscatalog.cse.nd.edu,backup-catalog.cse.nd.edu) π‘-U,--update-interval=<time>β send status updates at this interval. (default is5m) π-v,--versionβ show version string π-Z,--port-file=<file>β select port at random and write it to this file. (default isdisabled) π²
π ENVIRONMENT VARIABLES π
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.
π EXIT STATUS π
on success, returns zero β¨ on failure, returns non-zero π (iykyk)
π COPYRIGHT π
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 π
π«Ά SEE ALSO π«Ά
- Cooperative Computing Tools Documentation
catalog_server(1)catalog_update(1)catalog_query(1)chirp_status(1)work_queue_status(1)deltadb_query(1)
and that's the whole page bestie π this was CCTools 8.0.0 DEVELOPMENT era, and yeah the footer tag is exactly that same catalog_server(1) energy, so go forth and discover some services π periodt β¨ππ¦
π¦ where this page comes from
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms