Operating System - HP-UX
1832751 Members
2809 Online
110045 Solutions
New Discussion

Re: HP cluster ip chaning procedure

 
SOLVED
Go to solution
jayachandran.g
Regular Advisor

HP cluster ip chaning procedure

Hi all

i have 2 hp rp5470 servers in which mc/service guard is configured and running now.

We have planned to change the ip address of all servers here how do I do it?

Please help me with the procedures.
.

Thank you.
4 REPLIES 4
mirco_1
Valued Contributor
Solution

Re: HP cluster ip chaning procedure

hy,

the step is:

1) stop cluster
2) set_parms ip_address
3) change .ascii file cluster "HEARTBEAT_IP"
4) cmcheckconf
5) cmapplyconf

is possible use SAM

P.S. needs reboot!!
P.S. sorry for the english

DM.
Thayanidhi
Honored Contributor

Re: HP cluster ip chaning procedure

Hi,
It requires cluster outage.
If I am correct,
Create ascii file from running configuration
#cmgetconf
Modify ascii file for new IP adresses
Change the system IP addresses (use sam or set_parms)
Halt the cluster after halting all packages
#cmhaltpkg
#cmhaltcl
Check/apply the new config
#cmcheckconf
#cmapplyconf

If you are changing the IP to new network address (subnet), you may need to modify the package IP as well. Make sure your applications work after you change the IP.

Regds
TT
Attitude (not aptitude) determines altitude.
Mel Burslan
Honored Contributor

Re: HP cluster ip chaning procedure

First off, I assume that you know how to change the ip address of the physical server itself and this will be done and completed before coming to the clust re-ip'ing activities.

go to /etc/cmcluster find your cluster config file. If you are not sure which one it is, create a new one :

cmgetconf -c MyClusterA MyClusterA.config

and edit this file and find the 2 nodes IP addresses and change these addresses to the new values.

then if you are changing the IP address of the relocatable packages descend into the package directories and find the .cntl files for each package and edit this file. Look for string "IP" in capital letters. You will find where the IP address is set. Change these values to the new addresses.

go back to /etc/cmcluster and run these commands:

cmcheckconf -C MyClusterA.config -P Pkg1/Pkg1.config -P Pkg2/Pkg2.config

if the command did not barf any error messages, then

cmapplyconf -f -C MyClusterA.config -P Pkg1/Pkg1.config -P Pkg2/Pkg2.config


After all is said and done, make sure you have the same filesets under /etc/cmcluster directories on both cluster member nodes. If not, make sure you manually copy the latest configuration to both nodes to avoid an inconsistency in the future.


Needless to say, your cluster must be down while you do all this work.
________________________________
UNIX because I majored in cryptology...
jayachandran.g
Regular Advisor

Re: HP cluster ip chaning procedure

Thaks for all i have changed the ipddresses.