Home > Veritas Cluster Server Manual Pages

HAHB (1M)

Maintenance Commands

Table of contents


NAME

hahb - manage individual heartbeats between clusters

SYNOPSIS

hahb -add hb

hahb -delete hb

hahb -display [name ]

hahb -list [conditional(s)]

hahb -state [hb] [-clus cluster]

hahb -value hb attr [-clus cluster]

hahb -local hb attr

hahb -global hb attr value | key | { key value }

hahb [-help -modify]]


AVAILABILITY

VRTSvcs


DESCRIPTION

The hahb command administers heartbeats emanating from local cluster to remote clusters. Heartbeats are used to monitor health of remote clusters. See NOTES for how to specify "-" and "%" characters in the command line.


OPTIONS

-add hb
Add a heartbeat named hb.
-delete hb
Delete a heartbeat named hb.
-display [name ... ]
Display heartbeat attribute values for the specified heartbeat. If no heartbeat is specified, attribute values for all heartbeats are displayed.
-list [conditional(s)]
Displays a list of heartbeats whose values match given conditional statement(s). Conditional statements can take three forms: Attribute=Value, Attribute!=Value, Attribute=~Value. Multiple conditional statements imply AND logic. If no conditional statement is specified, all heartbeats in the cluster are listed.
-state [hb] [-clus cluster]
Return the current state of specified heartbeat for the specified remote cluster. If no heartbeat is specified, the state of all the heartbeats for the specified remote clusters is returned. If no remote cluster is specified and the heartbeat is specified, the state of the specified heartbeat for all the clusters in its \(oqClusterList\(cq is returned. If neither the heartbeat, nor the remote cluster is specified, the state of all the heartbeats for each of the clusters in the \(oqClusterList\(cq of each individual heartbeat is returned.
-value hb attr [-clus cluster]
The -value option provides the value of a single attribute for a specified heartbeat. The cluster name must be specified for local attribute values but not for global attribute values. The -value option is used instead of the -display option when one specific attribute value is needed rather than a table of many attribute values.
-local hb attr
Localize an attribute. The current single value is applicable for all clusters in the \(oqClusterList\(cq attribute for that particular heartbeat. This is changed to a separate value for each of the clusters in the \(oqClusterList\(cq Localized attributes may have a different value for each cluster in the ClusterList.
-global hb attr value ... | key ... | { key value } ...
Change the scope of a local attribute (one that has a separate value for every cluster in the ClusterList for that particular heartbeat) to global (a single value for all clusters in the ClusterList). This value is the one specified.
-help [-modify]
This option prints the \(oqusage\(cq message. If the -modify option is specified, it prints the usage message for the modify operation.
-modify
Modify the value of an attribute of a specified heartbeat.
SCALAR
hahb -modify hb attr value [-clus remote cluster]
VECTOR
hahb -modify hb attr value [-clus remote cluster] hahb -modify hb -add value [-clus remote cluster] hahb -modify hb -delete -keys [-clus remote cluster] Note: You cannot delete an individual element of a VECTOR
KEYLIST
hahb -modify hb attr key hahb -modify hb attr -add key hahb -modify hb attr -delete key [-clus remote cluster] hahb -modify hb attr -delete -keys [-clus remote cluster] hahb -help

NOTES

This heartbeat represents a WAN heartbeat that is applicable across clusters. This is not to be confused with the LLT heartbeat which is applicable within a cluster. When using the command to specify or modify an attribute's value that begins with a dash ("-"), precede the value with a percent sign ("%"). For example, specify -y as %-y. Likewise, precede a value that starts with a percent sign with another percent sign.


SEE ALSO

haclus(1M)


COPYRIGHTS

Copyright (c) 2008 Symantec.

All rights reserved.

Last updated: 07/03/2008
Copyright ©2009 Symantec Corporation
All rights reserved.