Log in

No account? Create an account
entries friends calendar profile Previous Previous Next Next
Renaming a SUN machine - Ed's journal
Renaming a SUN machine
When changing the hostname on a Sun, there are 8 files that use or define it's hostname

   /etc/hostname.<xxn>     (interface card eg: ce0)
   /var/crash/<hostname>  (directory needs renaming)

Amend each, and reboot, and you're done.
Alternatively, you _can_ modify online, however, it's always good when making a notable modification to reboot to check for typos.

It's worth remembering though, that certain apps 'remember' the hostname eg. Oracle.

(sigh, another 350 day uptime reset)
2 comments or Leave a comment
zaitan From: zaitan Date: October 15th, 2004 02:13 am (UTC) (Link)
Don't you need to change /etc/dumpadm.conf as well?
sobrique From: sobrique Date: October 15th, 2004 02:43 am (UTC) (Link)
2 comments or Leave a comment