Operating System - HP-UX
1825003 Members
2935 Online
109678 Solutions
New Discussion юеВ

Hp Ux 11.0 system node name

 
SOLVED
Go to solution
Media_Frozen
Advisor

Hp Ux 11.0 system node name

Hi Guys,

Currently i'm using hpux 11.0 on n4000 server, i need to change my system nodename/hostname from the maximum of 8 bytes to something bigger as required by the application team, do i need to download any patches for this?How do i change the
maximum of 8 bytes to accommodate longer system node name?
8 REPLIES 8
Anshumali
Esteemed Contributor

Re: Hp Ux 11.0 system node name

have a look here

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=457037&admit=109447627+1198229033660+28353475

A
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Media_Frozen
Advisor

Re: Hp Ux 11.0 system node name

Any patches to be installed into the system or the patches is for rectifying problem that will arise from changing the node name?
Torsten.
Acclaimed Contributor

Re: Hp Ux 11.0 system node name

According to the link posted above you should forget about changing anything.
There is a difference between host- and notename. hostname can only be 8 chars long.
If you want have problems, play with this.
If you DONT want to have problems - change nothing.

Remember, you are running an UNSUPPORTED version of hp-ux since 1 year. (11.00).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Media_Frozen
Advisor

Re: Hp Ux 11.0 system node name

Yes, i knew it would cause problem but the application team is insisting that their application need this to work.I would have to convince them by testing it in dev server first and show to them the amount of problem it would caused if we actually went ahead with the patches. So my question still stand, do i have to download any patches for this? I mean to enable node name to be greater than 8 bytes.
Dennis Handly
Acclaimed Contributor

Re: Hp Ux 11.0 system node name

>do i have to download any patches for this? I mean to enable node name to be greater than 8 bytes.

I don't think so. As mentioned, you are hosed either way, so change it and test it. Read the other thread carefully, and TG's link.
Bill Hassell
Honored Contributor
Solution

Re: Hp Ux 11.0 system node name

There are two network names in HP-UX: nodename and hostname. Normally, they are the same. The man page for hostname explains the differences. The startup variable NODENAME is the UUCP name which is returned by uname -n, while the HOSTNAME variable sets the networking (ARPA, NFS, etc) name, which can be 64 chars long (see /usr/include/sys/param.h for MAXHOSTNAMELEN). HOSTNAME can be much longer than 8 characters BUT only if you define an 8-character or less NODENAME in the /etc/rc.config.d/netconf file, like this:

NODENAME=myhost08
HOSTNAME=myreallylonghostname

And of course for networking, the /etc/hosts file provides all the hostname aliases you might need -- assuming you put files then dns in /etc/nsswitch.conf.


Bill Hassell, sysadmin
Media_Frozen
Advisor

Re: Hp Ux 11.0 system node name

Thank you for the answering the question.
Media_Frozen
Advisor

Re: Hp Ux 11.0 system node name

...