sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Maintenance Commands | nhpmdadmwrapper(1M)

- NAME
- SYNOPSIS
- DESCRIPTION
- ATTRIBUTES
- SEE ALSO

## NAME

> nhpmdadmwrapper - configure important values, like retry-count

## SYNOPSIS

> `/opt/SUNWcgha/sbin/nhpmdadmwrapper`

## DESCRIPTION

> 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).

## ATTRIBUTES

> See `attributes`(5) for descriptions of the following attributes:

> ATTRIBUTE TYPE | ATTRIBUTE VALUE
> --- | ---
> Interface Stability | Evolving
> Availability | SUNWnhpma, SUNWnhpmb, SUNWnhpms

## SEE ALSO

> `nhpmdadm`(1M), `nhpmd.conf`(4)

Netra HAS FS 2.1 | Go To Top | Last Changed September 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.