MCSG: removing packages checklistΒΆ

Title:MCSG: removing packages checklist
Author:Douglas O’Leary <>
Description:MCSG: removing packages checklist
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...

If you want to temporarily remove a package, simply:

cmhaltpkg ${pkg}
cmdeleteconf -p ${pkg}

Using the above, the package is removed from the cluster configuration file yet all the set up that you’ve done in the package configuration directory still exists. To renable the package from this point:

cd /etc/cmcluster/${pkg}
cmapplyconf -P ${config}
cmrunpkg ${pkg}
cmmodpg -e ${pkg}

If you want to permanently remove a package, there’s a slight bit more work that needs to be done.

cmhaltpkg ${pkg}
cmdeleteconf -p ${pkg}
# Remove the exclusive bit on the volume groups:
for vg in $(grep '^VG' ${script} | awk -F= '{print $2}')
   vgchange -c n ${vg}
   vgchange -a y ${vg}

If desired, remove the package configuration information from all primary and adoptive nodes.