Oracle Integrated Lights Out Manager (ILOM) is the service processor embedded on all Oracle's SPARC Enterprise T-series and Sun Fire x86 servers, including all rack mounts and blades. Oracle ILOM enables full out-of-band management, providing a "Just like being there" remote management capability.
在Oracle的SPARC T系列和Sun Fire X86服务器上都嵌入了ILOM,通过ILOM还可以安装操作系统,收集故障信息等,很实用。下面的样例输出为SPARC T5-2服务器
SPARC T5-2,配置了2颗最多也就2颗CPU,达到256线程,最大内存支持1TB。
登陆提示信息
ORACLESP-AK00099999 login: root Password: Detecting screen size; please wait...done Oracle(R) Integrated Lights Out Manager Version 3.2.1.2.g r81105 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. Warning: password is set to factory default.-> help
The help command is used to view information about commands and targets Usage: help [-format wrap|nowrap] [-o|-output terse|verbose] [<command>|legal|targets|<target>|<target> <property>] Special characters used in the help command are [] encloses optional keywords or options <> encloses a description of the keyword (If <> is not present, an actual keyword is indicated) | indicates a choice of keywords or options help <target> displays description of the target and its properties help <target> <property> displays description of the property of the target help targets displays a list of targets help legal displays the product legal notice Commands are: cd create delete dump exit help load reset set show start stop version
列出目录信息
(HOST(Host的信息),System(System信息),SP(service processor))
-> pwd Current default target: /SYS -> cd / -> ls / Targets: HOST System SP Properties: Commands: cd show ->列出所有的targets
-> help targets Target Meaning / Hierarchy Root /HOST Manage the Host /HOST/bootmode Manage the Host Boot Method /HOST/console Redirect Host Serial Console to SP /HOST/console/bootlog View Host Console Output From Last Power On /HOST/console/history View Host Console Output /HOST/diag Manage Host Power On Self Test Diagnostics /HOST/domain Manage Logical Domains /HOST/domain/control Manage Host Control and Guest Boot Methods /HOST/tpm Manage the Trusted Platform Module Device /System View System Summary /System/Open_Problems View Open Problems /System/Processors View Processors Summary /System/Processors/CPUs View List of CPUs /System/Processors/CPUs/CPU_0 CPU Details /System/Processors/CPUs/CPU_1 CPU Details /System/Memory View Memory Summary /System/Memory/DIMMs View List of DIMMs /System/Memory/DIMMs/DIMM_0 DIMM Details /System/Memory/DIMMs/DIMM_1 DIMM Details /System/Memory/DIMMs/DIMM_2 DIMM Details /System/Memory/DIMMs/DIMM_3 DIMM Details /System/Memory/DIMMs/DIMM_4 DIMM Details /System/Memory/DIMMs/DIMM_5 DIMM Details /System/Memory/DIMMs/DIMM_6 DIMM Details /System/Memory/DIMMs/DIMM_7 DIMM Details /System/Memory/DIMMs/DIMM_8 DIMM Details /System/Memory/DIMMs/DIMM_9 DIMM Details /System/Memory/DIMMs/DIMM_10 DIMM Details /System/Memory/DIMMs/DIMM_11 DIMM Details /System/Memory/DIMMs/DIMM_12 DIMM Details /System/Memory/DIMMs/DIMM_13 DIMM Details /System/Memory/DIMMs/DIMM_14 DIMM Details /System/Memory/DIMMs/DIMM_15 DIMM Details /System/Memory/DIMMs/DIMM_16 DIMM Details /System/Memory/DIMMs/DIMM_17 DIMM Details /System/Memory/DIMMs/DIMM_18 DIMM Details /System/Memory/DIMMs/DIMM_19 DIMM Details /System/Memory/DIMMs/DIMM_20 DIMM Details /System/Memory/DIMMs/DIMM_21 DIMM Details /System/Memory/DIMMs/DIMM_22 DIMM Details /System/Memory/DIMMs/DIMM_23 DIMM Details /System/Memory/DIMMs/DIMM_24 DIMM Details /System/Memory/DIMMs/DIMM_25 DIMM Details /System/Memory/DIMMs/DIMM_26 DIMM Details /System/Memory/DIMMs/DIMM_27 DIMM Details /System/Memory/DIMMs/DIMM_28 DIMM Details /System/Memory/DIMMs/DIMM_29 DIMM Details /System/Memory/DIMMs/DIMM_30 DIMM Details /System/Memory/DIMMs/DIMM_31 DIMM Details /System/Power View Power Summary /System/Power/Power_Supplies View List of Power Supplies /System/Power/Power_Supplies/Power_Supply_0 Power Supply Details /System/Power/Power_Supplies/Power_Supply_1 Power Supply Details /System/Cooling View Cooling Summary /System/Cooling/Fans View List of Fans /System/Cooling/Fans/Fan_0 Fan Module Details /System/Cooling/Fans/Fan_1 Fan Module Details /System/Cooling/Fans/Fan_2 Fan Module Details /System/Cooling/Fans/Fan_3 Fan Module Details /System/Cooling/Fans/Fan_4 Fan Module Details /System/Cooling/Fans/Fan_5 Fan Module Details /System/Storage View Storage Summary /System/Storage/Disks View List of Storage Disks /System/Storage/Controllers View List of Storage Controllers /System/Storage/Volumes View List of Storage Volumes /System/Storage/Expanders View List of Storage Expanders /System/Networking View Network Summary /System/Networking/Ethernet_NICs View List of Ethernet NICs /System/Networking/Ethernet_NICs/Ethernet_NIC_0 Ethernet NIC Details /System/Networking/Ethernet_NICs/Ethernet_NIC_1 Ethernet NIC Details /System/Networking/Ethernet_NICs/Ethernet_NIC_2 Ethernet NIC Details /System/Networking/Ethernet_NICs/Ethernet_NIC_3 Ethernet NIC Details /System/PCI_Devices View Devices Summary /System/PCI_Devices/On-board View List of On-board Devices /System/PCI_Devices/On-board/Device_0 On-board device details /System/PCI_Devices/On-board/Device_1 On-board device details /System/PCI_Devices/On-board/Device_2 On-board device details /System/PCI_Devices/On-board/Device_3 On-board device details /System/PCI_Devices/On-board/Device_4 On-board device details /System/PCI_Devices/On-board/Device_5 On-board device details /System/PCI_Devices/Add-on View List of Add-on Devices /System/Firmware View Firmware Summary /System/Firmware/Other_Firmware View List of Other Firmware /System/Log Manage the System Log /System/Log/list View System Log Entries /SP Manage the Service Processor /SP/alertmgmt Manage Alerts /SP/alertmgmt/rules Manage Alert Rules (IPMI, SNMP, Email) /SP/cli Manage Command Line Interface Sessions /SP/clients Manage Client External Services /SP/clients/activedirectory Manage Active Directory Authentication /SP/clients/activedirectory/admingroups Manage Administrator Groups /SP/clients/activedirectory/alternateservers Manage Alternate Servers /SP/clients/activedirectory/cert Manage Certificates /SP/clients/activedirectory/customgroups Manage Custom Groups /SP/clients/activedirectory/dnslocatorqueries Manage DNS Locator Queries /SP/clients/activedirectory/opergroups Manage Operator Groups /SP/clients/activedirectory/userdomains Manage User Domains /SP/clients/dns Manage Domain Name Service Resolution /SP/clients/ldap Manage LDAP Authentication /SP/clients/ldapssl Manage LDAP/SSL Authentication /SP/clients/ldapssl/admingroups Manage Administrator Groups /SP/clients/ldapssl/alternateservers Manage Alternate Servers /SP/clients/ldapssl/cert Manage Certificates /SP/clients/ldapssl/customgroups Manage Custom Groups /SP/clients/ldapssl/opergroups Manage Operator Groups /SP/clients/ldapssl/optionalUserMapping Manage Alternate User Mapping /SP/clients/ldapssl/userdomains Manage User Domains /SP/clients/ntp Manage the Network Time Protocol Service /SP/clients/ntp/server Manage the NTP Servers /SP/clients/radius Manage RADIUS Authentication /SP/clients/smtp Manage the SMTP Server Service /SP/clients/syslog Manage the Syslogd Remote Logging Server /SP/clock Manage the SP Clock /SP/config Manage SP Configuration (Backup/Restore) /SP/diag Manage SP Diagnositics /SP/diag/snapshot Save SP Snapshot for Diagnostic Purposes /SP/faultmgmt Manage System FRU Faults /SP/faultmgmt/shell Start the Fault Management Shell /SP/firmware Manage the SP Firmware /SP/firmware/backupimage Manage Firmware Backup Image Information /SP/firmware/keys Image Signing Public Keys /SP/firmware/keys/sun View Sun Keys /SP/firmware/localimage View Local Firmware Image Information /SP/logs Manage Logs /SP/logs/audit Manage the Audit Log /SP/logs/audit/list View Audit Log Entries /SP/logs/event Manage the Event Log /SP/logs/event/list View Event Log Entries /SP/network Manage Network Port Configuration /SP/network/interconnect Manage Internal USB Ethernet Port Configuration /SP/network/ipv6 Manage IPv6 Network Configuration /SP/policy Manage System Policies /SP/preferences Manage SP Preferences /SP/preferences/banner Manage SP Login Messages /SP/serial Manage Serial Interfaces /SP/serial/external Manage the External Serial Port /SP/services Manage SP Access Services /SP/services/http Manage the HTTP Service /SP/services/https Manage the HTTPS Service /SP/services/https/ssl Manage the HTTPS SSL Certificate /SP/services/https/ssl/custom_cert Manage the Custom SSL Certificate /SP/services/https/ssl/custom_key Manage the Custom SSL Private Key /SP/services/https/ssl/default_cert View the Default SSL Certificate /SP/services/ipmi Manage the IPMI Service /SP/services/kvms Manage the Remote KVMS Service /SP/services/servicetag Manage Service Tags /SP/services/snmp Manage the SNMP Agent Service /SP/services/snmp/communities Manage SNMP Communities (v1, v2) /SP/services/snmp/users Manage SNMP Users (v3) /SP/services/ssh Manage the Secure Shell Service /SP/services/ssh/keys Manage Secure Shell Authentication /SP/services/ssh/keys/dsa Manage the SSH DSA Key /SP/services/ssh/keys/rsa Manage the SSH RSA key /SP/services/sso Manage the Single Sign-on Service /SP/sessions View User Sessions /SP/users Manage Local SP User Accounts
-> -> cd / /
-> ls / Targets: HOST System SP Properties: Commands: cd show -> cd /sp /SP -> ls /SP Targets: alertmgmt cli clients clock config diag faultmgmt firmware logs network policy powermgmt preferences serial services sessions users Properties: check_physical_presence = true current_hostname = ORACLESP-AK00099999 customer_frudata = (none) hostname = (none) reset_to_defaults = none system_contact = (none) system_description = SPARC T5-2, ILOM v3.2.1.2.g, r81105 system_identifier = (none) system_location = (none) Commands: cd reset set show version -> cd /host /HOST -> ls /HOST Targets: bootmode console diag domain tpm Properties: autorestart = reset autorunonerror = poweroff bootfailrecovery = poweroff bootrestart = none boottimeout = 0 gm_version = GM 1.3.0.h 2013/05/16 17:04 2013/05/16, 17:04 hostconfig_version = Hostconfig 1.3.0.h 2013/05/16 16:59 hypervisor_version = Hypervisor 1.12.0.g 2013/05/16 16:40 ioreconfigure = true keyswitch_state = Normal macaddress = 00:10:e0:2a:1f:5c maxbootfail = 3 obp_version = OpenBoot 4.35.0.a 2013/03/01 14:53 post_version = POST 5.0.0.e 2013/04/02 17:57 send_break_action = (Cannot show property) state_capture_mode = default state_capture_on_error = enabled state_capture_status = enabled status = Solaris running status_detail = 20160920 13:30:01: Start Host completed successfully sysfw_version = Sun System Firmware 9.0.0.i 2013/05/16 17:45 Commands: cd set show -> cd /system /System -> ls /System Targets: Open_Problems (1) Processors Memory Power Cooling Storage Networking PCI_Devices Firmware Log Properties: health = Service Required health_details = MB (Motherboard) is faulty. Type 'show /System/Open_Problems' for details. open_problems_count = 1 type = Rack Mount model = SPARC T5-2 qpart_id = Q9525 part_number = 31706555+1+1 serial_number = AK00099999 system_identifier = (none) system_fw_version = Sun System Firmware 9.0.0.i 2013/05/16 17:45 primary_operating_system = Not Available primary_operating_system_detail = Comprehensive System monitoring is not available. Ensure the host is running with the Hardware Management Pack. For download details go to http://www.oracle.com/technetwork/server-storage/servermgmt/downloads/index.html host_primary_mac_address = 00:10:e0:2a:1f:5c ilom_address = Unknown ilom_mac_address = 00:10:E0:2A:1F:65 locator_indicator = Off power_state = On actual_power_consumption = 852 watts action = (none) Commands: cd reset set show start stop -> -> show /SYS /SYS Targets: CPU_FAULT FANBD FAN_FAULT INTSW LOCATE MB MB_ENV MEMORY_FAULT OK PDB PS0 PS1 PS_FAULT PWRBS RIO SASBP SERVICE SP_OK TEMP_FAULT T_AMB VPS VPS_CPUS VPS_FANS VPS_MEMORY Properties: type = Host System ipmi_name = /SYS keyswitch_state = Normal product_name = SPARC T5-2 product_part_number = 31706555+1+1 product_serial_number = AK00099999 product_manufacturer = Oracle Corporation fault_state = OK clear_fault_action = (none) power_state = On Commands: cd reset set show start stop查看网络信息
-> show /SP/network
/SP/network Targets: interconnect ipv6 test Properties: commitpending = (Cannot show property) dhcp_clientid = none dhcp_server_ip = (none) ipaddress = (none) ipdiscovery = (none) ipgateway = (none) ipnetmask = (none) macaddress = 00:10:E0:2A:1F:65 managementport = MGMT outofbandmacaddress = 00:10:E0:2A:1F:65 pendingipaddress = (none) pendingipdiscovery = (none) pendingipgateway = (none) pendingipnetmask = (none) pendingmanagementport = MGMT sidebandmacaddress = 00:10:E0:2A:1F:64 state = disabled Commands: cd set show ->
-> show /host/bootmode
/HOST/bootmode Targets: Properties: config = factory-default expires = (none) script = setenv auto-boot? false state = normal Commands: cd set show ->查看系统基本信息
-> show memory
/System/Memory Targets: DIMMs Properties: health = OK health_details = - installed_memory = 256 GB installed_dimms = 32 max_dimms = 32 actual_power_consumption = 192 watts Commands: cd show-> show Storage
/System/Storage Targets: Disks Controllers Volumes Expanders Properties: health = Not Available health_details = Comprehensive System monitoring is not available. Ensure the host is running with the Hardware Management Pack. For download details go to http://www.oracle.com/technetwork/server-storage/servermgmt/downloads/index.html installed_disks = 2 max_disks = 6 installed_disk_size = Not Available logical_volumes = Not Available disk_controllers = Not Available Commands: cd show ->-> show /System/Processors
/System/Processors Targets: CPUs Properties: health = OK health_details = - architecture = SPARC summary_description = Two Oracle SPARC T5 installed_cpus = 2 max_cpus = 2 actual_power_consumption = 283 watts Commands: cd show-> show /System/Processors/CPUs/CPU_0
/System/Processors/CPUs/CPU_0 Targets: Properties: health = OK health_details = - requested_state = Enabled part_number = Not Available serial_number = 0000000000000000000b8c88618c2045 location = CM0/CMP (CPU Mezz 0 CMP) model = Oracle SPARC T5 max_clock_speed = 3.600 GHz total_cores = 16 enabled_cores = 16 temperature = 66 degrees C Commands: cd show ->
修改ILOM web登陆地址
如果不知道ILOM web登陆地址,就需要通过串口设置或修改地址。我们需要一根串口线(USB转串口数据线,串口转RJ45连接线)和一根网线。
1.需要将网线连接好,串口线也连接好
2.通过SecureCRT(Protocol:Serial,Port:COM3(需根据实际情况指定),Rate:9600,Bits:8,Parity:None,Stop bits:1)
默认登陆账号密码root/changeme
ORACLESP-AK00099999 login: root Password:
Detecting screen size; please wait...done Oracle(R) Integrated Lights Out Manager Version 3.2.1.2.g r81105 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. Warning: password is set to factory default. -> show /sp/network /SP/network Targets: interconnect ipv6 test Properties: commitpending = (Cannot show property) dhcp_clientid = none dhcp_server_ip = (none) ipaddress = (none) ipdiscovery = (none) ipgateway = (none) ipnetmask = (none) macaddress = 00:10:E0:2A:1F:65 managementport = MGMT outofbandmacaddress = 00:10:E0:2A:1F:65 pendingipaddress = (none) pendingipdiscovery = (none) pendingipgateway = (none) pendingipnetmask = (none) pendingmanagementport = MGMT sidebandmacaddress = 00:10:E0:2A:1F:64 state = disabled Commands: cd set show -> cd /sp/network -> set pendingipdiscovery=static Set 'pendingipdiscovery' to 'static' -> set pendingipaddress=192.168.16.100 Set 'pendingipaddress' to '192.168.16.100' -> set pendingipgateway=192.168.16.1 Set 'pendingipgateway' to '192.168.16.1' -> set pendingipnetmask=255.255.255.0 Set 'pendingipnetmask' to '255.255.255.0' -> set pendingipnetmask=255.255.255.0 Set 'pendingipnetmask' to '255.255.255.0' -> set state=enabled Set 'state' to 'enabled' -> set commitpending=true Set 'commitpending' to 'true' ->
-> show
/SP/network Targets: interconnect ipv6 test Properties: commitpending = (Cannot show property) dhcp_clientid = none dhcp_server_ip = none ipaddress = 192.168.16.100 ipdiscovery = static ipgateway = 192.168.16.1 ipnetmask = 255.255.255.0 macaddress = 00:10:E0:2A:1F:65 managementport = MGMT outofbandmacaddress = 00:10:E0:2A:1F:65 pendingipaddress = 192.168.16.100 pendingipdiscovery = static pendingipgateway = 192.168.16.1 pendingipnetmask = 255.255.255.0 pendingmanagementport = MGMT sidebandmacaddress = 00:10:E0:2A:1F:64 state = enabled Commands: cd set show ->然后就可以通过web方式访问ILOM了
设置输入输出,设置设备后,USB键盘和显示器正常工作,需进入ok模式后,才能设置
进入ok模式有2种方式
1.已经进入操作系统,可执行init 0
#init 02.设置自动启动为false,set /HOST/bootmode script="setenv auto-boot? false"
-> start /SP/console Are you sure you want to start /SP/console (y/n)? y Serial console started. To stop, type #. {0} ok设置输入输出设备
setenv output-device screen
setenv input-device keyboard
{0} ok {0} ok setenv output-device screen output-device = screen {0} ok setenv input-device keyboard input-device = keyboard {0} ok{0} ok printenv
Variable Name Value Default Value ttya-rts-dtr-off false false ttya-ignore-cd true true keyboard-layout US-English reboot-command security-mode none No default security-password No default security-#badlogins 0 No default verbosity min min diag-switch? false false local-mac-address? true true fcode-debug? false false scsi-initiator-id 7 7 oem-logo No default oem-logo? false false oem-banner No default oem-banner? false false ansi-terminal? true true screen-#columns 80 80 screen-#rows 34 34 ttya-mode 9600,8,n,1,- 9600,8,n,1,- output-device screen virtual-console input-device keyboard virtual-console auto-boot-on-error? false false load-base 16384 16384 auto-boot? false true network-boot-arguments boot-command boot boot boot-file boot-device /pci@300/pci@1/pci@0/pci ... disk net multipath-boot? false false boot-device-index 0 0 use-nvramrc? false false nvramrc ." ChassisSerialNumber A ... error-reset-recovery boot boot如果自动启动设置为false,需要执行boot才能启动
-> start /SP/console Are you sure you want to start /SP/console (y/n)? y Serial console started. To stop, type #. {0} ok boot Boot device: /pci@300/pci@1/pci@0/pci@2/scsi@0/disk@w3fe263104fdc5002,0:a File and args: SunOS Release 5.11 Version 11.1 64-bit Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved. Hostname: oracle solaris24 console login: Serial console stopped. -> set /HOST/bootmode script="setenv auto-boot? true" (设置为自动启动) Set 'script' to 'setenv auto-boot? true' -> start Are you sure you want to start /System (y/n)? y start: Target already started -> stop Are you sure you want to stop /System (y/n)? y Stopping /System ->消除警告指示灯
set clear_fault_action=true
-> show /SP/faultmgmt /SP/faultmgmt Targets: shell 0 (/SYS/MB) Properties: Commands: cd show -> show /System/Open_Problems Open Problems (1) Date/Time Subsystems Component ------------------------ ------------------ ------------ Wed Sep 14 15:58:28 2016 System MB (Motherboard) A CRC error has occurred in the interconnect between a memory buffer and its memory controller. While no data has been lost, a lane failover has taken place. (Probability:100, UUID:3dfb0d43-67c6-424d-d7e6-bb5807d65ebc, Part Number:7063306, Serial Number:465769T+1392UL7386, Reference Document:http://support.oracle.com/msg/SPSUN4V-8000-GX) -> show /SP/faultmgmt /SP/faultmgmt Targets: shell 0 (/SYS/MB) Properties: Commands: cd show -> -> set /SYS/MB clear_fault_action=true Are you sure you want to clear /SYS/MB (y/n)? y Set 'clear_fault_action' to 'true' -> show /SP/faultmgmt /SP/faultmgmt Targets: shell Properties: Commands: cd show ->故障检测及清除
-> show /SP/faultmgmt ->start /SP/faultmgmt/shell ->fmadm faulty ->fmadm repair [uuid] ->fmadm faulty ->exit
Reference
ILOM3.0http://docs.oracle.com/cd/E19860-01/E21549/index.html
ILOM 3.2
http://docs.oracle.com/cd/E37444_01/
http://docs.oracle.com/cd/E40705_01/html/E40336/index.html
SPARC T5-2
http://www.oracle.com/cn/servers/sparc/t5-2/comparisons/index.html