======================================================= MCSG: Rebuilding a cluster ======================================================= :Title: MCSG: Rebuilding a cluster :Author: Douglas O'Leary :Description: MCSG: Rebuilding a cluster :Date created: 06/2007 :Date updated: 07/2008 :Disclaimer: Standard: Use the information that follows at your own risk. If you screw up a system, don't blame it on me... To completely rebuild a cluster from scratch, do the following: 1. Halt the cluster:: cmhaltcl -f 2. On all nodes:: rm /etc/cmcluster/* 3. On a two node cluster, enable at least one of the volume groups used for packages. This volume group will be used for the lock disk. :: vgchange -c n ${vg} vgchange -a y ${vg} 4. Generate a cluster configuration script. :: cmquerycl -C ${config} -v -n ${node1} ... -n ${node#} cmgetconf -c ${cluster} > ${config} 5. Edit the configuration file as appropriate:: cmcheckconf -C ${config} cmapplyconf -C ${config}