This section describes how to remove a node from a cluster. As in previous examples, the following removes the system system03 from a three-node cluster. The procedure can be done from any node remaining in the cluster or from a remote host.
To remove a node from a cluster
cfscluster stop -f system03
hagrp -modify service_group
SystemList -delete system03
hagrp -modify cvm
SystemListf -delete system03
where service_group is the command that displays the service groups by
hagrp -dep cvm.
If an error message similar to the following is displayed by either of the above commands:
VCS:10456:Configuration must be ReadWrite. ('hagrp
Repeat step 3 and the command that failed in step 4.
haconf -dump -makero
/etc/llthostson the remaining nodes of the cluster, and remove the entry corresponding to the node being removed.
/etc/gabtabon the remaining nodes of the cluster and edit the
gabconfigcommand to reflect the correct and new number of nodes in the cluster.
scriptsdirectory, run the
uninstallsfcfsscript and remove SFCFS on system03:
If you do not want to remove the Veritas Cluster Server software, enter n when prompted to uninstall VCS.
See the Veritas Cluster Server Installation Guide, on the software disc.