Pages

Showing posts with label change hostname on AIX. Show all posts
Showing posts with label change hostname on AIX. Show all posts

Tuesday, 16 October 2012

change hostname on AIX


How to change hostname on AIX, “Cleanly”

Changing the hostname at a Windows Server will require a reboot. However, changing a hostname on a Unix/Linux server do not require a reboot! But, it is not so straightforward to change the hostname of a server online. This is because you will need to change a couple of things, like the entry in ODM, nodename and current hostname.

oldhostname:/:>chdev -l inet0 -a hostname=newhostname

inet0 changed

oldhostname:/:>uname -S newhostname => Change the network name of this machine.

oldhostname:/:>hostname newhostname => Sets the name of the current host system.

newhostname

oldhostname:/:>su -

newhostname:/:>exit



Twitter Bird Gadget