Operating System - HP-UX
1752587 Members
3580 Online
108788 Solutions
New Discussion юеВ

Re: what needs to changed to use server name longer than 8 char?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

what needs to changed to use server name longer than 8 char?

HP-UX B.11.31 U ia64 hp server rx7640

What needs to changed to use server name longer than 8 char?
4 REPLIES 4
Bill Hassell
Honored Contributor
Solution

Re: what needs to changed to use server name longer than 8 char?

This is a very frequently asked questions. The bottom line is that your server can have very long Internet names for networking but the value for uname is restricted (see man uname). For 11.31, take a look at this:

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

Note that you may break applications that you cannot fix when changing the uname value.


Bill Hassell, sysadmin
Jerry_109
Super Advisor

Re: what needs to changed to use server name longer than 8 char?

Thanks Bill, this a new server that has not been built yet. It's still in the planning stage ( smile ).
Kenan Erdey
Honored Contributor

Re: what needs to changed to use server name longer than 8 char?

hi,

you can define alias(long name) after 8 characters long hostname in /etc/host file
Computers have lots of memory but no imagination
~sesh
Esteemed Contributor

Re: what needs to changed to use server name longer than 8 char?

You can set longer than 8 character host name by tweaking the kernel parameter "expanded_node_host_names". This is set to "0" by default. If you change the value to "1" you can set hostname upto 255 characters.

Check this link for more info:
http://docs.hp.com/en/B2355-60130/expanded_node_host_names.5.html