HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

help with hostname with 10 character

 
SOLVED
Go to solution
gobi_1
Frequent Advisor

help with hostname with 10 character

hi guys, need your help on this.

im running a hpux 11iv2 on rx6600 machine with hostname the consist of 10 characters. But when ever i use sam it prompt me to use node name which is 8 char.

when i also run uname -n it result 8 character. how can make the hostname & uname the same w/ 10 character?
7 REPLIES
sujit kumar singh
Honored Contributor
Solution

Re: help with hostname with 10 character

Hi


This is a standard that the hostname and the nodename be kept the same on the server and the max is to be of 8 chars.

I hope if you are aware of the impacts of using the Hostnames and nodenames more that 8 chars and the aplications that run on the server how will they behave (HP Suggets and recommends strictly to use the 8 chars, if not done then the applications can behave unpredictably).

I hope that in the line of understanding the above statement you can go ahead with using the names more than 8 chars or long uaing the following


http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1300946


here is the product page:::

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NodeHostNameXpnd


regards
sujit
Ganesan R
Honored Contributor

Re: help with hostname with 10 character

Hi Gobi,

Though hostname can be more than 8 characters, uname is still limited to 8 characters due to backward compatability.

It is not recommanded to have >8 characters hostname though it supports since it will have impact on some applications.

So hostname and unname should be the same and therefore cannot exceed 8-characters. The length of the uname structure is defined in /usr/include/sys/utsname.h in "_SYS_NMLN" (see man 2 uname).
Best wishes,

Ganesh.
Jeeshan
Honored Contributor

Re: help with hostname with 10 character

Re: help with hostname with 10 character

You will also have to install the latest dld patches to handle these long hostnames.
Simon Hargrave
Honored Contributor

Re: help with hostname with 10 character

It's worth knowing that 11i v3 supports hostnames longer than 8 characters. Still not sure whether I would, as third-party applications may still have a problem with this.
Steven E. Protter
Exalted Contributor

Re: help with hostname with 10 character

Shalom,

As noted 11.31 supports hostnames longer than 8 characters.

11.23 does as well if you go to http://software.hp.com and install support.

I'm not a big fan of either approach.

I've seen reports that problems have cropped up and still believe its much better to go with an 8 character hostname.

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
Suraj K Sankari
Honored Contributor

Re: help with hostname with 10 character

Hi,

As per my knowledge host name can't be more then 8 charecter.

Suraj