- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HOSTNAME CHANGE
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-14-2002 04:59 AM
тАО01-14-2002 04:59 AM
What will I need to change, just the hostname with the hostname command and re-configure the network cards with the appropriate ip adress and hostname?
Thanks,
Bob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 05:08 AM
тАО01-14-2002 05:08 AM
Solution1. Shutdown to single user mode with 'shutdown 0'.
2. Edit /etc/rc.config.d/netconf. This contains the hostname and network configuration info.
3. Edit /etc/hosts (and any relevant DNS configuration if appropriate).
4. reboot.
I do this in single user mode because changing /etc/hosts can cause certain shutdown scripts to 'hang'.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 05:08 AM
тАО01-14-2002 05:08 AM
Re: HOSTNAME CHANGE
I think you can do the following.
1 - Edit the files /etc/rc.config.d/netconf on HP11 and HP12 and change the IP-Address and hostname.
2 - If you use /etc/hosts as name resolution, you have to edit this file and change the IP-Address for HP11 and HP12 too, or instead /etc/hosts, you use DNS, you have to change the IP-Address for HP11 and HP12 in the DNS Server database.
3 - Reboot HP11 and HP12.
I hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 06:25 AM
тАО01-14-2002 06:25 AM
Re: HOSTNAME CHANGE
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2002 06:38 AM
тАО01-14-2002 06:38 AM
Re: HOSTNAME CHANGE
as far as i know it is reconmendet using /sbin/set_parms hostname. This will make sure all necessary files are configured correctly.
It also works to edit /etc/rc.config.d/netconf and delete the hostname and IP Adress. During the reboot the system will ask you for the new hostname. In fact it is running set_parms hostname automatically.
Hope this helps
Regards Stefan