Operating System - HP-UX
1834154 Members
2702 Online
110064 Solutions
New Discussion

Removing a package from MCSG

 
James Nowak
Occasional Contributor

Removing a package from MCSG

Is it possible to remove a package from MCSG without impacting the cluster availabilty?

I will be needing to remove the package and its filesystems entirely.
2 REPLIES 2
likid0
Honored Contributor

Re: Removing a package from MCSG

Yes, there is no problem, no need to stop the cluster.

first stop the package:

cmhaltpkg pkg1

To remove the package from the cluster:

cmdeleteconf -f -c clusterA -p pkg1

for mor info:

man cmdeleteconf

The you can delete your Fs,lv,vgs with no prob
Windows?, no thanks
Paul McCleary
Honored Contributor

Re: Removing a package from MCSG

Not if it is of a certain type:

System multi-node pkgs cannot be deleted from a running cluster.

You need to confirm that no other packages are dependant upon it - I think this is only possible from 11.17 version of SG.
#cmviewcl -v -l

If it is not using CFS then you should just be able to stop the package and remove it from the cluster while the cluster is running:
#cmhaltpkg
#cmdeleteconf -p

Or you can use ServiceGuard Manger if you don't like CLI.

Make sure you backup all your cluster files, /etc/cmcluster, before you make any changes.

Hope this helps,

Paul