The nhpmdadmwrapper command is exclusively used in
HA start/stop scripts where you need to configure important values such as retry-count for a daemon (the number of times a daemon is restarted
before calling the failure script).
By using nhpmdadmwrapper in HA scripts, retry-count no longer needs to be hardwired in these script but
can be initialized in a dedicated configuration file, /etc/opt/SUNWcgha/nhpmd.conf.
The value specified in the script is still mandatory, and is considered
the default value for retry-count. If, however, a value
is specified in this configuration file, the value takes precedence over the
default value.
The configuration file, /etc/opt/SUNWcgha/nhpmd.conf,
contains lines like :
<nametag>_RetryCount = <value>
For
the statd daemon:
nfs.client.statd.crfs_RetryCount = 2
Note that:
-
You must insert spaces or tabs before and after "=".
-
The -n option should be present in the HA
scripts for the daemon start command so that the configuration mechanism works
(the -n option will not be added if it is not present).