Monday, December 22, 2014

      How to reset password on Solaris’ ALOM


Connect to the serial management port.
Unplug power to the server, then connect power.
=====================================================

ALOM POST 1.0


Dual Port Memory Test, PASSED.

TTY External - Internal Loopback Test
         
TTY External - Internal Loopback Test, PASSED.

TTYC - Internal Loopback Test
         
TTYC - Internal Loopback Test, PASSED.

TTYD - Internal Loopback Test
         
TTYD - Internal Loopback Test, PASSED.

Memory Data Lines Test
Memory Data Lines Test, PASSED.

Memory Address Lines Test
  Slide address bits to test open address lines
  Test for shorted address lines
Memory Address Lines Test, PASSED.

============================================================
Press the Escape key during ALOM boot right after connecting power.
============================================================

The ALOM boot escape menu is shown
Boot Sector FLASH CRC Test
Boot Sector FLASH CRC Test, PASSED.



Return to Boot Monitor for Handshake  ESC keypress detected.

ALOM <ESC> Menu

e - Erase ALOM NVRAM.
m - Run POST Menu.
R - Reset ALOM.
r - Return to bootmon.
Your selection: e {Choose e to erase NVRAM}
ALOM NVRAM erased.

ALOM <ESC> Menu

e - Erase ALOM NVRAM.
m - Run POST Menu.
R - Reset ALOM.
r - Return to bootmon.
Your selection: r {Choose r to reset ALOM}

ALOM POST 1.0
   Status = 00007fff

Returned from Boot Monitor and Handshake



Instruction CACHE Test
  DISABLE the I-CACHE
  ENABLE the I-CACHE
  Verify I-CACHE Performance Increase
Instruction CACHE Test, PASSED.

Memory Cells Test
  Counting UP:    Write data:  00000000
  Counting DOWN:  Read - Verify - Write data:  ffffffff
  Counting UP:    Read - Verify - Write data:  55aa33cc
Memory Cells Test, PASSED.

Data CACHE Test
  Verify D-CACHE Performance Increase
    D-CACHE Performance Increase I-CACHE Disabled
    D-CACHE Performance Increase I-CACHE Enabled
  Verify D-CACHE Memory
Data CACHE Test, PASSED.

Main Sectors FLASH CRC Test
Main Sectors FLASH CRC Test, PASSED.

Loading the runtime image... VxWorks running.  Starting Advanced Lights Out Manager CMT v1.3.8  Copyright 2007 Sun Microsystems, Inc.  All rights reserved. Use is subject to license terms.  Current mode: NORMAL
Attaching network interface lo0... done.
Attaching network interface motfec0.... done. Booting from Segment 1

Sun(tm) Advanced Lights Out Manager CMT v1.3.8


SC Alert: SC System booted.


Full VxDiag Tests

BASIC TOD TEST
  Read the TOD Clock:      
SC Alert: Preceding SC reset due to watchdog
SAT JAN 01 00:02:15 2000
  Wait, 1 - 3 seconds      
  Read the TOD Clock:        SAT JAN 01 00:02:17 2000
BASIC TOD TEST, PASSED

ETHERNET CPU LOOPBACK TEST
  50 BYTE PACKET   - a 0 in field of 1's.
  50 BYTE PACKET   - a 1 in field of 0's.
  900 BYTE PACKET  - pseudo-random data.
ETHERNET CPU LOOPBACK TEST, PASSED

Full VxDiag Tests - PASSED



    Status summary  -  Status = 7FFF

       VxDiag    -          -  PASSED
       POST      -          -  PASSED
       LOOPBACK  -          -  PASSED

       I2C       -          -  PASSED
       EPROM     -          -  PASSED
       FRU PROM  -          -  PASSED

       ETHERNET  -          -  PASSED
       MAIN CRC  -          -  PASSED
       BOOT CRC  -          -  PASSED

       TTYD      -          -  PASSED
       TTYC      -          -  PASSED
       MEMORY    -          -  PASSED
       MPC885    -          -  PASSED



sc> shownetwork
SC network configuration is:
IP Address: 10.0.14.189
Gateway address: 0.0.0.0
Netmask: 255.0.0.0
Ethernet address: 00:21:28:4f:a3:1d
=====================================================
sc> setupsc {Set ALOM parameters by running the command setupsc}
Warning: the setupsc command is being ignored because the password for admin is not set.
Setting password for admin.
New password: *********

Re-enter new password: *********

Setup New IP:
=======================================================

sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipaddr 169.144.193.198
sc> setsc netsc_ipgateway 169.144.193.1
sc> setsc if_network true
sc> showsc
Advanced Lights Out Manager CMT v1.3.8

parameter                value
---------                -----
if_network               true
if_connection            ssh
if_emailalerts           false
netsc_dhcp               true
netsc_ipaddr             169.144.193.198
netsc_ipnetmask          255.255.255.0
netsc_ipgateway          169.144.193.1
mgt_mailhost            
mgt_mailalert          
sc_customerinfo        
sc_escapechars           #.
sc_powerondelay          false
sc_powerstatememory      false
sc_clipasswdecho         true
sc_cliprompt             sc
sc_clitimeout            0
sc_clieventlevel         2
--pause--  Press 'q' to quit, any other key to continue
                                                     
sc_backupuserdata        true
diag_trigger             power-on-reset error-reset
diag_verbosity           normal
diag_level               min
diag_mode                normal
sys_autorunonerror       false
sys_autorestart          reset
sys_eventlevel           2
ser_baudrate             9600
ser_parity               none
ser_stopbits             1
ser_data                 8
netsc_enetaddr           00:21:28:4f:a3:1d
sys_enetaddr             00:21:28:4f:a3:14
                                                     
sc> console