Operating System - HP-UX
1830895 Members
2151 Online
110017 Solutions
New Discussion

Changing IP in a Serviceguard server

 
SOLVED
Go to solution
Bandar_3
New Member

Changing IP in a Serviceguard server

We have MC Serviceguard 2 node cluster 1 pkg
We are going to upgrade our network class from class C to class B.
So we need to change our HPUX servers IP address which it’s running on cluster
Can anyone please tell the exact steps to do that with the minimum downtime if it possible?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Changing IP in a Serviceguard server

Shalom,

cmhaltnode the first server. Take it out of the cluster.

Make changes needed to the server.

Make any patches needed as well.

change the cluster configuration.

Distribute the cluster configuration to the second node.

enable the node you have been working on.

cmcheckconf
cmapplyconf

Your system is back in the cluster.

cmhaltnode the second node if needed.

Repeat the above steps.

Wala, changed both systems in a cluster with no down time.

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
nanan
Trusted Contributor

Re: Changing IP in a Serviceguard server

You have to have cluster down time.
Because you need to change your cluster configuration.

1. cluster halt
cmhaltpkg -> cmhaltnode -> cmhaltcl
2. IP chnage
/etc/rc.config.d/netconf
3. Reflect the changed IP to the cluster configfile
/etc/cmcluster/cluser.asc
4. cluster compile
cmapplyconf -v -C /etc/cmclutser/clutser.asc

5. cmruncl


good luck!
IT_2007
Honored Contributor
Solution

Re: Changing IP in a Serviceguard server

Without shutting down entire cluster you won't be able to make changes since you are making changes to Network means you have to change in cmclconf.ascii file to reflect those changes and issue command like cmapplyconf so that binaries will be distributed to other node.

Since you are making changes to network, no need to update any patches unless you are going to install any OS softwares, products etc..

Here is the steps to have min. impact.
1. Bring down app first.
2. Then issue cmhaltpkg, cmhaltcl commands.
3. IP chnage on cmclconf.ascii in /etc/cmcluster directory.
Change IP address for lan in
/etc/rc.config.d/netconf file.
4. Make sure that your nework settings work.
5. Compile cluster ascii file
cmapplyconf -v -C /etc/cmclutser/cmclconf.ascii
7. cmruncl should bring up both nodes and package.
Bandar_3
New Member

Re: Changing IP in a Serviceguard server

Thanks guys very much for the valuables steps which it was exactly what I needed to do the job .
Bandar_3
New Member

Re: Changing IP in a Serviceguard server

I am closing the thread.
As I got the steps I was looking for .
Thanks again specially to Srini_2007 and nanan .