Oracle的ILOM使用很方便。ILOM模块一般会集成在主板上,如果ILOM坏了,就需要把整个板子换掉,下面的输出就是由于ILOM在Preboot阶段的输出。
Preboot> help
Commands and keywords are case-sensitive and do not abbreviate. Type "help cmd" [Enter] for summary of 'cmd' command. boot Boot ILOM (bootcmd="bootpkg"). vers {[ brief ]| all } Show versions. show {[ brief ]| all | date | env } Show settings. edit Change settings, other than SP network. diag { quick | normal | extended | help | test_* ... | util_* ... } Run pre-boot diagnostics or any "test_*" or "util_*" command. host { clearcmos | show | enable-on | hard-off } Clear CMOS settings, enable/kill power. net { config | dhcp | ping } Type "help net FUNC" for help on that function. net config Change SP network settings (static? <Missing> on SP/NET0). net dhcp Request or renew a DHCP lease for "net" commands. net ping <192.168.33.44> Ping the IPv4 host (numeric). reset {[ warm ]| cold } reset [warm] Warm-reset the SP. unconfig { ilom_conf | all } unconfig ilom_conf Set 'preserve_conf' to 'no' for next ILOM boot, but keep SP network and baudrate, preferred, check_physical_presence. help [cmd] h[elp] Print list of commands.
Preboot> vers
Date ='Fri Sep 16 16:11:06 PDT 2016', Build ='r112301' Bad root CRC=ae747100 for data =[ *00340000, len=f97000, sum=6a1ae468 ] in pkg *00140000 Bad vbscdir CRC=860e7944 for data =[ *01770000, len=4d000, sum=94a4d77c ] in pkg *00140000 uboot @0c0000 OK, kernel @142000 OK, root @340000 Bad, vbscdir @1770000 Bad First (preferred) ILOM image at 0x000c0000: Not found Second ILOM image at 0x018c0000: Not found Preboot> show Date: 2017-03-23 (Thursday) Time: 6:44:44 Connectivity settings: Console serial speed : baudrate = '9600' Serial port multiplexer : serial_is_host = '<not set>' Out-of-band mgmt port : ethaddr = '00:10:E1:BB:AF:FC' Sideband mgmt ports : eth1addr = '00:10:E1:BB:AF:FC' Network port (for ILOM) : managementport = '<not set>' Net configuration mode : ipdiscovery = '<not set>' Net address (for U-Boot) : ipaddr = '<not set>' Net default gateway : gatewayip = '<not set>' Net mask (for U-Boot) : netmask = '<not set>' Other customer settings, with initial default in [brackets]: (The factory default after booting might differ.) baudrate = '9600' [9600] serial_is_host = '<not set>' [<none set>] bootdelay = '5' [5] bootretry = '<not set>' [<none set>] diags_mode = 'Normal' [<none set>] preferred = '0' [<none set>] preserve_conf = 'yes' [<dynamic>] check_physical_presence = '<not set>' [<none set>]
Preboot>
Preboot> diag normal
<DIAGS> sparc_s1-2 Service Processor POST - Start <DIAGS> U-Boot 2010.03 <DIAGS> Custom Pilot3 U-Boot 0.1 (Sep 16 2016 - 14:48:00) r112301 <DIAGS> Date: 2017-03-23 (Thursday) Time: 7:40:00 <DIAGS> Memory Data Bus Test ... PASSED <DIAGS> Uboot Mem Test ... PASSED <DIAGS> Memory Address Bus Test ... PASSED <DIAGS> Flash Test ... PASSED <DIAGS> Testing Watchdog ... PASSED I2C Probe Test - SP Bus Device Address Result === ============================ ======= ====== <DIAGS> PHY #0 R/W Test ... PASSED <DIAGS> PHY #0 Link Status ... PASSED Setting 100 BASE-X Setting full duplex mode. Mac Addr is 0 10 e0 bb cf fb <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... PASSED <DIAGS> Testing RTC . PASSED <DIAGS> VOLTAGE SENSOR Test ... PASSED Writing sppost console log to flash Un-Protected 4 sectors Erasing .... done Erased 4 sectors Writing done Protected 4 sectors Preboot>
Preboot> boot
Trying bootcmd: bootpkg ... Reduced ILOM max. image size to 0x740000 to fit in flash. Date ='Fri Sep 16 16:11:06 PDT 2016', Build ='r112301' Bad root CRC=ae747100 for data =[ *00340000, len=f97000, sum=6a1ae468 ] in pkg *00140000 Bad vbscdir CRC=860e7944 for data =[ *01770000, len=4d000, sum=94a4d77c ] in pkg *00140000 uboot @0c0000 OK, kernel @142000 OK, root @340000 Bad, vbscdir @1770000 Bad Primary image is invalid Secondary image is invalid Un-Protect Flash Bank # 1 Un-Protect Flash Bank # 3 Trying primary image... Trying to boot package at ffffffff No valid package header at ffffffff (package structure problem) nothing happens Preboot>