- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: modify /etc/hosts ?
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
02-17-2006 11:21 AM
02-17-2006 11:21 AM
hostname ?
IP address ?
xx.com (dns) ?
Any command to re-active that ?
Thnks,
Rodh_z
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 11:36 AM
02-17-2006 11:36 AM
Re: modify /etc/hosts ?
If you are changing *your* server's hostname or IP address, then you should run '/sbin/set_parms' to affect this. A reboot will ocurr but the change will be clean.
If you are merely adding another server's information then there is nothing you need to do after adding or changing the information.
If you are changing *your* DNS server's IPaddress, then modify '/etc/resolv.conf'. The change will be available without reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 11:48 AM
02-17-2006 11:48 AM
Re: modify /etc/hosts ?
nothing do u after adding ? right.
[root@
# more /etc/hosts |grep *.mnl.com
180.33.122.210 net.mnl.com
180.33.122.200 rp.mnl.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 01:24 PM
02-17-2006 01:24 PM
Re: modify /etc/hosts ?
thnks ...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2006 12:14 AM
02-18-2006 12:14 AM
Re: modify /etc/hosts ?
If you want to change a server's hostname or its IP address, an easy way to do this is to run '/sbin/set_parms'. If you execute this without any parameters you will see the options that you have.
The 'set_parms' script is a question-and-answer program. It is a "clean" way to change a hostname, ipaddress, etc. because all the necessary configuration files are updated for you.
Changing a hostname requires a reboot afterwards. 'set_parms" accomplishes this. Changing a host's own ipaddress requires at least that the networking daemons be stopped and restarted. It is easiest to use 'set_parms" and let it reboot too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 05:45 PM
02-19-2006 05:45 PM
Re: modify /etc/hosts ?
You don't need to do anything after adding the entries in "/etc/hosts" . Changes will immediately effective.
What James is trying to explain you is the method for changing the hostname of the server.
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 05:48 PM
02-19-2006 05:48 PM
Re: modify /etc/hosts ?
To check /etc/hosts working efficiency then,
# ping
--
Muthu