ALOM : How to change the "hostname"
Hello,
How can I replace the unknown value after Sun(tm) Advanced Lights Out Manager 1.5.4 ?
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Sun(tm) Advanced Lights Out Manager 1.5.4 (unknown)
Please login:
Thanks for your help !
null
[335 byte] By [
@alex@] at [2007-11-26 11:59:45]

# 2
Hi,
You can not change hostname from ALOM, because hostname is automatically configured by system software. when the server boots and starts to communicate with ALOM, ALOM reads the hostname from the server's hostname from operating system. What You can do only is on operating system, not from ALOM. From ALOM, you can view hostname with "showsc" command.
For changing hostname from operating system, you should change following files:
# /etc/hosts
# /etc/nodename
# /etc/hostname.*
# /etc/net/ticlts/hosts
# /etc/net/ticots/hosts
# /etc/net/ticotsord/hosts
# /etc/inet/ipnodes
Then hostname on ALOM will change automatically.
Regards,
zulusa
# 3
Very bad...
You are right zulusa...
sys_hostname
The sys_hostname variable is automatically configured by the system software, so you cannot set it or change it. When the host server boots and starts to communicate with ALOM, ALOM reads the host name from the server抯 operating system and stores it in this variable.
if I try to change it..
sc> setsc sys_hostname tabo
Error: configuration of parameter <sys_hostname> failed as it is read only.
# 4
Is it possible to add also domain to this hostname? Without correct domain name, 99% of SMTP servers reject email as spam.
I would like to receive email alerts, with From tag in header is always :alom-alert@<sys_hostname>. sys_hostaname is never a valid domain.
I setup also /etc/domainname, but it seems it is ignored.