Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

Administering Clusters

  To add a remote cluster object


haclus -add cluster ip
The variable cluster represents the cluster. This command does not apply to the local cluster.

  To delete a remote cluster object


haclus -delete cluster
The variable cluster represents the cluster.

  To modify an attribute of a local or remote cluster object


haclus -modify attribute value [-clus cluster]...
The variable cluster represents the cluster.

  To declare the state of a cluster after a disaster


# haclus -declare disconnet/outage/disaster/replica -clus cluster [-failover]
The variable cluster represents the remote cluster.

Changing the Cluster Name

This section describes how to change the ClusterName in a global cluster configuration. The instructions describe how to rename VCSPriCluster to VCSPriCluster2 in a two-cluster configuration, comprising clusters VCSPriCluster and VCSSecCluster configured with the global group AppGroup.

Before changing the cluster name, make sure the cluster is not part of any ClusterList, in the wide-area Heartbeat agent and in global service groups.

  To change the name of a cluster

  1. Run the following commands from cluster VCSPriCluster:
       # hagrp -offline ClusterService -any
       # hagrp -modify AppGroup ClusterList -delete VCSPriCluster
       # haclus -modify ClusterName VCSPriCluster2
       # hagrp -modify AppGroup ClusterList -add VCSPriCluster2 0
  2. Run the following commands from cluster VCSSecCluster:
       #  hagrp -offline ClusterService -any
       # hagrp -modify appgrp ClusterList -delete VCSPriCluster
       # hahb -modify Icmp ClusterList -delete VCSPriCluster
       # haclus -delete VCSPriCluster
       # haclus -add VCSPriCluster2 your_ip_address
       # hahb -modify Icmp ClusterList -add VCSPriCluster2
       # hahb -modify Icmp Arguments your_ip_address -clus 
         VCSPriCluster2
       # hagrp -modify AppGroup ClusterList -add VCSPriCluster2 0
       # hagrp -online ClusterService -any
  3. Run the following command from the cluster renamed to VCSPriCluster2:
      # hagrp -online ClusterService -any
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com