Home > Veritas Cluster Server Manual Pages
HACLUS (1M) |
Maintenance Commands |
haclus -delete cluster
haclus -delnotes
haclus -declare disconnect | outage | disaster | replica -clus remote_cluster [-failover]
haclus -display [cluster] [-localclus]
haclus -state [cluster] [-localclus]
haclus -list [conditional(s)]
haclus -value attribute [cluster] [-localclus]
haclus -notes
haclus -status [cluster]
haclus -updatelic
haclus -wait attribute value [-clus cluster] [-time timeout]
haclus [-help [-modify]]
outage
- -add cluster ip
- Add a cluster named cluster with the cluster address ip. This is a representation of a remote cluster on the local cluster.
- -delete cluster
- Delete a remote cluster named cluster. This option is not applicable to the local cluster; that is, one cannot delete a local cluster.
- -delnotes
- Deletes Notifier messages queued for deletion in VCS on all cluster nodes. Notifier must not be running in the cluster; the command is rejected if Notifier is running. Check the output of the command "haclus -value Notifier" to verify that Notifier is not running in or connected to the the cluster. Use the command with caution.
- -declare disconnect|outage|disaster|replica -clus remote_cluster [-failover]
- These options are available only for a remote cluster. The -declare option sets the value of the 'DeclaredState' attribute for the specified remote cluster. The value can be set to one of the following values:
disconnect
disaster
replica
The -failover option may be used for 1) an automated failover of groups from a faulted cluster to the appropriate cluster chosen by VCS based on the cluster list for the group, or 2) to get information about the corrective actions that should be taken (if automated failover is not desired). The failover is possible only if the 'DeclaredState' is outage, disaster, or replica. The -failover option gives the last known state of the groups (as seen from the local cluster) on the specified remote cluster in the faulted state. The option also provides suggested corrective actions to be taken and waits for user input.
- SCALAR
- haclus -modify attr value [-clus remote cluster]
- VECTOR
- Use the following command only when the attribute has no value:
haclus -modify attribute value
Only the following operations are allowed on vector attributes with defined values.
haclus -modify attribute -add key
haclus -modify attribute -delete -keys [-clus remote cluster]
NOTE: You cannot delete an individual element of a VECTOR.
- KEYLIST
- Use the following command only when the attribute has no value:
haclus -modify attr key
Only the following operations are allowed on keylist attributes with defined values.
haclus -modify attr -add key
haclus -modify attr -delete key \.\.\. [-clus remote cluster]
haclus -modify attr -delete -keys [-clus remote cluster]
- ASSOCIATION
- Use the following command only when the attribute has no value:
haclus -modify attribute {key value}
Only the following operations are allowed on association attributes with defined values.
haclus -modify attribute -add {key value}
haclus -modify attribute -update {key value}
haclus -modify attribute -delete key [-clus remote cluster]
haclus -modify attribute -delete -keys [-clus remote cluster]
haclus -wait ClusState RUNNING -clus C2
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.
Last updated: March 2006
Copyright ©2009 Symantec Corporation
All rights reserved.