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
hagrp -offline ClusterService -any hagrp -modify AppGroup ClusterList -delete VCSPriCluster haclus -modify ClusterName VCSPriCluster2 hagrp -modify AppGroup ClusterList -add VCSPriCluster2 0
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
hagrp -online ClusterService -any