Operating System - HP-UX
1829116 Members
2306 Online
109986 Solutions
New Discussion

changing cluster nodes IP and hostname

 
SOLVED
Go to solution
kemo
Trusted Contributor

changing cluster nodes IP and hostname

Hello Gentlemen.

Actually i am planning to change the ip address and hostname of the two nodes "hpux 11i v1"which creating a serviceguard clutser.
what is the steps that i should follow to do this without any side-effects.

Thanks
8 REPLIES 8
Frank de Vries
Respected Contributor

Re: changing cluster nodes IP and hostname

First query the cluster:
cmquerycl -C clu.conf -c

Adapt the cluster conf file
NODE_NAME


Apply the cluster conf file
cmapplyconf

Distribute to all nodes

Look before you leap
Frank de Vries
Respected Contributor

Re: changing cluster nodes IP and hostname

Forgot to mention that in cluster script
only lanx is nominated.

In the ascii package control.sh script you
find the package ip@ for your package (change manually)
e.g.

IP[0]="10.214.16.153"
SUBNET[0]="10.214.0.0"


Look before you leap
Redhat
Trusted Contributor

Re: changing cluster nodes IP and hostname

The process should be :
1)Get the current cluster config file by cmgetconf keep a copy of it.
2) Halt the cluster and keep autostart option of cluster off in /etc/rc.config.d/cmcluster
3)Change the hostname and IP address of the cluster node by set_parms
4)Reboot both the server
5)Either chnage the current cluster acsii file or recreate it by cmquerycl
6)Finally check and apply cluster config

Regards
smatador
Honored Contributor
Solution

Re: changing cluster nodes IP and hostname

Hi,
The sequence will be for example
cmgetconf -C /tmp/cluster.ascii
modify the cluster.ascii file with the new IP
cmcheckconf -C /tmp/cluster.ascii
cmhaltcl
cmapplyconf -v -C /tmp/cluster.ascii
cmruncl
mv the conf file on /etc/cmcluster
Prashanth Waugh
Esteemed Contributor

Re: changing cluster nodes IP and hostname

Hi,

edit the below file for new name.
vi /etc/cmcluster/cmclnodelist

Regards
Prashant

For success, attitude is equally as important as ability
Ganesan R
Honored Contributor

Re: changing cluster nodes IP and hostname

UVK_1
Advisor

Re: changing cluster nodes IP and hostname

hey u know what I am doing it while i am writing this :)

check this thread below

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1328056

Good Luck
kemo
Trusted Contributor

Re: changing cluster nodes IP and hostname

Thanks everybody. you are realy helpfull.