Operating System - HP-UX
1824976 Members
3631 Online
109678 Solutions
New Discussion юеВ

How to change IP address of heartbeat monitoring (MC-Service Guard Setup).

 
SOLVED
Go to solution
Kripal_1
Occasional Advisor

How to change IP address of heartbeat monitoring (MC-Service Guard Setup).

Hi,

My requirement is to change the IP address of my heartbeat monitoring (MC-Service Guard Setup).

Environment details are :- HP-UX B.10.20 A 9000/785 2007863207

I want to know where (which files ) the changes have to be done for changing IP address which MC-Service Guard" will use to
monitor and control the mentioned IP addresses.

Is there any documented procedure available for this activity ?

Please anyone could provide these details.

Regards
Kripal
3 REPLIES 3
jpcast_real
Regular Advisor

Re: How to change IP address of heartbeat monitoring (MC-Service Guard Setup).

The IP address of the nodes is set in the cluster configuration file /etc/cmcluster/cluster.conf . In this file you store the IP of the nodes . Once you have modified this file you must apply the binaries "cmapplyconf....."
The IPs of the packages are configured in the control file of each package "/etc/cmcluster/pkgxxxxx/pkgxxxx.cntl"

In the web docs.hp.com , in the "Managing Service Guard" guide you will find the procedures to do so
Here rests one who was not what he wanted and didn't want what he was
KCS_1
Respected Contributor
Solution

Re: How to change IP address of heartbeat monitoring (MC-Service Guard Setup).

First of all,

1.Stop the cluster that you are running for reconfiguring from old to new IP address.

# cmhaltcl -f

2.change proper the IP address for heartbeat in /etc/cmcluster/cluster.ascii ( cluster configuration file)

# vi /etc/cmcluster/cluster.ascii

--------------------------------------------
NETWORK_INTERFACE lan1
HEARTBEAT_IP xxx.xxx.xxx.xxx <- new

FIRST_CLUSTER_LOCK_PV /dev/dsk/c7t0d4

--------------------------------------------


3. Check the changed configuration file in the cluster.


# cmcheckconf -C /etc/cmcluster/cluster.ascii

4. copy and apply for making binary file for taking effect

# cmapplyconf -C /etc/cmcluster/cluster.ascii


5. run the cluster and monitor the control logs.

# cmruncl

# tail -f /etc/cmcluster/pkg/pkg.*cntl





Best Regards.








Easy going at all.
Geoff Wild
Honored Contributor

Re: How to change IP address of heartbeat monitoring (MC-Service Guard Setup).

Actual procedure is in this doc under "reconfiguring a cluster".

http://docs.hp.com/en/B3936-90079/index.html


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.