Operating System - HP-UX
1834009 Members
4462 Online
110063 Solutions
New Discussion

how to change the heartbeat_ip address?

 
SOLVED
Go to solution
leyearn
Regular Advisor

how to change the heartbeat_ip address?

is this right?
vi the /etc/rc.config.d/netconf file
change the ipaddress of the corresponding lan interface which is used as heartbeat communication
vi the /etc/cmcluster/cluster.ascii
change the heartbeat_ip address of the lan interface
#vgchange -c n vglock
#vgchange -a y vglock
#cmcheckconf -v
#cmapplycl -v -C /etc/cmcluster/cluster.ascii
#vgchange -a n vglock
#vgchange -c y vglock
#cmruncl -v -
3 REPLIES 3
Bharat Katkar
Honored Contributor

Re: how to change the heartbeat_ip address?

HI,

If you are changing HeartBit IP then what i would do is

1. cmhaltcl
2. Update your cluster ascii file
3. Update your /etc/rc.config.d/netconf
4. cmcheckconf
5. cmapplyconf.
6. cmruncl

Regards,
You need to know a lot to actually know how little you know
Steven E. Protter
Exalted Contributor

Re: how to change the heartbeat_ip address?

Shalom,

I would halt the cluster cmhaltcl

Then I would change the cluster configuration file.

Then
cmcheckconf
cmapplyconf

Then cmruncl assuming no errors above.

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
melvyn burnard
Honored Contributor
Solution

Re: how to change the heartbeat_ip address?

currently, to change anything to do with the network, you must first halt the cluster before applying changes.
So :
cmhaltcl
vi /etc/rc.config.d/netconf
ifconfig lanx to change the ip address
netstat -i or netstat -in to verify this
vi cluster ascii file
cmapplyconf
cmruncl

Of course, you should also look at doing a reboot to test that the netconf settings are correct.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!