= Dell iDRAC = == 如何檢查 iDRAC 版本 == * 使用 ipmitool {{{ ~$ sudo ipmitool sdr elist mcloc BMC | 00h | ok | 7.1 | Dynamic MC @ 20h 對照組 ~$ sudo ipmitool sdr elist mcloc iDRAC6 | 00h | ok | 7.1 | Dynamic MC @ 20h }}} == 查詢 System Event Log (SEL) == {{{ ~$ $ sudo ipmitool sel SEL Information Version : 1.5 (v1.5, v2 compliant) Entries : 4 Free Space : 8128 bytes Percent Used : 0% Last Add Time : 10/17/2017 09:03:55 Last Del Time : Not Available Overflow : false Supported Cmds : 'Reserve' }}} {{{ ~$ sudo ipmitool sel list 1 | 08/21/2017 | 15:39:46 | OS Boot | Installation started | Asserted 2 | 08/21/2017 | 15:48:37 | OS Boot | Installation completed | Asserted 3 | 10/17/2017 | 08:42:09 | OS Boot | Installation started | Asserted 4 | 10/17/2017 | 09:03:55 | OS Boot | Installation completed | Asserted }}} == 清除 System Event Log (SEL) == {{{ ~$ sudo ipmitool sel clear Clearing SEL. Please allow a few seconds to erase. }}} == 查詢 iDRAC 網路設定 == {{{ ~$ sudo ipmitool lan print Set in Progress : Set Complete Auth Type Support : NONE MD2 MD5 PASSWORD Auth Type Enable : Callback : MD2 MD5 : User : MD2 MD5 : Operator : MD2 MD5 : Admin : MD2 MD5 : OEM : IP Address Source : Static Address IP Address : 10.10.128.210 Subnet Mask : 255.255.255.0 MAC Address : 90:b1:1c:2b:db:66 SNMP Community String : public IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled Default Gateway IP : 10.10.128.254 Default Gateway MAC : 00:00:00:00:00:00 Backup Gateway IP : 0.0.0.0 Backup Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled 802.1q VLAN Priority : 0 RMCP+ Cipher Suites : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 Cipher Suite Priv Max : Xaaaaaaaaaaaaaa : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM Bad Password Threshold : Not Available }}} == 查詢機殼偵測到的各種事件狀態 == {{{ ~$ sudo ipmitool chassis status System Power : on Power Overload : false Power Interlock : inactive Main Power Fault : false Power Control Fault : false Power Restore Policy : previous Last Power Event : Chassis Intrusion : inactive Front-Panel Lockout : inactive Drive Fault : false Cooling/Fan Fault : false Sleep Button Disable : not allowed Diag Button Disable : allowed Reset Button Disable : not allowed Power Button Disable : allowed Sleep Button Disabled: false Diag Button Disabled : false Reset Button Disabled: false Power Button Disabled: false }}} == 查詢 Management Controller 相關資訊 == {{{ ~$ sudo ipmitool mc info Device ID : 32 Device Revision : 0 Firmware Revision : 2.85 IPMI Version : 2.0 Manufacturer ID : 674 Manufacturer Name : DELL Inc Product ID : 256 (0x0100) Product Name : Unknown (0x100) Device Available : yes Provides Device SDRs : yes Additional Device Support : Sensor Device SDR Repository Device SEL Device FRU Inventory Device IPMB Event Receiver Bridge Chassis Device Aux Firmware Rev Info : 0x00 0x04 0x00 0x00 }}} {{{ ~$ sudo ipmitool mc watchdog get Watchdog Timer Use: Reserved (0x00) Watchdog Timer Is: Stopped Watchdog Timer Actions: No action (0x00) Pre-timeout interval: 1 seconds Timer Expiration Flags: 0x00 Initial Countdown: 15 sec Present Countdown: 15 sec }}} {{{ ~$ sudo ipmitool mc getenables Receive Message Queue Interrupt : disabled Event Message Buffer Full Interrupt : disabled Event Message Buffer : enabled System Event Logging : enabled OEM 0 : disabled OEM 1 : disabled OEM 2 : disabled }}} {{{ ~$ sudo ipmitool mc getsysinfo system_fw_version 1.12.0 ~$ sudo ipmitool mc getsysinfo delloem_url https://10.10.128.210:443 }}} == 查詢 Sensor Data Repository 狀態 == {{{ ~$ sudo ipmitool sdr help usage: sdr [options] list | elist [option] all All SDR Records full Full Sensor Record compact Compact Sensor Record event Event-Only Sensor Record mcloc Management Controller Locator Record fru FRU Locator Record generic Generic Device Locator Record type [option] Retrieve the state of specified sensor. Sensor_Type can be specified either as a string or a hex value. list Get a list of available sensor types get Retrieve state of the first sensor matched by Sensor_ID info Display information about the repository itself entity [.] Display all sensors associated with an entity dump Dump raw SDR data to a file fill