nanny
Overview for MariaDB Xpand
This page is part of MariaDB's Documentation.
The parent of this page is: Other Features for MariaDB Xpand
Topics on this page:
Overview
nanny
ensures that all jobs needed for the successful function of Xpand are running.
The
nanny
process is launched automatically by the system init process.The set of jobs to be run by
nanny
is initially configured via/opt/clustrix/etc/nanny.conf
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).
Jobs Controlled by nanny
The following jobs are kept running by nanny
:
Job Name | Description |
---|---|
| Main Xpand process.
Activates:
|
| Xpand Statistics Collection Script: Regularly collects and aggregates statistics for the UI or other management interfaces. For additional information, see "Monitoring with 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. For additional information, see "Email Alerts for MariaDB Xpand". Active on all nodes. |
| Interface required by the Xpand Graphical User Interface ( |
| XpandGUI for MariaDB Xpand. Facilitates web-based cluster management. |
nanny
Commands
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_ | Description |
---|---|
| 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. |