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 -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 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:
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: