Operating System - HP-UX
1833757 Members
2510 Online
110063 Solutions
New Discussion

How to change heartbeat IP address ?

 
SOLVED
Go to solution
TVS MURTY
Advisor

How to change heartbeat IP address ?

Hello,

I couldnot get this info through search options in
ITRC. I need to change the heartbeat IP addresses
of my 2 node production cluster. There are two
packages running on this cluster.

I would change the heartbeat IP in the cluster acsii
file. But my question is do I need to run
cmapplyconf -C clusterascii -p pkg1 -p pkg2 or
is it enough to if I run
cmapplyconf -C clusterascii
alone (I am not removing the existing binary file).

I am not modifying any pkg files.

The manual doesn't talk clearly about this.

Thank you for your help.

TV
9 REPLIES 9
Wilfred Chau_1
Respected Contributor

Re: How to change heartbeat IP address ?

vi clusterascii, change the heartbeat IP,

then run cmcheckconf, next cmapplyconf.

This will do it.

run cmviewcl -v to double check
TVS MURTY
Advisor

Re: How to change heartbeat IP address ?

Wilfred,

Do you mean that no flags need to be given with the cmapplyconf command? If so,
what effect does this have ?
Will it rebuild a completely new binary file taking into account the new cluster ascii file as well the existing pkg files or will it only update the binary file with the changes made to the cluster ascii file?

Thank you for your help.

TVS
Frederic Sevestre
Honored Contributor
Solution

Re: How to change heartbeat IP address ?

Hi,

If you want to modify the IP heartbeat, you don't need to remove the binary file.
Using "cmapplyconf -c cluster.ascii" will update your binary file keeping the pakages' configuration. You don't need to specify the packages' configuration files.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
TVS MURTY
Advisor

Re: How to change heartbeat IP address ?


Thank you all,

I thought that we should be to apply the change with only
cmapplyconf -c. Just wanted some reconfirmation. Will implement this shortly.

Thanks,

TVS
Stephen Doud
Honored Contributor

Re: How to change heartbeat IP address ?

Hello TVS,

Sorry you could not find this document:

UMCSGKBRC00007723
TITLE:Changing a LAN IP in a ServiceGuard system

Hope it helps.

-s.
TVS MURTY
Advisor

Re: How to change heartbeat IP address ?

Stephen,


Unfortunately I am not able to get this document. Can you please mail it to me at
surya@tc4hq.cmcltd.com ?

Thank you for your help.

Regards,

TVS
Stephen Doud
Honored Contributor

Re: How to change heartbeat IP address ?

Done!
Please reply to hpcu@atl.hp.com if you do not receive it. (Use the document ID as the Subject).

-s.
TVS MURTY
Advisor

Re: How to change heartbeat IP address ?

stephen,

Thnak you for the doc. As per this document, it won't be enough if you do a
cmapplyconf -C alone. You
need to add the -p
for all the pkgs that are there.

Looks like I don't have an option of applying only the cluster ascii file alone.

Thnak you,

TVS
Stephen Doud
Honored Contributor

Re: How to change heartbeat IP address ?

Hi TVS,

I noticed the document doesn't explicitly state that a cmapplyconf can be done if cmcheckconf succeeds, so I updated the document:


Correct any errors until cmcheckconf completes without errors.
If cmcheckconf if happy, halt the cluster, apply the change and then start
the cluster:

# cmapplyconf -C
# cmruncl


-s.