Operating System - HP-UX
1849482 Members
6859 Online
104044 Solutions
New Discussion

change system name and node name

 
SOLVED
Go to solution
cbozlagan
Regular Advisor

change system name and node name

changing system name and node name

I tryed uname command but I did not achieve change them.

How can I change system name and node?

Thanks.
4 REPLIES 4
DCE
Honored Contributor

Re: change system name and node name



try set_parms

man set_parms for more info
Torsten.
Acclaimed Contributor

Re: change system name and node name

Hi,

you should use

set_parms hostname

see http://docs.hp.com/en/B2355-60105/set_parms.1M.html

Be aware of this:

"WARNING: When changing the host name, set_parms does not know about optionally installed software. If any such software remembers the previous host name, it might not work properly after the host name is changed."

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!   
James R. Ferguson
Acclaimed Contributor
Solution

Re: change system name and node name

Hi:

For all practical purposes, the hostname and nodename should be the same.

As noted, use:

# /sbin/set_parms hostname

...to set the server's hostname. A reboot will occur.

During startup, when '/sbin/init.d/hostname' runs, if the variable NODENAME has not been defined, the 'nodename' (as seen with 'uname') is set equal to the hostname.

Regards!

...JRF...
cbozlagan
Regular Advisor

Re: change system name and node name

set_parm hostname
new_host_name
ctrl + d