- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing the hostname in HP UX
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-06-2005 11:30 PM
07-06-2005 11:30 PM
changing the hostname in HP UX
How can I change hostname in Hp-UX 11.11?
I want that to be updated in our DNS server.
Currently I am able to change the hostname by using "/sbin/set_params initial", but I am not able to ping the machine by hostname (on the machine the hostname gives out the new hostname).
Can you please help us in setting up a new hostname which can be resolved by the DNS server.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 11:41 PM
07-06-2005 11:41 PM
Re: changing the hostname in HP UX
SAM (Run sam and you should be able to change
hostname in networking area).
To add your new hostname to DNS server, you
need to talk to the DNS server adminstrator
who should update the DNS database.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 11:47 PM
07-06-2005 11:47 PM
Re: changing the hostname in HP UX
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 11:48 PM
07-06-2005 11:48 PM
Re: changing the hostname in HP UX
Are you trying to ping from a different machine?
Can you try to give "nslookup
Thanks!
Shyjith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 12:09 AM
07-07-2005 12:09 AM
Re: changing the hostname in HP UX
Name Server: abx.xyz.com
Address: xyz.ab.cd.ef
(thi is the correct DNS server IP which I cannot disclose here; so ....)
Trying DNS
Name: ejmhpux.xyz.com
looking up FILES
Name: ejmhpux
Address: 165.33.35.215
But still I am not able to resolve the machine by IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 12:09 AM
07-07-2005 12:09 AM
Re: changing the hostname in HP UX
Name Server: abx.xyz.com
Address: xyz.ab.cd.ef
(thi is the correct DNS server IP which I cannot disclose here; so ....)
Trying DNS
Name: ejmhpux.xyz.com
looking up FILES
Name: ejmhpux
Address: 165.33.35.215
But still I am not able to resolve the machine by hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 12:18 AM
07-07-2005 12:18 AM
Re: changing the hostname in HP UX
# nsquery hosts
If the resolvation to IP-Address is not there then, DNS is not updated with new change.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 12:28 AM
07-07-2005 12:28 AM
Re: changing the hostname in HP UX
the people whose DNS server is authoritative for the domain of your host need to update their zone file.
You could run something like
netstat -q=soa your.hosts.old.domain
to find out who needs to be contacted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 03:34 PM
07-11-2005 03:34 PM
Re: changing the hostname in HP UX
Still I am not sure of the HP UX bahavior. Other OS, I am able to change the hostname from client and it will update the DNS and I can use the hostname directly without the intervention of sys admin.
Is that not possible in HP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 07:19 PM
07-11-2005 07:19 PM
Re: changing the hostname in HP UX
I never heard OS can update hostname on the own system and DNS too.
What OS do you refer which can do that?
You have to work on DNS in order to change hostname, of course if you use DNS in your network.
Otherwise you can use /etc/hosts but then you have to change hostname for that system in all /etc/hosts of systems in your newtork.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 07:58 PM
07-11-2005 07:58 PM
Re: changing the hostname in HP UX
The problem will be resolved by changing the permisions on the /etc/hosts file to:
-rw-r--r--. The permission settings initially only allowed root read access.
try this
Regards
Vinod K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 08:11 PM
07-12-2005 08:11 PM