- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 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
тАО08-20-2002 01:59 PM
тАО08-20-2002 01:59 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 02:06 PM
тАО08-20-2002 02:06 PM
Re: HPUX Hostname Change
# /sbin/set_parms hostname
It'll prompt for you to reboot the system after the change is done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 02:16 PM
тАО08-20-2002 02:16 PM
Re: HPUX Hostname Change
At a minimum, you need to change the hostname in '/etc/hosts' and '/etc/rc.config.d/netconf' and reboot.
As noted, this can also be done by executing '/sbin/set_parms' with the new hostname passed as an argument.
If you are running DNS, you may need to make additonal changes to reflect the hostname change.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 05:49 PM
тАО08-20-2002 05:49 PM
Re: HPUX Hostname Change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 06:18 PM
тАО08-20-2002 06:18 PM
Re: HPUX Hostname Change
Scottie,
You should use the command "set_parms hostname" (login as root) for changing hostname. The set_parms program supposed to update ALL necessary files for you. Direct update to /etc/rc.config.d/netconf and /etc/hosts will do too but still I believe using an automated process (running set_parms in your case) is the proper way.
SAM works too, but it has been un-predictable for me in the past. In one version it works but it might not in the next version.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 08:10 PM
тАО08-20-2002 08:10 PM
Re: HPUX Hostname Change
Be sure to check /var/adm/inetd.sec just in case there are any entries that need to be updated.
Kel
It's nice to know there are others out there that are annoyed with set_parms
Although, it's okay on very, very generic network setups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 05:45 AM
тАО08-21-2002 05:45 AM
Re: HPUX Hostname Change
Harry,
Thank You! I had thought it was my inexperience that led to my problems with set_parms. I had so many problems with it years ago that I stopped using it and haven't gone back.
Of course, my propensity to want to manually edit configuration files may have had something to do with it also!
Tom
< No Points Please... >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 06:00 AM
тАО08-21-2002 06:00 AM
Re: HPUX Hostname Change
It works fine when it's used to set up a server for the first time, but after that it is as useful as the output from /dev/null.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 06:04 AM
тАО08-21-2002 06:04 AM
Re: HPUX Hostname Change
change it via sam
Manoj Srivastava