148/461

## get-health

provides information on the cluster health

Synopsis

    get-health [--help] cluster_name

Description

The `get-health` subcommand gets information about the health of the cluster. Note that if the group management service (GMS) is not enabled, the basic information about whether the server instances in this cluster are running or not running is not returned. For each server instance, one of the following states is reported: `not started`, `started`, `stopped`, `rejoined`, or `failed`. This subcommand is available in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

Operands

cluster_name

  The name of the cluster for which you want the health information. This subcommand prompts you for the cluster name if you don't specify it.

Examples

Example 1 Checking the health of server instances in a cluster

      asadmin> get-health cluster1
      instance1 started since Wed Sep 29 16:32:46 EDT 2010
      instance2 started since Wed Sep 29 16:32:45 EDT 2010
      Command get-health executed successfully.

Exit Status

0

  command executed successfully

1

  error in executing the command

See Also

validate-multicast(1)

asadmin(1M)