Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.6.14 get-health

Provides information on the cluster health.

Synopsis

asadmin [asadmin-options] get-health [--help]
    cluster_name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

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:

This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

cluster_name

Specifies the name of the cluster for which you want the health information. This subcommand prompts you for the cluster name if you do not specify it.

A Cluster must be present in the DAS.

Type: String

The following values can be specified:

  • Name of the cluster

Default value: N/A

Examples

The following example checks the health of server instances in a cluster.

asadmin get-health cluster1

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.