- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change IP address of server & packge
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
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
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
тАО09-14-2008 11:00 PM
тАО09-14-2008 11:00 PM
I want to move my both servers on another network.So pls guide me how can i change IP address of both servers & packge.
Is it necessary to change IP address of PKG ?
Thanks in advance..................
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 11:32 PM
тАО09-14-2008 11:32 PM
Re: change IP address of server & packge
after halting cluster, do ip changes in /etc/hosts and /etc/rc.config.d/netconf file. you can also setparms to change the ip. after rebooting, do changes in control and ascii files(both cluster and package files) in /etc/cmcluster. then run commands cmcheckconf and cmappyconf to create new binary cluster files. do these changes in both nodes respectively. after rebooting once again they should form the new cluster.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 12:54 AM
тАО09-15-2008 12:54 AM
Re: change IP address of server & packge
Changing the IP address of the server is theoretically possible without bringing down SG on that node.
In practice, I've tried this many times and gotten away with it very few times.
Realism sets in and the following procedure is recommended.
Change the IP address in /etc/rc.config.d/netconf
Reboot
reconfigure the SG package as per normal procedures to its new floating IP address.
Now if its a two node cluster you can probably get away without downtime. Just fail all the packages over to the node that is not being messed with.
Necessary to change the IP address in the package? Probably yes. It depends on the scope of the change. If you are changing the nodes network, the SG floating IP address will not be compatible forcing you to change this as well using the procedure above.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 01:08 AM
тАО09-15-2008 01:08 AM
Re: change IP address of server & packge
>>Is it necessary to change IP address of PKG ?
It depends on the scope of change you are going to implement here.
FYI, package IPs can be in different subnets also.
As steps already explained above.
You can furnish some more info here so that we can advise you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 01:20 AM
тАО09-15-2008 01:20 AM
Re: change IP address of server & packge
My PKG & Servers are in single subnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 05:53 AM
тАО09-15-2008 05:53 AM
Re: change IP address of server & packge
We have done this using following steps.
1.Halt the cluster
2.Disable the auto-start of the cluster
3.Change the new ip and subnet. Then reboot
4.Change the new ip address on cluster conf file and package conf files
5.cmcheckconf and cmapplyconf
6.start the cluster
7.Enable auto-start of the cluster
Thanks.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2008 12:48 AM
тАО09-16-2008 12:48 AM
Re: change IP address of server & packge
Its not nessesary that you change IP Address.
Without changes IP Address you can use DMZ concept if subnet mask is same.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2008 08:29 AM
тАО09-19-2008 08:29 AM
Re: change IP address of server & packge
http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028229-4
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 02:58 AM
тАО09-24-2008 02:58 AM
Re: change IP address of server & packge
Dear Ganesan R
Actually i am new to cluster so Pls Guide me exactly
1. How to Disable the auto-start of the cluster?
2.Change the new ip address on cluster conf file and package conf files ?
3.cmcheckconf and cmapplyconf ?
Thanks.
Santosh Karpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2008 06:43 AM
тАО09-24-2008 06:43 AM
Solution>Actually i am new to cluster so Pls Guide me exactly <
>1. How to Disable the auto-start of the cluster?<
There is a config file /etc/rc.config.d/cmcluster which will control the cluster startup during boot.
Since you are going to make modifications disable autostart of cluster by changing the value to 0 like below
AUTOSTART_CMCLD=0
so that cluster won't be started when you reboot after changing the system ip address as per step3.
>2.Change the new ip address on cluster conf file and package conf files ?<
We have to get cluster config file and package config file from existing cluster binary file using cmgetconf. Once you have these files you need to modify the cluster config ascii file with new system ip address and subnet and package config file with new subnet. Also note that you need modify the package control script with new ip address and subnet. control script will be available on /etc/cmcluster/
Ex:
# cmgetconf -c
# cmgetconf -p
>3.cmcheckconf and cmapplyconf ?<
Once you modified the above files you need to check the files for any syntax errors and create the new cluster binary file.
To check for any errors use cmcheckconf command.
Ex:
#cmcheckconf -v -C /tmp/cluster.config
-P /tmp/pkg.config
Fix the errors if any. otherwise apply the configuration using cmapplyconf command
Ex:
#cmapplyconf -v -C /tmp/cluster.config
-P /tmp/pkg.config
Then start the cluster using cmruncl
also enable auto start again.
Hope this helps
Ganesh.