Operating System - HP-UX
1834741 Members
3452 Online
110070 Solutions
New Discussion

Help needed on Service Guard deinstallation

 
SOLVED
Go to solution

Help needed on Service Guard deinstallation

Hi! all,

We have two K systems on service guard, functioning smoothly.

We have decided to deinstall the service guard and run the systems independently.

What are the steps involved in deinstalling the service guard, before just doing swremove?

Thank you,

-Venkat
Experience is the Best Teacher
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Help needed on Service Guard deinstallation

Hi:

You can disable MC/ServiceGuard by doing the following:

Activate all volume groups at bootup. Change 'etc/lvmrc' to specify:

AUTO_VG_ACTIVATE=1

Stop all cluster services, so edit '/etc/rc.config.d/cmcluster' to specify:

AUTOSTART_CMCLD=0

Regards!

...JRF...
John Poff
Honored Contributor
Solution

Re: Help needed on Service Guard deinstallation

Hi,

Here is my take on it:

1. Halt all the packages on both boxes.
2. Halt the cluster (cmhaltcl).
3. Change each volume group in all the packages back from being cluster ready (vgchange -c n vg_name)
4. Activate each volume group, put entries in local /etc/fstab files for all the filesystems, and mount them.
5. Check your /etc/lvmrc for AUTO_VG_ACTIVATE (probably set to 0 for MC/SG) and put back to =1.
6. Setup any required start/stop scripts in /sbin/init.d and link appropriate start/stop links in /sbin/rc.#d directories, and put entries as needed in files in /etc/rc.config.d. (No more nice start/stop function in the packages to handle this for you!)

At this point, you should be able to swremove MC/SG. I would do that and then use Ignite to create make_recovery backups of the systems. It might not be a bad idea to take make_recovery backups of the system before you start this process also.

I probably missed something, but that is my rough list for now.

JP

Re: Help needed on Service Guard deinstallation


Thank you very much guys. I'm really amazed with the fast response from your end.

-Venkat
Experience is the Best Teacher
Keith Clark
Valued Contributor

Re: Help needed on Service Guard deinstallation

I just wanted to add to that if your application(s) are dependant on the ip address and you for some reason cannot change the hostname of your server you can add a virtual interface to the /etc/rc.config.d/netconf file.

For example, if the only interface in your machine is lan0:

INTERFACE_NAME[1]=lan0:1
IP_ADDRESS[1]=WWW.XXX.YYY.ZZZ
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

This link will provide more informatin:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062689264
for 10.30 or above.

For 10.20, search the technical knowledge base for ifalias.

Good luck,

Keith
Keith Clark
Valued Contributor

Re: Help needed on Service Guard deinstallation

Sorry, I messed up on the link (newbie to forums!) try:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062689264

Keith