HP StorageWorks Application Recovery Manager Command Line Interface Reference (T4395-96007, December 2007)
omnihealthcheck (1M)
-75-Hewlett-Packard Company AppRM A.06.00: December 2007
omnihealthcheck (1M)
NAME
omnihealthcheck – checks if Application Recovery Manager internal database (IDB)
and services are operational.
SYNOPSIS
omnihealthcheck -version | -help
omnihealthcheck [-config ConfigFile]
DESCRIPTION
The omnihealthcheck command reads the specified configuration file where each
line of the file is treated as a separate command and is executed. Note that the
commands must be listed with full pathnames except if they are Application
Recovery Manager commands located in <AppRM_home>\bin on the Cell Manager .
Note also that the configuration file must be in the UNICODE format. If the
configuration file is not specified, the default file is used:
<AppRM_home>\Config\server\HealthCheckConfig.
If the default file is used, omnihealthcheck checks if Application Recovery Manager
services (rds, crs, mmd, omnitrig and omniinet) are active.
Exit codes of individual commands are inspected at the end.
There are 3 different exit codes for the omnihealthcheck command:
0: All listed commands and their exit codes have been executed.
1: At least one of the commands in the configuration file could not be executed or has
completed with an exit code other than 0.
2: The configuration file could not be read.
The final health check exit code is 0 (OK) only if all executed commands from the
configuration file completed successfully (exit codes of all executed individual
commands from the configuration file are 0).
Output of the omnihealthcheck command is saved in
<AppRM_home>\Log\server\HealthCheck.log on the Cell Manager.
If a timeout occurs, omnihealthcheck fails.