- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing the IP address of one of my (2 node) clus...
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
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
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
07-02-2012 07:53 AM
07-02-2012 07:53 AM
Changing the IP address of one of my (2 node) clusters
Hi All,
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 –c clustername filename)
#cmgetconf –p bwdbpkg bwdbpkg.conf ( Get the db package info to bwdbpkg.conf)
#cmgetconf –p bwdbpkg bwdbpkg.conf ( Get the ci package info to bwcipkg.conf)
#cmgetconf -v -c bwprd bwprdcluster ( Get the bwprd cluster info to bwprdcluster)
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
#cmdeleteconf –p bwdbpkg (To delete package bwdbpkg)
#cmdeleteconf –p bwcipkg (To delete package bwcipkg)
#cmdeleteconf –c bwprd (To delete cluster bwprd)
OR
#cmdeleteconf –f -c bwprd (To delete the cluster bwprd and all its packages)
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.
- Tags:
- cmgetconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2012 01:56 PM
07-23-2012 01:56 PM
Re: Changing the IP address of one of my (2 node) clusters
your plan looks good, but just in case have a backup that you can recover to in the event of issues