Sunday 25 August 2013

Solaris Sparc Server Consoles using ALOM Commands

            ALOM (Advanced Lights Out Manager System Controller) only on SUN Sparc system
                   
1.Alom System COntroller enables you to remotely manage and administrator a server
2.It comes preinstalled on the machine , so as soon you plug in power cable, it works
3.Yes,It uses server's standby power,which enables you to remotely power off & on server
4.ALOM Monitors hardware in the server like CPU,RAM,Power supply,etc,and much more like Voltage and status of alarms.
5.of course,all this exercise assumes you configured ALOM's network parameters.Try to have dedicated management subnet for this
6.If you access ALOM and stay idle for 1 min .it will switch the serial console
7.You can type "console" and reach serial console of remote system from your cube or home living room.





Some ALOM Shell Commands:-
cannot login to the ALOM?
Try default password which is the last 8 digits of the chassis serial no.Usernameis "admin"
So find about them by yourself and see what help offers you.
sc> help  ------> It shows available commands
Most used commands will be:-
sc>setsc set if_network true
sc>setsc netsc_dhcp false
sc>setsc netsc_ipaddr 192.168.2.4
sc>setsc netsc_ipnetmask 255.255.255.0
sc>setsc netsc_ipgateway 192.168.2.1
sc>resetsc 
Are you sure you want reset the sc[y.n] y

sc> shownetwork
sc configuration is:
IP address :192.168.2.4
Gateway address:192.168.2.1
Netmask:255.255.255.0
Ethernet address:00:14:4f:64:b2:6f

sc>showplatform
SUNW,SUN-Fre-v240
Domanin status
------- ------
hostname OS running


sc>showenvironment ------> all hardware details like Hdd,system temperature,Fans,powersupply,
sc>usershow            ------> It will show username,permissions password 
sc>password         ---->Use to change the ALOM password for the account Must be between 6 & 8 characters 
sc>poweroff        ---->Graceful shutdown of the Solaris OS after "SC Alert:Hostsystem has shut down" wait until                                  you see this message beforepoering the system back on 
sc>poweroff -y --->Instructs ALOM to proceed without prompting 
sc>poweroff -f --->Forces an immediate shutdown regardless of the state of the host 
sc>poweron -c ---> Instructs ALOM to connect to the system console after performing the option 
sc>removefru PS0 --->To prepare POWER SUPPLY 0 form removal "T1000 servers attempting to use the 
                                removefru command on "PS0" Generates message "Could not remove <PS0> system only                                has one power supply 
sc>reset         ---->To force the host server to rest immediately 
sc>reset -c     ---->Instructs ALOM to connect to the system console after performing the operation. 
sc>resetsc     ---> To perform a hard reset of ALOM. This terminates all current ALOM sessions.
 

No comments:

Post a Comment