Administering heartbeats

To create a heartbeat

hahb -add heartbeat

For example, type the following command to add a new IcmpS heartbeat. This represents a heartbeat sent from the local cluster and immediately forks off the specified agent process on the local cluster.

hahb -add IcmpS

To modify a heartbeat

hahb -modify heartbeat attribute value ... [-clus cluster]

If the attribute is local, that is, it has a separate value for each remote cluster in the ClusterList attribute, the option -clus cluster must be specified. Use -delete -keys to clear the value of any list attributes.

For example, type the following command to modify the ClusterList attribute and specify targets "phoenix and "houston for the newly created heartbeat:

hahb -modify ICMP ClusterList phoenix houston

To modify the Arguments attribute for target phoenix:

hahb -modify ICMP Arguments phoenix.example.com -clus phoenix

To delete a heartbeat

hahb -delete heartbeat

To change the scope of an attribute to cluster-specific

hahb -local heartbeat attribute

For example, type the following command to change the scope of the attribute AYAInterval from global to cluster-specific:

hahb -local ICMP AYAInterval

To change the scope of an attribute to global

hahb -global heartbeat attribute value ... | key ... | key value ...

For example, type the following command to change the scope of the attribute AYAInterval from cluster-specific to cluster-generic:

hahb -global ICMP AYAInterval 60