はじめに
SoftLayerでRedundant Power Supplyを購入したので、これが確かに二つ存在しているかどうかの確認をしたいというのが目的です。間違っているかもしれないので、指摘いただければ幸いです。
ipmitoolの確認
Bare Metal Serverにはipmitoolが既に導入されていたので、これを使って確認します。
# which ipmitool
/usr/bin/ipmitool
# ipmitool -V
ipmitool version 1.8.14
Power SupplyタイプのSDR(Sensor Data Record)出力
下記のとおり2つ出力されるので、2電源存在すると思っています。
# ipmitool sdr type "Power Supply"
PS1 Status | C8h | ok | 10.1 | Presence detected
PS2 Status | C9h | ok | 10.2 | Presence detected
# ipmitool sdr elist | grep -i PS
PS1 Status | C8h | ok | 10.1 | Presence detected
PS2 Status | C9h | ok | 10.2 | Presence detected
# ipmitool sensor list | grep PS
PS1 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
PS2 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
http://www.intel.co.jp/content/www/jp/ja/servers/ipmi/platform-event-trap.html
によると
Sensor Type | Sensor Type Code | Sensor-Specific Offset | Event |
---|---|---|---|
Power Supply | 08h | 00h | Presence Detected |
〃 | 〃 | 01h | Power Supply Failure Detected |
〃 | 〃 | 02h | Predictive Failure Asserted |
らしい。なので、Presence detectedであれば問題ないんじゃないかと思っています。
(参考):SDR(センサーデータレコード)の種類
# ipmitool sdr type list
Sensor Types:
Temperature (0x01) Voltage (0x02)
Current (0x03) Fan (0x04)
Physical Security (0x05) Platform Security (0x06)
Processor (0x07) Power Supply (0x08)
Power Unit (0x09) Cooling Device (0x0a)
Other (0x0b) Memory (0x0c)
Drive Slot / Bay (0x0d) POST Memory Resize (0x0e)
System Firmwares (0x0f) Event Logging Disabled (0x10)
Watchdog1 (0x11) System Event (0x12)
Critical Interrupt (0x13) Button (0x14)
Module / Board (0x15) Microcontroller (0x16)
Add-in Card (0x17) Chassis (0x18)
Chip Set (0x19) Other FRU (0x1a)
Cable / Interconnect (0x1b) Terminator (0x1c)
System Boot Initiated (0x1d) Boot Error (0x1e)
OS Boot (0x1f) OS Critical Stop (0x20)
Slot / Connector (0x21) System ACPI Power State (0x22)
Watchdog2 (0x23) Platform Alert (0x24)
Entity Presence (0x25) Monitor ASIC (0x26)
LAN (0x27) Management Subsys Health (0x28)
Battery (0x29) Session Audit (0x2a)
Version Change (0x2b) FRU State (0x2c)