HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname and nodename in Serviceguard
Operating System - HP-UX
1834018
Members
2283
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
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
07-11-2006 05:43 AM
07-11-2006 05:43 AM
Hello
Is this TRUE
Service Guard the HA Clustering software uses both hostnames and nodenames and they have to be consistent.
Any links which confirms this.
Is this TRUE
Service Guard the HA Clustering software uses both hostnames and nodenames and they have to be consistent.
Any links which confirms this.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 06:06 AM
07-11-2006 06:06 AM
Re: hostname and nodename in Serviceguard
Basheer,
This two documents might give you and idea of what you are trying to accomplish and its limitations.
http://docs.hp.com/en/B3935-90015/B3935-90015.pdf
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027417&admit=-682735245+1152641076153+28353475
Regards,
Jaime.
This two documents might give you and idea of what you are trying to accomplish and its limitations.
http://docs.hp.com/en/B3935-90015/B3935-90015.pdf
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027417&admit=-682735245+1152641076153+28353475
Regards,
Jaime.
Work hard when the need comes out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 09:01 AM
07-11-2006 09:01 AM
Re: hostname and nodename in Serviceguard
hostname and nodename are mostly generic terms which are used to refer to the same thing. an HP-UX host does have an official setting for the "hostname" but none for "nodename". There are settings in the ServiceGuard configuration files which refer to "nodename", but these reference the exact same thing as the "hostname"
in other words, the statement is true, but not very useful. 8-)
in other words, the statement is true, but not very useful. 8-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 11:40 AM
07-11-2006 11:40 AM
Solution
Actually, there is a (poorly documented) NODENAME variable. It is mentioned in the script /sbin/init.d/hostname and refers to the NODENAME variable. If NODENAME is undefined, then uname's value is set to HOSTNAME minus any FQDN extensions like host.company.com. But if NODEMAME is defined, then uname is assigned the value of NODENAME.
Since hostnames are Internet names, they are not limited to the 8 characters found in uname (aka, UUCP names). So for a sysadmin that wants to set a longer hostname, set NODENAME=8charsmax and HOSTNAME=longName in the /etc/rc.config.d/netconf file. Note that netconf does not have a line for NODENAME so you'll have to add that.
However, using different names can introduce a possible compatibility issue where the software uses both uname and hostname. So after all that, it's best to leave NODENAME unset and keep the assigned HOSTNAME in netconf to 8 chars. You can always have longer aliases in /etc/hosts or DNS.
Bill Hassell, sysadmin
Since hostnames are Internet names, they are not limited to the 8 characters found in uname (aka, UUCP names). So for a sysadmin that wants to set a longer hostname, set NODENAME=8charsmax and HOSTNAME=longName in the /etc/rc.config.d/netconf file. Note that netconf does not have a line for NODENAME so you'll have to add that.
However, using different names can introduce a possible compatibility issue where the software uses both uname and hostname. So after all that, it's best to leave NODENAME unset and keep the assigned HOSTNAME in netconf to 8 chars. You can always have longer aliases in /etc/hosts or DNS.
Bill Hassell, sysadmin
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP