Setting Hostname on HP-UX 11.23 ia64
Edit /etc/hosts, remember don't add any hostname on line "127.0.0.1 .......". It will make sam take so long time to begin. Remember also that after IP Address use tab to separate with name of host.
# vi /etc/hosts
127.0.0.1 localhost loopback
10.10.10.1 devserv
Make nodename value same as hostname
# uname -S devserv
Don't forget to edit /etc/rc.config.d/netconf
# vi /etc/rc.config.d/netconf
----------------
HOSTNAME="devserv"
---------------
After that restart network with
# /sbin/init.d/net stop
# /sbin/init.d/net start
Check your hostname and nodename now ...
# hostname
# nodename