Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Removing a SG Package from a two-node cluster

 
SOLVED
Go to solution
Sebastian Buck
Occasional Visitor

Removing a SG Package from a two-node cluster

I have a two-node SG cluster running with four packages configured. Two are running on each node. Now I want to remove one package that is not needed anymore, while the other three packages should keep on running.

How can I remove one package without interfering with the three others?

Thanks for any ideas.


4 REPLIES 4
Rajeev Shukla
Honored Contributor
Solution

Re: Removing a SG Package from a two-node cluster

First halt the package that you want to delete and then run
cmdeleteconf -p
this will ask for confirmation and then delete the package.
For more information do man on cmdeleteconf.

Cheers
Rajeev
Sridhar Bhaskarla
Honored Contributor

Re: Removing a SG Package from a two-node cluster

Hi,

Halt the package cmhaltpkg -v package_name

Delete the package from the cluster

cmdeleteconf -p package_name

Look at your package control file and identify the IPs, volume groups and the file systems. Enable the volume groups

vgchange -c n vgxx

vgchange -a y vgxx

edit /etc/fstab and add the file systems if want them. Then use the command "mount -a" to get them mounted.

Look at /etc/lvmrc and make sure you didn't disable auto activation for these volume groups.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
T G Manikandan
Honored Contributor

Re: Removing a SG Package from a two-node cluster

Highlighted
Sebastian Buck
Occasional Visitor

Re: Removing a SG Package from a two-node cluster

Thanks for your answers. I will try as recommended and give a feedback when I was successful.