- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: node name and host name
Operating System - HP-UX
1752584
Members
4248
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-09-2009 03:47 AM
тАО02-09-2009 03:47 AM
For some purpose, i want the node name and host name should be different.
How can i do this HP-UX.
If i change the node name with "uname -n", the change is not persistent across reboots.
How can i change it permanently ?
How can i do this HP-UX.
If i change the node name with "uname -n", the change is not persistent across reboots.
How can i change it permanently ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2009 04:01 AM
тАО02-09-2009 04:01 AM
Re: node name and host name
First of all, according to the man page, "uname -n" DISPLAYS the node name. In order to set it, you need to run "uname -S".
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2009 04:20 PM
тАО02-09-2009 04:20 PM
Solution
Hi Shashi Kanth,
Refer to the man pages for uname
uname -n "node name"
(-n
--nodename
Print the machine's network node hostname)
How can i change it permanently ?
can you take look into your ( /etc/rc.config.d/netconf)
Example:-
There are two network names in HP-UX: nodename and hostname. Normally, they are the same. The man page for hostname explains the differences. The startup variable NODENAME is the UUCP name which is returned by uname -n, while the HOSTNAME variable sets the networking (ARPA, NFS, etc) name, which can be 64 chars long (see /usr/include/sys/param.h for MAXHOSTNAMELEN). HOSTNAME can be much longer than 8 characters BUT only if you define an 8-character or less NODENAME in the /etc/rc.config.d/netconf file, like this:
NODENAME=myhost08
HOSTNAME=myreallylonghostname
And of course for networking, the /etc/hosts file provides all the hostname aliases you might need -- assuming you put files then dns in /etc/nsswitch.conf.
Thx,
Johnson
Refer to the man pages for uname
uname -n "node name"
(-n
--nodename
Print the machine's network node hostname)
How can i change it permanently ?
can you take look into your ( /etc/rc.config.d/netconf)
Example:-
There are two network names in HP-UX: nodename and hostname. Normally, they are the same. The man page for hostname explains the differences. The startup variable NODENAME is the UUCP name which is returned by uname -n, while the HOSTNAME variable sets the networking (ARPA, NFS, etc) name, which can be 64 chars long (see /usr/include/sys/param.h for MAXHOSTNAMELEN). HOSTNAME can be much longer than 8 characters BUT only if you define an 8-character or less NODENAME in the /etc/rc.config.d/netconf file, like this:
NODENAME=myhost08
HOSTNAME=myreallylonghostname
And of course for networking, the /etc/hosts file provides all the hostname aliases you might need -- assuming you put files then dns in /etc/nsswitch.conf.
Thx,
Johnson
Problems are common to all, but attitude makes the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2016 03:32 AM
тАО12-09-2016 03:32 AM
Re: node name and host name
Hello , We have a Old HP-UNIX version B.11.11 . # uname -a HP-UX ptsttrps B.11.11 U 9000/800 806753329 unlimited-user license :/# is there any way we can change node name more than 8 characters. I have gone through many links, however I have not found any solution yet. Please suggest.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP