Operating System - HP-UX
1832339 Members
2415 Online
110041 Solutions
New Discussion

Steps for Network Migration

 
SOLVED
Go to solution
UVK_1
Advisor

Steps for Network Migration

Hello Folks,

I am planning to migrate a 2 node HPUX server cluster from one network to another network without any physical move. I will be re-IP'ing all the existing system IP's except the private network of heartbeat.

Can any of you give me a list of what all things that needs a change?

Below is some common useful information about the 2 nodes I refereed above.
H/W :- rp7420
OS :- HPUX 11.11 U
ServiceGuard :- A.11.16.00
Storage :- EVA 4000

Appreciate your help in this.

Thanks,
Vijay
8 REPLIES 8
Mark McDonald_2
Trusted Contributor
Solution

Re: Steps for Network Migration

Things to think about:

on the boxes:
/etc/hosts AND /etc/rc.config.d/netconf
/etc/cmcluser/* ->
packages will have to have the floating ip's updated.
static/heartbeat network's will have to be updated in the ascii file.
Are there any config files for the app that may have the ip in rather than the hostname?


ALSO:
dns if you use it, or however other boxes resolve hostnames?

Suraj K Sankari
Honored Contributor

Re: Steps for Network Migration

Hi,
I followd these steps when I had change IP Address of my cluster servers.

Before you change the IP Address of your Server you must have all new ips ex. Server ip and package ip then you may go for this changes.

Take backup of these directory and files

1./etc/cmcluster
2./etc/hosts
3./etc/rc.config.d/netconf

modify these files
1./etc/hosts # modify ipaddress
2./etc/rc.config.d/netconf # modify ipaddress and subnet
3./etc/cmcluster/cluster.conf # modify HEARTBEAT_IP

4./etc/cmcluster/packge/cipackage.conf # change SUBNET XX.XX.XX.XX
5./etc/cmcluster/packge/dbpackage.conf # change SUBNET XX.XX.XX.XX

6./etc/cmcluster/packge/cipackage.cntl # change IP[0]=XX.XX.XX.XX
change SUBNET[0]=XX.XX.XX.XX

7./etc/cmcluster/packge/cipackage.cntl # change IP[0]=XX.XX.XX.XX
change SUBNET[0]=XX.XX.XX.XX

8.rcp cluster.conf into /etc/cmcluster
rcp cluster.conf into other node same location

9.rcp these conf,cntl and config file into /etc/cmcluster/packge/
rcp ciVRP.conf,dbVRP.conf,ciVRP.cntl,dbVRP.cntl


10. restart the net for new ip
/sbin/init.d/net stop
/sbin/inti.d/net start

check all ipaddress which we have changed and check with linkloop also


11.cmcheckconf -v -C /etc/cmcluster/cluster.conf -P cipackage.conf -P dbpackage.conf
it should come with no error then go for the next step

12.cmapplyconf -v -C /etc/cmcluster/cluster.conf -P cipackage.conf -P dbpackage.conf


Suraj
UVK_1
Advisor

Re: Steps for Network Migration

Thanks for the inputs folks, If I remember it right we need to rebuild the cluster when we change anything in the cluster configuration ?
Ganesan R
Honored Contributor

Re: Steps for Network Migration

Hi Vijay,

Yes.Ofcourse. You just need to recompile the cluster binaray file after changing the new IPaddress/subnet in cluster and package config files.

Other than that not much changes needed.
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: Steps for Network Migration

Hi Vijay,

Refer this thread as well for more informations..

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1268908
Best wishes,

Ganesh.
Suraj K Sankari
Honored Contributor

Re: Steps for Network Migration

HI,
yes after changing the ip of your server, and packages you need to verify with cmcheckconf and rebuild the cluster with cmapplyconf..

cmcheckconf -v -C /etc/cmcluster/cluster.conf -P cipackage.conf -P dbpackage.conf
it should come with no error then go for the next step

12.cmapplyconf -v -C /etc/cmcluster/cluster.conf -P cipackage.conf -P dbpackage.conf


Suraj
UVK_1
Advisor

Re: Steps for Network Migration

Folks,

How about re-ip'ing MP ? How are we gonna do it ?

Thanks,
Vj
UVK_1
Advisor

Re: Steps for Network Migration

Thanks for the inputs friends. I hope my migration goes good with out any show stoppers from the network side :)

Cheers,
Vj