Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change IP address while package is running on MC Service Guard 11.18

kmkstss
Occasional Contributor

How to change IP address while package is running on MC Service Guard 11.18

Hi All,

We have a server which is MC Service Guard 11.18 on RHEL 4. We need to change IP while package is UP and running. Please let me know if it is possible in MC Service Guard 11.18.

Thanks in Advance.

-Mahesh.K
3 REPLIES
Emil Velez
Honored Contributor

Re: How to change IP address while package is running on MC Service Guard 11.18

Assumptions only change IP of one node and the subnets do not change.

1. Move package to another node
2. remove node from package
3. run cmapplyconf
4. remove node from all packages
5. cmhaltnode
6. remove node from cluster configuration
7. apply new cluster configuration
8. change IP on node
9. add node to cluster
10. apply cluster configuration
11. cmrunnode
12. Add node to all relevant packages
13 apply package configuration
14. move packages to new node
kmkstss
Occasional Contributor

Re: How to change IP address while package is running on MC Service Guard 11.18

Hi Emil,

Without failover the package, I want to change the IP adress of a package while the package is running, I read in hp docs but I never done hands on and it is possible in MC Service Guard 11.18. Please let me know if any one have the same practically.

-Thanks.
Mahesh.
Emil Velez
Honored Contributor

Re: How to change IP address while package is running on MC Service Guard 11.18

oh ok.. I thought you needed to change the IP of the node

to change the IP address while the package is up is somewhat risky but can be done.

1. use the cmmodnet command to remove the IP addres from the node while the package is running.
2. use the cmmodnet command to add the IP address to the node where the package is running.
3. using netstat -in check that the ip address is correct.
4. Update the package script, propigate to other nodes.

Hope and pray you did it right since you cannot test it.


You do not want to do this.. What you should do is schedule a downtime of the package.

1. Shutdown the package
2. Update the script
3. propigate the script or do cmapplyconf
(legacy or modular)
4. startup the package
5. check that the IP was added.

This can be done very very fast. (you good with VI)