Changing the cluster name in a global cluster setup

This topic describes how to change the ClusterName attribute 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