Purpose:
The guide helps the administrator remotely monitor and maintain x86 platforms which BMC chips.
Target Audience:
1. Advantech ICVG FWA/SKY servers with BMC firmware
2. Linux users
Instructions:
1.1 Install ipmitool
The utility is not built-in Linux, manual installation is needed. Here take CentOS for instance, you can refer another FAQ for more instruction.
[root@localhost ~]# yum -y install ipmitool
...
Installed:
ipmitool.x86_64 0:1.8.18-7.el7
Dependency Installed:
OpenIPMI-modalias.x86_64 0:2.0.23-2.el7
Complete!
After installation, check IPMI modules loaded and running.
[root@localhost ~]# lsmod | grep -i ipmi
ipmi_ssif 29487 0
ipmi_si 59571 0
ipmi_devintf 17603 0
ipmi_msghandler 56032 3 ipmi_ssif,ipmi_devintf,ipmi_si
1.2 Read FRU
Advantech has written unique FRU information in each server and peripheral, include servers, NMC, PSU info..., separated by channel ID. By following command, it display information at every available FRU channel.
[root@localhost ~]# ipmitool fru print
FRU Device Description : Builtin FRU Device (ID 0)
Chassis Type : Main Server Chassis
Chassis Part Number : FWA-3050
Chassis Serial : AKA1234567
Board Mfg Date : Mon Jan 1 00:00:00 1996
Board Mfg : Advantech
Board Product : NAMB-3050
Board Serial : AKA1234567
Board Part Number : 96923050000
Product Manufacturer : Advantech
Product Name : FWA-3050
Product Part Number : FWA30508CA1R-ES
Product Version : A1 01
Product Serial : AKA1234567
FRU Device Description : NMC_BRD-FRU (ID 1)
Board Mfg Date : Mon Jan 1 00:00:00 1996
Board Mfg : Advantech
Board Product : NMC-0806-08CBS
Board Serial : AKAG327427
FRU Device Description : PSU1-FRU (ID 2)
Product Manufacturer : DELTA
Product Name : DPS-300AB-102 A
Product Part Number :
Product Version : 00F
Product Serial : JFXD1846000156
Product Extra : 00
FRU Device Description : PSU2-FRU (ID 3)
Product Manufacturer : DELTA
Product Name : DPS-300AB-102 A
Product Part Number :
Product Version : 00F
Product Serial : JFXD1843000084
Product Extra : 00
Add "-v" to get information in detail.
# ipmitool fru print -v
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
FRU Device Description : Builtin FRU Device (ID 0)
Retrying FRU read with request size 25
Chassis Type : Rack Mount Chassis
Chassis Part Number : FWA-3050
Chassis Serial : KSE0170699
Board Mfg Date : Mon Jan 1 00:00:00 1996
Board Mfg : Advantech
Board Product : NAMB-3050
Board Serial : KSE0170699
Board Part Number : 96923050061
Board FRU ID : fwa3050_fru_standard_0.02.xml
Product Manufacturer : Advantech
Product Name : FWA-3050
Product Part Number : FWA-3050_16A1R
Product Version : A102-1
Product Serial : KSE0170699
Product Asset Tag : CSM4700BRA
Product FRU ID : fwa3050_fru_standard_0.02.xml
OEM (Advantech) Record
FRU Device Description : PSU1-FRU (ID 2)
Retrying FRU read with request size 25
Product Manufacturer : DELTA
Product Name : DPS-300AB-102 A
Product Part Number :
Product Version : 00F
Product Serial : JFXD1852000266
Product Extra : 00
Power Supply Record
Capacity : 300 W
Peak VA : 354 VA
Inrush Current : 55 A
Inrush Interval : 5 ms
Input Voltage Range 1 : 90-140 V
Input Voltage Range 2 : 180-264 V
Input Frequency Range : 50-60 Hz
A/C Dropout Tolerance : 10 ms
Flags : 'Predictive fail' 'Power factor correction' 'Autoswitch voltage' 'Hot swap' 'Two pulses per rotation'
Peak capacity : 354 W
Peak capacity holdup : 10 s
Combined capacity : not specified
Fan lower threshold : 13 RPS
DC Output Record
Output Number : 1
Standby power : No
Nominal voltage : 12.00 V
Max negative deviation : 11.40 V
Max positive deviation : 12.60 V
Ripple and noise pk-pk : 120 mV
Minimum current draw : 0.000 A
Maximum current draw : 24.000 A
DC Output Record
Output Number : 2
Standby power : Yes
Nominal voltage : 12.00 V
Max negative deviation : 11.40 V
Max positive deviation : 12.60 V
Ripple and noise pk-pk : 120 mV
Minimum current draw : 0.000 A
Maximum current draw : 1.500 A
1.3 Read SEL
SEL (System Event Log), it logs most system event, such as temperature, power, time...alerts.
[root@localhost ~]# ipmitool sel elist
1 | Pre-Init |0000000011| Unknown INTEGRITY | | Asserted
2 | Pre-Init |0000000012| Power Supply #0x09 | Presence detected | Asserted
3 | Pre-Init |0000000012| Power Supply #0x09 | Failure detected | Asserted
4 | Pre-Init |0000000014| System Boot Initiated SYSTEM_RESET | Initiated by power up | Asserted
...
Add "-v" to get information in detail.
# ipmitool sel elist -v
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
SEL Record ID : 0001
Record Type : 02
Timestamp : 10/26/2020 05:59:33
Generator ID : 0020
EvM Revision : 04
Sensor Type : System ACPI Power State
Sensor Number : 04
Event Type : Sensor-specific Discrete
Event Direction : Assertion Event
Event Data : 05ffff
Description : S5/G2: soft-off
SEL Record ID : 0002
Record Type : 02
Timestamp : 10/26/2020 05:59:35
Generator ID : 0020
EvM Revision : 04
Sensor Type : Unknown
Sensor Number : 0d
Event Type : OEM
Event Direction : Assertion Event
Event Data : a0032d
Description :
SEL Record ID : 0003
Record Type : 02
Timestamp : 10/26/2020 05:59:49
Generator ID : 0020
EvM Revision : 04
Sensor Type : System ACPI Power State
Sensor Number : 04
Event Type : Sensor-specific Discrete
Event Direction : Assertion Event
Event Data : 00ffff
Description : S0/G0: working
1.4 Read Sensors
Sensor values include power, temperature, FAN speed, BMC status.
[root@localhost ~]# ipmitool sensor
BMC_HEALTH | 0x0 | discrete | 0x0000| na | na | na | na | na | na
VERSION_CHANGE | 0x0 | discrete | 0x0000| na | na | na | na | na | na
BMC_WATCHDOG | 0x0 | discrete | 0x0000| na | na | na | na | na | na
SYSTEM_RESET | 0x0 | discrete | 0x8000| na | na | na | na | na | na
FW_PROGRESS | 0x0 | discrete | 0x0109| na | na | na | na | na | na
INTEGRITY | 0x0 | discrete | 0x0000| na | na | na | na | na | na
PSU1 | 0x0 | discrete | 0x0100| na | na | na | na | na | na
PSU2 | 0x0 | discrete | 0x0100| na | na | na | na | na | na
PSU-WATT | 150.000 | Watts | ok | na | na | na | na | na | na
PAY_12-VOL | 12.090 | Volts | ok | na | 11.470 | na | na | 12.524 | na
PAY_5_0-VOL | 5.045 | Volts | ok | na | 4.694 | na | na | 5.271 | na
PAY_5_0_SB-VOL | 5.045 | Volts | ok | na | 4.694 | na | na | 5.271 | na
LOM_5_0-VOL | 5.076 | Volts | ok | na | 4.724 | na | na | 5.288 | na
PAY_3_3-VOL | 3.374 | Volts | ok | na | 3.109 | na | na | 3.519 | na
PAY_3_3_SB-VOL | 3.326 | Volts | ok | na | 3.109 | na | na | 3.519 | na
LOM_3_3-VOL | 3.381 | Volts | ok | na | 3.116 | na | na | 3.469 | na
BAT_3_0-VOL | 3.061 | Volts | ok | na | 2.000 | na | na | 3.470 | na
LOM_1_5-VOL | 1.558 | Volts | ok | na | 1.343 | na | na | 1.891 | na
LOM_1_26-VOL | 1.264 | Volts | ok | na | 1.196 | na | na | 1.323 | na
PCH_1_05-VOL | 1.048 | Volts | ok | na | 1.024 | na | na | 1.072 | na
CPU_VCORE-VOL | 1.792 | Volts | ok | na | 1.600 | na | na | 1.952 | na
SYS0-TMP | 36.000 | degrees C | ok | na | na | na | 65.000 | 75.000 | na
SYS1-TMP | 31.000 | degrees C | ok | na | na | na | 55.000 | 65.000 | na
SYS2-TMP | 49.000 | degrees C | ok | na | na | na | 55.000 | 65.000 | na
CPU-TMP | 45.000 | degrees C | ok | na | na | na | 90.000 | 105.000 | na
FAN1-RPM | 6900.000 | RPM | ok | na | 1200.000 | na | na | na | na
FAN2-RPM | 6900.000 | RPM | ok | na | 1200.000 | na | na | na | na
FAN3-RPM | 7100.000 | RPM | ok | na | 1200.000 | na | na | na | na
FAN4-RPM | 6500.000 | RPM | ok | na | 1200.000 | na | na | na | na
1.5 Check sensor status.
# ipmitool sdr list
BMC_HEALTH | 0x00 | ok
VERSION_CHANGE | 0x00 | ok
BMC_WATCHDOG | 0x00 | ok
ACPI_STATE | 0x00 | ok
PROC_STATE | 0x00 | ok
SYSTEM_RESET | 0x00 | ok
FW_PROGRESS | 0x00 | ok
CASE_INTRUSION | 0x00 | ok
PCIE_CR_INT | 0x00 | ok
INTEGRITY | 0x00 | ok
BIOS_POST | 0x00 | ok
BOARD-POWER | 90 Watts | ok
PAY_12-VOL | 11.81 Volts | ok
PAY_5_0-VOL | 5.14 Volts | ok
PAY_5_0_SB-VOL | 5.10 Volts | ok
PAY_3_3-VOL | 3.33 Volts | ok
PAY_3_3_SB-VOL | 3.33 Volts | ok
BAT_3_0-VOL | 3.11 Volts | ok
PCH_1_8_SB-VOL | 1.81 Volts | ok
CPU_VCCIN-VOL | 1.78 Volts | ok
PVDDQ_ABC-VOL | 1.23 Volts | ok
PVDDQ_DEF-VOL | 1.22 Volts | ok
BMC_1_15_SB-VOL | 1.16 Volts | ok
PCH_1_05_SB-VOL | 1.07 Volts | ok
CPU_VCCIO-VOL | 1.02 Volts | ok
PCH_VNN_SB-VOL | 1.02 Volts | ok
CPU_VCCSA-VOL | 0.90 Volts | ok
INLET-TMP | 37 degrees C | ok
OUTLET-TMP | 52 degrees C | ok
CPU-TMP | 57 degrees C | ok
HWM-TMP | 39 degrees C | ok
PCH-TMP | 61 degrees C | ok
CPU-DIMMA_1-TMP | 39 degrees C | ok
CPU-DIMMB_1-TMP | 37 degrees C | ok
CPU-DIMMD_1-TMP | 41 degrees C | ok
CPU-DIMME_1-TMP | 41 degrees C | ok
FAN1-SPEED | 7200 RPM | ok
FAN2-SPEED | 7300 RPM | ok
FAN3-SPEED | 7200 RPM | ok
FAN4-SPEED | 7200 RPM | ok
PSU1 | 0x00 | ok
PSU1_INTAKE-TMP | 35 degrees C | ok
PSU1_HOTSPOT-TMP | 52 degrees C | ok
PSU1_IN-VOL | 116 Volts | ok
PSU1_OUT-VOL | 12.10 Volts | ok
PSU1_IN-CUR | 1 Amps | ok
PSU1_OUT-CUR | 8 Amps | ok
PSU1_IN-POWER | 110 Watts | ok
PSU1_OUT-POWER | 90 Watts | ok
PSU1_FAN-SPEED | 3450 RPM | ok
PSU2 | 0x00 | ok
Add "-v" to get information in detail.
# ipmitool sdr list -v
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
Sensor ID : BMC_HEALTH (0x1)
Entity ID : 7.0 (System Board)
Sensor Type (Discrete): Management Subsys Health (0x28)
Sensor Reading : 0h
Event Message Control : Per-threshold
Assertions Enabled : Management Subsys Health
[Sensor failure]
Deassertions Enabled : Management Subsys Health
[Sensor failure]
OEM : 0
Sensor ID : VERSION_CHANGE (0x2)
Entity ID : 7.0 (System Board)
Sensor Type (Discrete): Version Change (0x2b)
Sensor Reading : 0h
Event Message Control : Per-threshold
Assertions Enabled : Version Change
Deassertions Enabled : Version Change
OEM : 0
1.6 Read BMC network settings
BMC requires at least one IP address for remotely controlling, this command can display BMC LAN settings. For more instruction on setting it, refer the FAQ below.
[root@localhost ~]# ipmitool lan print
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 192.168.1.1
Subnet Mask : 255.255.255.0
MAC Address : 00:d0:c9:b3:01:4b
SNMP Community String :
Default Gateway IP : 0.0.0.0
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,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : XaaaaaaaaaaaXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
1.7 Read BMC information
It lists BMC firmware version and supported IPMI version and others.
[root@localhost ~]# ipmitool mc info
Device ID : 121
Device Revision : 1
Firmware Revision : 1.04
IPMI Version : 2.0
Manufacturer ID : 10297
Manufacturer Name : Advantech
Product ID : 12896 (0x3260)
Product Name : FWA-3260
Device Available : yes
Provides Device SDRs : yes
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
IPMB Event Generator
Aux Firmware Rev Info :
0x00
0x00
0x00
0x00
1.8 Read BMC time
SEL records were based on BMC time, BMC would sync RTC while every boot. But note, BMC uses UTC as default.
[root@localhost ~]# ipmitool sel time get
04/03/2019 05:45:58
1.9 Read system firmware
It would show system running (Active) firmware version and Backup versions.
[root@localhost ~]# ipmitool hpm check
PICMG HPM.1 Upgrade Agent 1.0.9:
-------Target Information-------
Device Id : 0x79
Device Revision : 0x81
Product Id : 0x3260
Manufacturer Id : 0x2839 (Advantech)
--------------------------------------------------------------------------
|ID | Name | Versions |
| | | Active | Backup | Deferred |
--------------------------------------------------------------------------
| 0|3260 BL | 1.00 00000000 | ---.-- -------- | ---.-- -------- |
| 1|3260 BMC | 1.04 00000000 | 1.14 00000000 | ---.-- -------- |
|* 2|3260 BIOS | 1.20 00000000 | 1.20 00000000 | ---.-- -------- |
|* 3|3260 NVRAM | 6.00 00000000 | ---.-- -------- | ---.-- -------- |
--------------------------------------------------------------------------
(*) Component requires Payload Cold Reset
Comments
0 comments
Please sign in to leave a comment.