HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: IP and subnet change.
Operating System - HP-UX
1833737
Members
2500
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-10-2007 07:37 AM
12-10-2007 07:37 AM
IP and subnet change.
We have a SG environment where the subnets and ip's are going to be changed. What would i have to do so that the SG works fine..Here is what i think
1. change the ip of the system using set_parms and reboot
2. now edit the existing pkg ascii file under /etc/cmlcuster for the subnet and heartbeat information.
3. change the line staring with IP in the pkg script file
run checkconf and then if it is OK run applyconf..
Is this correct? Please advise.
Thanks
Brian
1. change the ip of the system using set_parms and reboot
2. now edit the existing pkg ascii file under /etc/cmlcuster for the subnet and heartbeat information.
3. change the line staring with IP in the pkg script file
run checkconf and then if it is OK run applyconf..
Is this correct? Please advise.
Thanks
Brian
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 07:56 AM
12-10-2007 07:56 AM
Re: IP and subnet change.
I've done and documented this:
1. Amend the ip address in /etc/hosts. If using NIS, add entry for slave server to /etc/hosts.
2. Amend /etc/rc.config.d/netconf - change to new ip address and change the ROUTE_GATEWAY to the new subnet.
3. Amend the YPBIND entry in /etc/rc.config.d/namesvrs to -ypset and set YPSET_ADDR to the address of the slave server.
4. Shut the server down.
5. Ask the network administrator to change the port.
6. Change the ip address on the NIS server's hosts file.
7. Change the entries in DNS.
8. When the server comes back up log in and check access to other servers.
9. Amend the file /etc/rc.config.d/namesvrs to remove the -ypset and ip address (leaving them in is a security risk). Run the following commands: (if using NIS)
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
10. Check that networked filesystems are available. If necessary run the following commands:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start
If this server exports filesystems to other servers/workstations you will also have to stop and start nfs.server.
Mark Syder (like the drink but spelt different)
1. Amend the ip address in /etc/hosts. If using NIS, add entry for slave server to /etc/hosts.
2. Amend /etc/rc.config.d/netconf - change to new ip address and change the ROUTE_GATEWAY to the new subnet.
3. Amend the YPBIND entry in /etc/rc.config.d/namesvrs to -ypset and set YPSET_ADDR to the address of the slave server.
4. Shut the server down.
5. Ask the network administrator to change the port.
6. Change the ip address on the NIS server's hosts file.
7. Change the entries in DNS.
8. When the server comes back up log in and check access to other servers.
9. Amend the file /etc/rc.config.d/namesvrs to remove the -ypset and ip address (leaving them in is a security risk). Run the following commands: (if using NIS)
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
10. Check that networked filesystems are available. If necessary run the following commands:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start
If this server exports filesystems to other servers/workstations you will also have to stop and start nfs.server.
Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2007 08:00 AM
12-10-2007 08:00 AM
Re: IP and subnet change.
You should start by halting the packages and the cluster otherwise you are on the correct course. The other thing to consider is than VLAN's will probably be changed so that there will be switch and router configurations to change. Normally, I make certain that all of the external networking changes have been done before I apply the changes to the cluster.
You also just mention the package ascii file but you are going to have to make equivalent changes in the cluster IP ascii file as well because it appears that you stationary IP addresses are changing as well as possibly your heartbeat IP's.
You also just mention the package ascii file but you are going to have to make equivalent changes in the cluster IP ascii file as well because it appears that you stationary IP addresses are changing as well as possibly your heartbeat IP's.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 08:22 AM
12-13-2007 08:22 AM
Re: IP and subnet change.
1. before you change ip address, halt your package, node, and then your cluster
2. make sure to change your cluster configuration file (under /etc/cmcluster, depend on your cluster configurations)
3. make sure to change your /etc/hosts, /etc/rc.config.d/netconf (automatically changed if you change the ip address via SAM)
4. check your cluster (cmcheckconf)
5. start your cluster (cmruncl)
-yut-
2. make sure to change your cluster configuration file (under /etc/cmcluster, depend on your cluster configurations)
3. make sure to change your /etc/hosts, /etc/rc.config.d/netconf (automatically changed if you change the ip address via SAM)
4. check your cluster (cmcheckconf)
5. start your cluster (cmruncl)
-yut-
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP