Operating System - HP-UX
1830230 Members
2316 Online
109999 Solutions
New Discussion

System name and node name are different !!

 
Whitehorse_1
Frequent Advisor

System name and node name are different !!

Admins,

I got an interesting stuff, but quite weird. One of my server shows different hostname and node name. Can anyone confirm:

(1) How this can happen by itself,
(2) I would like to make nodename same as system name, Will this impact business by any means, like reboot..?
(3) Can I do this name change online, when my server is live.

--WH
Reading is a good course medicine for deep sleep !!
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: System name and node name are different !!

Hi:

Normally the 'nodename' is set from the 'hostname' as recorded in '/etc/rc.config.d/netconf'. Normally, the two are the same. A restart of networking daemons (or better, a reboot) is required to change these entities.

Not long ago, we had a good discussion in this thread. See the responses by Clay, Bill H. and myself therein:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1027417

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: System name and node name are different !!

Hi (again):

So what didn't you find answered?

As for HOW did you end up with differing hostnames and nodenames, read the manpages for 'hostname' and for 'uname'. Both commands, while usually used to *query* the appropriate value can be used to *set* it as well.

...JRF...
Whitehorse_1
Frequent Advisor

Re: System name and node name are different !!

hi JRF,

Again a quick qn, is it advisable to change nodename same as system name through SAM. If I do so, whether /sbin/init.d/net stop/start required..?

--WH
Reading is a good course medicine for deep sleep !!