- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- node name lenght limitation issue on HP-UX 11.11
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
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
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
01-13-2017 05:47 AM - last edited on 01-16-2017 12:27 AM by Parvez_Admin
01-13-2017 05:47 AM - last edited on 01-16-2017 12:27 AM by Parvez_Admin
node name lenght limitation issue on HP-UX 11.11
Hi
I am facing node name lenght limitation issue on HP-UX 11.11 , you have fixed same.
I am unable to open link shared by you
http://www.mindspring.com/~bkherren/dobes/index.htm
Please help me to fix ion my server .
quick response highly appreciated , thanks in advance
Mod Message: This post was moved from an inactive Topic. Please refer the link below for the old post:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2017 08:20 PM - edited 01-16-2017 08:54 PM
01-16-2017 08:20 PM - edited 01-16-2017 08:54 PM
Re: node name lenght limitation issue on HP-UX 11.11
There is a patch for 11.23 but you need to read the WARNINGS detailed in the patch description. Exceeding the hostname (8 chars) and nodename (64 chars) maximum length can break a number of applications and subsystems:
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=NodeHostNameXpnd
There is no need to change the hostname and or nodename if you need only need to refer to this system using a long network name. The technique is simple: use your DNS nameserver to create an alias name and add the alias to your /etc/hosts file:
12.34.56.78 myhost myreallylongnetworkname
Note that the name used in DNS by other computers can be different than your local hostname. So you can have two names for your computer, one for networking and the other for uname (see man hostname). To set both of them, edit the file /etc/rc.config.d/netconf and add the undocumented variable NODENAME. NODENAME must be no more than 8 characters, but HOSTNAME can be up to 64 chars. So for your case:
HOSTNAME=myreallylonghostname
NODENAME=mynode
NOTE: If you do not explicitly set NODENAME, it becomes the same as HOSTNAME. But if NODENAME is longer than 8 chars, there will be problems.
You can set hostname and uname without rebooting:
hostname myreallylonghostname
uname -S mynode
but make sure you edit the netconf file so the change is permanent after a reboot. Read the man page for hostname. The uname command must always be 8 chars or less. But uname dates back to the ancient UUCP communication subsystem. Applications and scripts that refer to uname -n as the server's network name need to be rewritten.