nanny ensures that all jobs needed for the successful function of ClustrixDB are running.
All jobs for which nanny is responsible are designed to run indefinitely.
If any of nanny's monitored jobs stop for any reason, nanny will immediately attempt to restart it.
nanny allows stopping and starting of the jobs it controls via the clx utility or the nanny port (2424) .
The following jobs are kept running by nanny:
Main ClustrixDB process.
Clustrix Statistics Collection Script: Regularly collects and aggregates statistics for the UI or other management interfaces. See Monitoring Your Cluster Using STATD.Actively run on one node in the cluster and other nodes are on standby in the event that node fails.
Monitors cluster and sends email per configuration. See Database Alerts.
Active on all nodes.
|Interface required by the ClustrixDB Graphical User Interface (clxgui).|
ClustrixGUI Administration UI. Facilitates web-based cluster management.
To run the nanny command of the clx utility, use the following syntax. The clx utility is located at /opt/clustrix/bin
|shell> clx [options] nanny nanny_command [job_name]|
This is a list of all the nanny commands available.
|Add a new job.|
|Change an existing job.|
|Delete a configured job.|
|List available commands.|
|Display information about a specific job.|
|List all configured jobs and their status.|
|Start a stopped job.|
|Stop a running job.|
|Display the node version.|