Showing posts with label SUN Server. Show all posts
Showing posts with label SUN Server. Show all posts

Friday, February 4, 2011

How to set automatic recovery after power failure for a SUN Netra box using ALOM port command

Pick up a laptop and cable which has RJ-47 in one end and 7-Pin serial port on the other end.

Connect RJ-47 to SERIAL MGT port in the Sun Box and serial port to your laptop. Make sure that you have a application like putty for the serial connection. Serial connection configuration shall be 9600/8n1/none. Establish a serial connection using putty, either console login prompt will appear or ALOM port login prompt appears. Please provide login and password, takes you to ALOM prompt or console window. If you wish to go to ALOM prompt from console then type “#.”(HASH and DOT). If you wish to switch to console prompt from ALOM then type “console”.

How to set automatic recovery after power failure for a SUN Netra box using ALOM port command

Please refer the How to connect to ALOM port section in this website. Once you login to SUN box and able to see the ALOM prompt sc>, you can use setsc command.
sc> showsc
Check the value for sc_powerstatememory variable. It shall show as below:
sc_powerstatememory false
To set the automatic recovery after power failure, do as below
sc> setsc sc_powerstatememory true
For any other commands use showsc and below syntax
sc> setsc <variable> <Value>