Re: Long host name support--has it improved? (323 Views)
Reply
Advisor
Main Group
Posts: 22
Registered: ‎02-27-2006
Message 1 of 9 (323 Views)

Long host name support--has it improved?

The last time we looked at HP-UX support for long host names (as provided with NodeHostNameXpnd), we held back because of concerns that not all of the server software and OS subsystems fully supported 255-byte host names. (I recall an issue with MC/SG, for example.) Does anybody know if these have been ironed out? I checked the ITRC but didn't see anything more recent than 2008 on the subject. Thank you.
Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,198
Registered: ‎05-29-2000
Message 2 of 9 (323 Views)

Re: Long host name support--has it improved?

It is really important to separate hostname from the internet name. In Unix, they are completely different, one is very limited and the other is what is typically used for network connections. The man pages for hostname (man 1 hostname and man 5 hostname).

The issues can never be ironed out, and they don't have to be. You can telnet to your system as myverylonghostname and your DNS or hosts files will resolve the name across the network. Internally, you should set both HOSTNAME and NODENAME in the /etc/rc.config.d/netconf.

NOTE: there is almost no documentation for NODENAME and HOSTNAME except the start/stop script called /sbin/init.d/hostname. Here is a good explanation:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=1027417
Please use plain text.
Advisor
Main Group
Posts: 22
Registered: ‎02-27-2006
Message 3 of 9 (323 Views)

Re: Long host name support--has it improved?

Thank you Bill. However, there is nothing on HP's Node and Host Name Expansion page (on the software download site) that says the long names are specific to network use only. In fact the same page includes a long list of patches to support the expanded node/host names for optional HP software products, including a number of non-networked products. It is just not clear that every effected sub-system has a patch.
Please use plain text.
Trusted Contributor
S. Ney
Posts: 155
Registered: ‎10-28-2008
Message 4 of 9 (323 Views)

Re: Long host name support--has it improved?

This is not really a technical answer but when we installed ServiceGuard 11.19 in Dec 09 we did have to revert from a long hostname to a short hostname because we could not get the two nodes to form a cluster. This was even after changing the primary DNS name, changing entries in /etc/hosts, specifying node name, etc.

Also oracle 11G ASM requires a short hostname. We found out it is an undocumented bug "feature" and thus the hostname was shortened to 8 characters.
Please use plain text.
Honored Contributor
chris huys_4
Posts: 347
Registered: ‎09-27-2004
Message 5 of 9 (323 Views)

Re: Long host name support--has it improved?

Hi,

The mcsg release notes of mcsg 11.18 on docs.hp.com has under new features, support of hostnames of up to 39 characters.

Greetz,
Chris
Please use plain text.
Advisor
Main Group
Posts: 22
Registered: ‎02-27-2006
Message 6 of 9 (323 Views)

Re: Long host name support--has it improved?

> The mcsg release notes of mcsg 11.18 on docs.hp.com has under new features, support of hostnames of up to 39 characters. <

That seems like a really odd length. I wonder why they couldn't make it at least 64 bytes?

A concern we continue to have is that we can only use the shortest supported node/host name length of any software on the server.
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 7 of 9 (323 Views)

Re: Long host name support--has it improved?

Shalom,

Support has not really improved.

I believe long host names is built into 11.31 HP-UX but I've never seen the kinks worked out to my satisfaction either as an add in or built in.

It is still safer to stick with 8 character host names.

As far as SG goes, I've never seen the issue, but there are other things that pop up. Its IMO not worth the hassle.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Please use plain text.
Advisor
Main Group
Posts: 22
Registered: ‎02-27-2006
Message 8 of 9 (323 Views)

Re: Long host name support--has it improved?

We've had circumstances recently where long host names would have been handy; particularly where VMs were involved. We've had to hold off because of the unresolved issues. Ah well, thank you for the status update.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,847
Registered: ‎03-06-2006
Message 9 of 9 (323 Views)

Re: Long host name support--has it improved?

[ Edited ]
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation