- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing IP address of cluster, packages, etc.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 03:30 PM
08-14-2005 03:30 PM
I have the wondrous task of changing the IP address of one of my (2 node) clusters, and I just wanted to make sure that I wasn't overlooking something simple. Here's my plan. If anyone would be willing to look it over and comment on it, I would appreciate it.
1. Save a copy of the current package and cluster definition. (use cmgetconf -p pkg1 pkg1.conf; cmgetconf cluster.ascii)
2. shutdown the cluster (cmhaltcl -f)
3. modify /etc/rc.config.d/cmcluster to set AUTOSTART_CMCLD=0 on both nodes
4. modify /etc/rc.config.d/netconf to have the NEW IP addresses for all the heartbeat interfaces, primary interfaces, default routes, etc. Do this on both nodes in the cluster.
5. Modify /etc/hosts to have the new IP information
6. Modify /etc/cmcluster/cmclnodelist to have the updated hostnames, Heartbeat interfaces, etc.
At this point, I plan to reboot each node and verify that all the IP interfaces are up, pingable, able to be logged into via rlogin, etc.
Once this is done, I will now modify the cluster definitions.
1. delete existing package definitions and cluster definition: cmdeleteconf -p pkg1; cmdeleteconf -c cluster
2. modify /etc/cmcluster/cluster.ascii file and make the necessary changes to incorporate the new IP addresses.
3. modify /etc/cmcluster/pkg1.ascii file and make the necessary changes to incorporate the new IP addresses.
4. verify cluster definitions: cmcheckconf -C cluster.ascii
5. apply cluster definitions: cmapplyconf -C cluster.ascii
6. verify cluster is operating: cmviewcl -v
7. verify package definitions: cmcheckconf -P pkg1.ascii
8. apply package definitions: cmapplyconf -P pkg1.ascii
9. run the package: cmmodpkg -e pkg1; cmrunpkg pkg1
10. verify package is operating
So, is there any other files I should change? I will be changing the primary IP address of the host, but not the hostname.
Thanks to anyone who can help with this.
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 06:00 PM
08-14-2005 06:00 PM
SolutionIf you are not changing the name, reboot may not necessary. Modify the configuration, followed by checkconf & applyconf. I don't see a need of delconf.
If subnet is not changing you don't need to modify the pkg.conf file. IP change is reflected only in pkg.cntl file. After modification you may simply copy the cntl file to other nodes.
If the hostnames are not changed, you don't need to modify the cmclnodelist correct!
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2005 06:00 PM
08-14-2005 06:00 PM
Re: Changing IP address of cluster, packages, etc.
Your steps look good, your have covered pretty much everything i guess. I was wondering about your step unmber 1 in section 2. Where you are deleting the cluster. I feel you dont need to do that step and instead modify the cluster ascii file with the new IP and heartbeat and do a cmcheckconf and apply the configuration.
And in the end dont forget to re-edit the /etc/rc.config.d/cmcluster to change AUTOSTART_CMCLD=1, so your cluster is up by itself whenever you reboot the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 12:12 AM
08-15-2005 12:12 AM
Re: Changing IP address of cluster, packages, etc.
If you had a direct connection, you could also bypass the reboot in favor of replumbing the NICs with the new IP address
and changing the hostname (if need be).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 06:22 AM
08-15-2006 06:22 AM