- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname vs nodename
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
09-17-2008 02:00 AM
09-17-2008 02:00 AM
I currently have my hostname and nodename set to the same (8 chars)..
While reading the HP-UX CSA study guide, when talking about installation it says "The hostname can be a simple name, or an internet FQDN" (up to 64 chars)
I presume setting a FQDN simply puts the first component as hostname, then the full string in nodename?
Is that best practice or should I stick to the short name in nodename and hostname and simply specifiy the FQDN in /etc/hosts?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 02:06 AM
09-17-2008 02:06 AM
SolutionBest practice for HP-UX is to use a hostname and nodename that are 8 characters.
Extending is a bad idea.
Use /etc/hosts or external DNS to support longer names via alias.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 02:07 AM
09-17-2008 02:07 AM
Re: hostname vs nodename
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1027417
This was found with a simple google search for "hostname nodename bill hassell +site:itrc.hp.com", which turned up that thread and many others.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 02:46 AM
09-17-2008 02:46 AM
Re: hostname vs nodename
I ask as I am soon to look at AD integration, and understand that for this, we create keytabs using the fully qualified hostname. I assume that based on this logic, they need to be returned the fully qualified name when making the syscalls on the HP-UX side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 04:40 AM
09-17-2008 04:40 AM
Re: hostname vs nodename
> If only specifying the short (8 char) hostname in hostname and nodename, but keeping the full DNS name in /etc/hosts, and ensuring domain_name etc are set in /etc/resolv.conf, will apps doing a gethostbyname() and similar get the full name or the short name?
If you mean when you query the local host (yourself) and your '/etc/nsswithch.conf' file specifies 'hosts' before 'DNS', then if your '/etc/hosts' entry has the FQDN as an "alias", then the application will get the short name --- the first entry as below:
10.x.y.z myserver myserver.xyz.com
If you reverse the order, the FQDN will be returned.
The FQDN will be returned when queries are made and answered by DNS.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2008 01:10 PM
09-18-2008 01:10 PM