1831912 Members
3771 Online
110031 Solutions
New Discussion

disarm cluster

 
SOLVED
Go to solution
castro_2
Regular Advisor

disarm cluster

I have Service Guard, I need to disarm cluster to use the system in standalone.
I want to desintall the Service Guard.
What are the steps to do this?

Thanks
Merry Chrismas
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: disarm cluster

Joke: Point a semi-automatic weapon at the cluster and demand it immediately drop any weapons and put its hands in the air.

cmhaltcl

# halts the entire cluseter

cmhalt node -v

# this will halt individual nodes in the cluster.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Brian Vance
Advisor
Solution

Re: disarm cluster

First halt the cluster
cmhaltcl
Then run this on the node to be removed
cmhaltnode
Edit the file /etc/rc.config.d/cmcluster and set
AUTOSTART_CMCLD=0

You may then use swremove to remove the MC/Serviceguard software.


Note:
You may need to remove references to the removed node in the remaining cluster nodes.
Patrick Wallek
Honored Contributor

Re: disarm cluster

You will need to make sure your VGs that were activated by the MC/SG get activated automatically on reboot now. Modify the /etc/lvmrc file and change the line:

AUTO_VG_ACTIVATE=0

to

AUTO_VG_ACTIVATE=1

You will also need to make sure that you add your filesystem that the packages used into /etc/fstab so that they are now mounted automatically when the system boots.
Sanjay_6
Honored Contributor

Re: disarm cluster

Hi Castro,

You need to shutdown the cluster first.

cmhaltcl -f would shutdown all the nodes in the cluster. Then delete the cluster info, using cmdeleteconf to delete the cluster info. Then activate the vg manually and mount the filesystems and you are good to go. For future purpose, remove any entry made in /etc/lvmrc for the SG and make new entries in /etc/fstab for the filesystems to be now mounted without a SG package to control their mount.

Hoep this helps.

Regds
Paul Torp
Regular Advisor

Re: disarm cluster

after u have done what is described by the others:

remember to put the startup/shutdown scripts in the package .cntl files into e.g /sbin/rc3.d (start) /sbin/rc2.d (kill)

and set the filesystemmounting /etc/fstab

-paul
"sendmail is kind of fun..."