Querying heartbeats

The hahb command is used to manage WAN heartbeats that emanate from the local cluster. Administrators can monitor the "health of the remote cluster via heartbeat commands and mechanisms such as Internet, satellites, or storage replication technologies. Heartbeat commands are applicable only on the cluster from which they are issued.

Note   You must have Cluster Administrator privileges to add, delete, and modify heartbeats.

The following commands are issued from the command line.

For a list of heartbeats configured on the local cluster

hahb -list [conditionals]

The variable conditionals represents the conditions that must be met for the heartbeat to be listed.

To display information on heartbeats configured in the local cluster

hahb -display [heartbeat ...]

If heartbeat is not specified, information regarding all heartbeats configured on the local cluster is displayed.

To display the state of the heartbeats in remote clusters

hahb -state [heartbeat] [-clus cluster]

For example, to get the state of heartbeat ICMP from the local cluster to the remote cluster phoenix:

hahb -state ICMP -clus phoenix

To display an attribute value of a configured heartbeat

hahb -value heartbeat attribute [-clus cluster]

The -value option provides the value of a single attribute for a specific heartbeat. The cluster name must be specified for cluster-specific attribute values, but not for global.

For example, to display the value of the ClusterList attribute for heartbeat ICMP:

hahb -value Icmp ClusterList

Note that ClusterList is a global attribute.

To display usage for the command hahb

hahb [-help [-modify]]

If the -modify option is specified, the usage for the hahb -modify option is displayed.