- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Switching new and old server
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
07-19-2007 11:23 AM
07-19-2007 11:23 AM
Each server has a nodename, and I have mail coming in on each.
The old one is just about ready to be turned off.
I'd like to switch the names, so eMail that went to the old one will come into the new one. Both are connected to the company LAN, which handles DNS lookups &c.
Old machine:
#uname -a
HP-UX acme-1 B.10.01 C 9000/819 ......
New machine:
#uname -a
HP-UX acme-2 B.11.11 U 9000/800 .....
My email on the old machine comes in to me@acme-1.mmm.mmm.mmm. I'd like that to be the new machine.
What-all do I have to change on each machine? Should I turn off one and change the other? Is
#uname -S acme-1
a good start?
Should I worry about the short interval when both machines have the same nodename?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 11:40 AM
07-19-2007 11:40 AM
SolutionBy default, the nodename matches the hostname. If you examine '/sbin/init.d/hostname' you will see that the nodename (as shown by 'uname') is usually null and when null is set equal to the server's hostname.
I suggest you start with your old server and change its hostname first. Then on your new server, change its hostname to be that of the old server's. Make any DNS changes in your DNS server(s) to match, and you are done.
To change a server's hostname, run:
# /sbin/set_parms hostname
This will prompt you for a value of "hostname"; modify the appropriate files ('/etc/rc.config.d/netconf', 'etc/hosts', etc.) and reboot bringing up networking with the new name.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 02:19 PM
07-19-2007 02:19 PM
Re: Switching new and old server
There is some danger in the approach of changing the hostname of the system. If oracle is installed and configured and you change the hostname of the system, reconfiguration of oracle is required to get the database to work after the switch.
So long as the two machines do not have the same ip address at the same time, there is no problem with them having the same hostname.
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
07-20-2007 06:38 AM
07-20-2007 06:38 AM
Re: Switching new and old server
Steven: We're OK there, we don't run Oracle. The IP addresses are different. But we do have another database (Ingres), which might depend on the hostname. I'll see if I can get any help from Ingres. That may take a while.
I'll experiment on the old server (running an older version of Ingres). If that works, The rest should be easy.
I have a bad feeling that it won't. If it doesn't, I may have to leave the hostnames as is. That's not a huge problem, but I'll have to tell all my eMail contacts about the change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 12:13 PM
08-14-2007 12:13 PM