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:
Job Name | Description |
---|---|
krobix | Main ClustrixDB process.
Activates:
|
statd | 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. |
alerter | Monitors cluster and sends email per configuration. See Database Alerts. Active on all nodes. |
clxdbi | Interface required by the ClustrixDB Graphical User Interface (clxgui). |
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.
nanny_command | Description |
---|---|
add_job | Add a new job. |
change_job | Change an existing job. |
del_job | Delete a configured job. |
help | List available commands. |
show_job | Display information about a specific job. |
show_jobs | List all configured jobs and their status. |
start_job | Start a stopped job. |
stop_job | Stop a running job. |
version | Display the node version. |