- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing hostname and IP address on HP-UX 11i
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
тАО01-11-2005 08:29 PM
тАО01-11-2005 08:29 PM
I'd like to just take the old machine offline and rebuild the new one online (so there's no IP address conflicts), but the 1 to 2 days is really too much down time for production to live with.
One option is to build the new machine with a different hostname and IP address, then when I want to do the switch, take the old machine offline and change the hostname and IP address on the new machine.
I know with older versions of HP-UX this was very much to be avoided, but has anyone any experience of doing this with 11i?
I guess the implications of doing this on my applications is another matter...
Any help would be much appreciated.
Thanks,
Gary
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:43 PM
тАО01-11-2005 08:43 PM
SolutionI would go for the second option, build the new workstation with a different ip and hostname and rename it when you need to go to procuction.
files you need to edit.
/etc/rc.config.d/netconf
/etc/hosts
# reboot
or use the script
# set_parms hostname
# set_parms ip_address
# reboot
I can not give you a comment on what the results will be for your apps.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:43 PM
тАО01-11-2005 08:43 PM
Re: Changing hostname and IP address on HP-UX 11i
I've been already in your situation and I did the following:
- gived a new name for the server;
- copied all applications files;
- searched for config files with the old hostname:
#find /
More important, yet: this will let you with 2 environments, 1 for Production and the other for Tests, lowering your apps risks!!
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:44 PM
тАО01-11-2005 08:44 PM
Re: Changing hostname and IP address on HP-UX 11i
can't see any major problem with your approach. This is how we replaced machines in the past.
Easiest way was to use the /sbin/set_parms
to do most of the work of changing address etc. for you.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:45 PM
тАО01-11-2005 08:45 PM
Re: Changing hostname and IP address on HP-UX 11i
my knowledge restricted to 11.00 only but switching ipadress and hostname works without problems on my machines.
You can do this with sam or change entries in /etc/rc.config.d/netconf.
After reboot the machine runs with the new parameters without any harm
regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:48 PM
тАО01-11-2005 08:48 PM
Re: Changing hostname and IP address on HP-UX 11i
Best regards,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2005 08:52 PM
тАО01-11-2005 08:52 PM