MCSG: Removing clusters

Title:

MCSG: Removing clusters

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

MCSG: Removing clusters

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…

As in most things, removing the configuration is much easier than setting it up. To remove a cluster, do the following:

  1. Halt the cluster:

    cmhaltcl -f
    
  2. Edit the /etc/lvmrc file.

    1. Set the AUTO_VG_ACTIVATE variable to 1

    2. Comment out any modifications to the custom_vg_activate function call.

  3. Update the /etc/fstab file to enable automatic filesystem mounting as appropriate.

  4. Deactivate exclusive mode bit on all MCSG managed volume groups:

    vgchange -c n ${vg}
    
  5. Remove the MCSG software