Performing Health Checks on Domain and Database Status

Periodically, you may want to confirm the state of a specific admin process or database, or a specific Storage Manager (SM) process or Transaction Engine (TE) process.

The following commands provide information on the number of processes and their status:

Note: The commands documented here are issued using NuoDB Command (nuocmd). For more information on NuoDB Command and other command line tools, see Command Line Tools.

Note: The commands documented here return 1 if the boolean expression evaluates to true, and return 0 if the boolean expression evaluates to false.

Note: For each subcommand, you may add a --timeout or a --wait-forever option. If neither is provided, the check is run once and the command returns. Use --timeout TIMEOUT to specify how long (in seconds) to wait for the database check to pass. Use --wait-forever to specify no limit to how long to wait for the database check to pass.

Examples