MCSG: Rebuilding a cluster¶
- Title:
MCSG: Rebuilding a cluster
- Author:
Douglas O’Leary <dkoleary@olearycomputers.com>
- 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:
Halt the cluster:
cmhaltcl -f
On all nodes:
rm /etc/cmcluster/*
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}
Generate a cluster configuration script.
cmquerycl -C ${config} -v -n ${node1} ... -n ${node#} cmgetconf -c ${cluster} > ${config}
Edit the configuration file as appropriate:
cmcheckconf -C ${config} cmapplyconf -C ${config}