1832273 Members
2033 Online
110041 Solutions
New Discussion

CLUSTER IP CHANGE

 
prajul.keeriyat
Occasional Advisor

CLUSTER IP CHANGE

Hi All,

I got a ticket regarding cluster(3 node) physical Ip cahnge.Can I change it normally(set_parms) or I need to edit culster conf. file..? and also want to know need to halt the package and node...?

thanks in adv....
3 REPLIES 3
Uday_S_Ankolekar
Honored Contributor

Re: CLUSTER IP CHANGE

This cannot to be done online if it affects cluster servers.
You need to change respective package control script also if you are changing package ip.

Good Luck..
Steven E. Protter
Exalted Contributor

Re: CLUSTER IP CHANGE

Shalom,

You need to do both steps.

set_parms can be replaced by a straight edit of /etc/rc.config.d/netconf

I would edit the cluster.conf file then:

cmquerycl (may be optional)
cmcheckconf
cmapplyconf

There are a lot of services dependent on IP address, and most likely the node will need to be rebooted to make everything work right. Not strictly necessary, just way easier.

Assuming all services run correctly on all nodes, you can simply move the packages to the node not being maintained/changed to avoid service outage during the changes.

I would warn the user community as well, because your high availability cluster will for some time not be highly available any more.

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
Emil Velez
Honored Contributor

Re: CLUSTER IP CHANGE

1. move the package to other nodes
2. remove node from all packages
3. remove node from cluster
4. change IP of node
5. add node to cluster
6. cmrunnode
7. add node to all relevant packages.

This can be done while the cluster and packages are running.