在解决服务器问题的时候,通常会需要获取服务器某些硬件的信息,例如BIOS版本、BMC固件版本、CPU内存型号等等,下面分享一下获取硬件信息的方法。
[root@bogon ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
Stepping: 7
CPU MHz: 1537.792
CPU max MHz: 2400.0000
CPU min MHz: 1200.0000
BogoMIPS: 4799.93
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 10240K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
Socket(s) | CPU个数 |
Model name | CPU型号 |
Architecture | CPU架构 |
Core(s) per socket | 每颗CPU核心数量 |
Thread(s) per core | 每个核心的线程数量 |
Stepping | Stepping号 |
CPU MHz | CPU实时频率 |
CPU max MHz | CPU最大频率 |
Virtualization | 虚拟化支持 |
或者
[root@bogon ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
stepping : 7
microcode : 0x710
cpu MHz : 1343.408
cache size : 10240 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bogomips : 4799.93
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
stepping : 7
microcode : 0x710
cpu MHz : 1336.523
cache size : 10240 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bogomips : 4799.93
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
stepping : 7
microcode : 0x710
cpu MHz : 1352.343
cache size : 10240 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bogomips : 4799.93
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
stepping : 7
microcode : 0x710
cpu MHz : 1365.087
cache size : 10240 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bogomips : 4799.93
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
CPU数量:
[root@bogon ~]# cat /proc/cpuinfo | grep "physical id" | uniq | wc -l
1
[root@bogon ~]#
CPU核心总数量:
[root@bogon ~]# cat /proc/cpuinfo | grep "core id" | wc -l
4
[root@bogon ~]#
processor | CPU核心号 |
model name | CPU型号 |
microcode | CPU微码代号 |
stepping | Stepping号 |
cpu MHz | CPU实时频率 |
physical id | CPUsocket号 |
内存型号和数量
[root@bogon ~]# dmidecode -t memory|grep "Part Number"
Part Number: M393B2G70BH0-CK0
Part Number: Dimm1_PartNum
Part Number: Dimm2_PartNum
Part Number: Dimm3_PartNum
Part Number: Dimm4_PartNum
Part Number: Dimm5_PartNum
Part Number: Dimm6_PartNum
Part Number: Dimm7_PartNum
Part Number: 25X/Q Series
[root@bogon ~]#
内存总大小
[root@bogon ~]# dmidecode -t memory|grep "Size"
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: 8 MB
[root@bogon ~]#
[root@bogon ~]# dmidecode -t system
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Supermicro
Product Name: X9SRH-7F/7TF
Version: 0123456789
Serial Number: 0123456789
UUID: 00000000-0000-0000-0000-002590EFEEC0
Wake-up Type: Power Switch
SKU Number: To be filled by O.E.M.
Family: To be filled by O.E.M.
Handle 0x0028, DMI type 12, 5 bytes
System Configuration Options
Option 1: To Be Filled By O.E.M.
Handle 0x0041, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
[root@bogon ~]#
主板信息:
[root@bogon ~]# dmidecode -t baseboard
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Supermicro
Product Name: X9SRH-7F/7TF
Version: 0123456789
Serial Number: VM145S011890
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
机箱信息:
[root@bogon ~]# dmidecode -t chassis
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: Supermicro
Type: Desktop
Lock: Not Present
Version: 0123456789
Serial Number: 0123456789
Asset Tag: To Be Filled By O.E.M.
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: To be filled by O.E.M.
BIOS信息:
[root@bogon ~]# dmidecode -t bios
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 3.00
Release Date: 07/05/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 4096 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 2.0
Handle 0x009D, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1
[root@bogon ~]#
BMC信息:
[root@bogon 64bit]# ./ipmicfg -summary
Summary
-------------------------------------------
IP Address : 192.168.1.51
BMC MAC Address : 0C:C4:7A:1A:62:B8
Firmware Revision : 3.29
Firmware Build Time : 06/23/2014
System LAN1 MAC Address: 00:25:90:EF:EE:C0
System LAN2 MAC Address: 00:25:90:EF:EE:C1
PCIe卡信息:
[root@bogon ~]# lspci -tvnn
-+-[0000:ff]-+-08.0 Intel Corporation Xeon E5/Core i7 QPI Link 0 [8086:3c80]
| +-08.3 Intel Corporation Xeon E5/Core i7 QPI Link Reut 0 [8086:3c83]
| +-08.4 Intel Corporation Xeon E5/Core i7 QPI Link Reut 0 [8086:3c84]
| +-09.0 Intel Corporation Xeon E5/Core i7 QPI Link 1 [8086:3c90]
| +-09.3 Intel Corporation Xeon E5/Core i7 QPI Link Reut 1 [8086:3c93]
| +-09.4 Intel Corporation Xeon E5/Core i7 QPI Link Reut 1 [8086:3c94]
| +-0a.0 Intel Corporation Xeon E5/Core i7 Power Control Unit 0 [8086:3cc0]
| +-0a.1 Intel Corporation Xeon E5/Core i7 Power Control Unit 1 [8086:3cc1]
| +-0a.2 Intel Corporation Xeon E5/Core i7 Power Control Unit 2 [8086:3cc2]
| +-0a.3 Intel Corporation Xeon E5/Core i7 Power Control Unit 3 [8086:3cd0]
| +-0b.0 Intel Corporation Xeon E5/Core i7 Interrupt Control Registers [8086:3ce0]
| +-0b.3 Intel Corporation Xeon E5/Core i7 Semaphore and Scratchpad Configuration Registers [8086:3ce3]
| +-0c.0 Intel Corporation Xeon E5/Core i7 Unicast Register 0 [8086:3ce8]
| +-0c.1 Intel Corporation Xeon E5/Core i7 Unicast Register 0 [8086:3ce8]
| +-0c.6 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 0 [8086:3cf4]
| +-0c.7 Intel Corporation Xeon E5/Core i7 System Address Decoder [8086:3cf6]
| +-0d.0 Intel Corporation Xeon E5/Core i7 Unicast Register 0 [8086:3ce8]
| +-0d.1 Intel Corporation Xeon E5/Core i7 Unicast Register 0 [8086:3ce8]
| +-0d.6 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 1 [8086:3cf5]
| +-0e.0 Intel Corporation Xeon E5/Core i7 Processor Home Agent [8086:3ca0]
| +-0e.1 Intel Corporation Xeon E5/Core i7 Processor Home Agent Performance Monitoring [8086:3c46]
| +-0f.0 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Registers [8086:3ca8]
| +-0f.1 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller RAS Registers [8086:3c71]
| +-0f.2 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 0 [8086:3caa]
| +-0f.3 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 1 [8086:3cab]
| +-0f.4 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 2 [8086:3cac]
| +-0f.5 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 3 [8086:3cad]
| +-0f.6 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 4 [8086:3cae]
| +-10.0 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 0 [8086:3cb0]
| +-10.1 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 1 [8086:3cb1]
| +-10.2 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 0 [8086:3cb2]
| +-10.3 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 1 [8086:3cb3]
| +-10.4 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 2 [8086:3cb4]
| +-10.5 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 3 [8086:3cb5]
| +-10.6 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 2 [8086:3cb6]
| +-10.7 Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 3 [8086:3cb7]
| +-11.0 Intel Corporation Xeon E5/Core i7 DDRIO [8086:3cb8]
| +-13.0 Intel Corporation Xeon E5/Core i7 R2PCIe [8086:3ce4]
| +-13.1 Intel Corporation Xeon E5/Core i7 Ring to PCI Express Performance Monitor [8086:3c43]
| +-13.4 Intel Corporation Xeon E5/Core i7 QuickPath Interconnect Agent Ring Registers [8086:3ce6]
| +-13.5 Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 0 Performance Monitor [8086:3c44]
| \-13.6 Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 1 Performance Monitor [8086:3c45]
\-[0000:00]-+-00.0 Intel Corporation Xeon E5/Core i7 DMI2 [8086:3c00]
+-01.0-[01-02]--+-00.0 Intel Corporation I350 Gigabit Network Connection [8086:1521]
| \-00.1 Intel Corporation I350 Gigabit Network Connection [8086:1521]
+-02.0-[03]--
+-03.0-[04]----00.0 LSI Logic / Symbios Logic SAS2308 PCI-Express Fusion-MPT SAS-2 [1000:0086]
+-03.2-[05]--
+-04.0 Intel Corporation Xeon E5/Core i7 DMA Channel 0 [8086:3c20]
+-04.1 Intel Corporation Xeon E5/Core i7 DMA Channel 1 [8086:3c21]
+-04.2 Intel Corporation Xeon E5/Core i7 DMA Channel 2 [8086:3c22]
+-04.3 Intel Corporation Xeon E5/Core i7 DMA Channel 3 [8086:3c23]
+-04.4 Intel Corporation Xeon E5/Core i7 DMA Channel 4 [8086:3c24]
+-04.5 Intel Corporation Xeon E5/Core i7 DMA Channel 5 [8086:3c25]
+-04.6 Intel Corporation Xeon E5/Core i7 DMA Channel 6 [8086:3c26]
+-04.7 Intel Corporation Xeon E5/Core i7 DMA Channel 7 [8086:3c27]
+-05.0 Intel Corporation Xeon E5/Core i7 Address Map, VTd_Misc, System Management [8086:3c28]
+-05.2 Intel Corporation Xeon E5/Core i7 Control Status and Global Errors [8086:3c2a]
+-05.4 Intel Corporation Xeon E5/Core i7 I/O APIC [8086:3c2c]
+-11.0-[06]--
+-16.0 Intel Corporation C600/X79 series chipset MEI Controller #1 [8086:1d3a]
+-16.1 Intel Corporation C600/X79 series chipset MEI Controller #2 [8086:1d3b]
+-1a.0 Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 [8086:1d2d]
+-1d.0 Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1 [8086:1d26]
+-1e.0-[07]----04.0 Matrox Electronics Systems Ltd. MGA G200eW WPCM450 [102b:0532]
+-1f.0 Intel Corporation C600/X79 series chipset LPC Controller [8086:1d41]
+-1f.2 Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller [8086:1d02]
+-1f.3 Intel Corporation C600/X79 series chipset SMBus Host Controller [8086:1d22]
\-1f.6 Intel Corporation C600/X79 series chipset Thermal Management Controller [8086:1d24]
[root@bogon ~]#
日志文件位置:
[root@bogon ~]# ls /var/log/messages
/var/log/messages
[root@bogon ~]#
[root@bogon ~]# ls /var/log/dmesg
/var/log/dmesg
[root@bogon ~]#
[root@bogon ~]# ls /var/log/mcelog
bmc网络信息:
[root@bogon ~]# ipmitool lan print
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM : MD2 MD5 PASSWORD
IP Address Source : DHCP Address
IP Address : 192.168.1.51
Subnet Mask : 255.255.255.0
MAC Address : 0c:c4:7a:1a:62:b8
SNMP Community String : public
IP Header : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP : 192.168.1.1
Default Gateway MAC : 78:44:fd:7e:dc:b7
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 : 1,2,3,6,7,8,11,12
Cipher Suite Priv Max : aaaaXXaaaXXaaXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
[root@bogon ~]#
或者
[root@bogon 64bit]# ./ipmicfg -m
IP=192.168.1.51
MAC=0C:C4:7A:1A:62:B8
IPMI传感器信息:
[root@bogon ~]# ipmitool sensor
CPU Temp | 31.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 83.000 | 86.000 | 88.000
System Temp | 27.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
Peripheral Temp | 31.000 | degrees C | ok | -9.000 | -7.000 | -5.000 | 80.000 | 85.000 | 90.000
PCH Temp | 43.000 | degrees C | ok | -11.000 | -8.000 | -5.000 | 90.000 | 95.000 | 100.000
P1-DIMMA1 TEMP | 28.000 | degrees C | ok | 1.000 | 2.000 | 4.000 | 80.000 | 85.000 | 90.000
P1-DIMMA2 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMB1 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMB2 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMC1 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMC2 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMD1 TEMP | na | | na | na | na | na | na | na | na
P1-DIMMD2 TEMP | na | | na | na | na | na | na | na | na
FAN 1 | 2700.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN 2 | 2700.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN 3 | na | | na | na | na | na | na | na | na
FAN 4 | 2775.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
FAN A | 2850.000 | RPM | ok | 300.000 | 450.000 | 600.000 | 18975.000 | 19050.000 | 19125.000
Vcore | 0.736 | Volts | ok | 0.480 | 0.512 | 0.544 | 1.488 | 1.520 | 1.552
3.3VCC | 3.408 | Volts | ok | 2.816 | 2.880 | 2.944 | 3.584 | 3.648 | 3.712
12V | 12.349 | Volts | ok | 10.494 | 10.600 | 10.706 | 13.091 | 13.197 | 13.303
VDIMM | 1.496 | Volts | ok | 1.152 | 1.216 | 1.280 | 1.760 | 1.776 | 1.792
5VCC | 5.056 | Volts | ok | 4.096 | 4.320 | 4.576 | 5.344 | 5.600 | 5.632
CPU VTT | 1.056 | Volts | ok | 0.872 | 0.896 | 0.920 | 1.344 | 1.368 | 1.392
VBAT | 3.248 | Volts | ok | 2.816 | 2.880 | 2.944 | 3.584 | 3.648 | 3.712
VSB | 3.392 | Volts | ok | 2.816 | 2.880 | 2.944 | 3.584 | 3.648 | 3.712
AVCC | 3.408 | Volts | ok | 2.816 | 2.880 | 2.944 | 3.584 | 3.648 | 3.712
Chassis Intru | 0x1 | discrete | 0x0100| na | na | na | na | na | na
PS1 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
PS2 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
[root@bogon ~]#
ipmi日志事件:
[root@bogon ~]# ipmitool sel list
1 | 08/13/2018 | 01:06:53 | Unknown #0xff | | Asserted
2 | 08/13/2018 | 01:08:54 | Physical Security #0xaa | General Chassis intrusion () | Asserted
3 | 08/15/2018 | 23:45:32 | Unknown #0xff | | Asserted
4 | 08/15/2018 | 23:46:40 | Physical Security #0xaa | General Chassis intrusion () | Asserted
5 | 08/17/2018 | 00:35:15 | Unknown #0xff | | Asserted
6 | 08/17/2018 | 00:36:19 | Physical Security #0xaa | General Chassis intrusion () | Asserted
7 | 08/17/2018 | 01:10:50 | Unknown #0xff | | Asserted
8 | 08/17/2018 | 01:11:53 | Physical Security #0xaa | General Chassis intrusion () | Asserted
9 | 08/17/2018 | 02:15:32 | Unknown #0xff | | Asserted
a | 08/17/2018 | 02:16:34 | Physical Security #0xaa | General Chassis intrusion () | Asserted
b | 08/21/2018 | 00:18:51 | Unknown #0xff | | Asserted
c | 08/21/2018 | 00:19:56 | Physical Security #0xaa | General Chassis intrusion () | Asserted
d | 08/22/2018 | 00:13:36 | Unknown #0xff | | Asserted
e | 08/22/2018 | 00:14:42 | Physical Security #0xaa | General Chassis intrusion () | Asserted
f | 08/25/2018 | 09:18:37 | Unknown #0xff | | Asserted
10 | 08/25/2018 | 09:19:47 | Physical Security #0xaa | General Chassis intrusion () | Asserted
11 | 08/27/2018 | 02:39:30 | Power Supply #0xc8 | Failure detected () | Asserted
12 | 08/27/2018 | 02:39:39 | Power Supply #0xc8 | Failure detected () | Deasserted
13 | 08/30/2018 | 02:39:26 | Unknown #0xff | | Asserted
14 | 08/30/2018 | 02:40:39 | Physical Security #0xaa | General Chassis intrusion () | Asserted
15 | 09/06/2018 | 09:21:57 | Unknown #0xff | | Asserted
16 | 09/06/2018 | 09:23:01 | Physical Security #0xaa | General Chassis intrusion () | Asserted
17 | 09/06/2018 | 09:33:45 | Unknown #0xff | | Asserted
18 | 09/06/2018 | 09:34:57 | Physical Security #0xaa | General Chassis intrusion () | Asserted
[root@bogon ~]#
或者
[root@bogon 64bit]# ./ipmicfg -sel list
1 | 2018/08/13 01:06:53 | OEM
| Assertion:AC Power On
2 | 2018/08/13 01:08:54 | Chassis Intru
| Assertion:General Chassis intrusion
3 | 2018/08/15 23:45:32 | OEM
| Assertion:AC Power On
4 | 2018/08/15 23:46:40 | Chassis Intru
| Assertion:General Chassis intrusion
5 | 2018/08/17 00:35:15 | OEM
| Assertion:AC Power On
6 | 2018/08/17 00:36:19 | Chassis Intru
| Assertion:General Chassis intrusion
7 | 2018/08/17 01:10:50 | OEM
| Assertion:AC Power On
8 | 2018/08/17 01:11:53 | Chassis Intru
| Assertion:General Chassis intrusion
9 | 2018/08/17 02:15:32 | OEM
| Assertion:AC Power On
10 | 2018/08/17 02:16:34 | Chassis Intru
| Assertion:General Chassis intrusion
11 | 2018/08/21 00:18:51 | OEM
| Assertion:AC Power On
12 | 2018/08/21 00:19:56 | Chassis Intru
| Assertion:General Chassis intrusion
13 | 2018/08/22 00:13:36 | OEM
| Assertion:AC Power On
14 | 2018/08/22 00:14:42 | Chassis Intru
| Assertion:General Chassis intrusion
15 | 2018/08/25 09:18:37 | OEM
| Assertion:AC Power On
16 | 2018/08/25 09:19:47 | Chassis Intru
| Assertion:General Chassis intrusion
17 | 2018/08/27 02:39:30 | PS1 Status
| Assertion:Failure detected
18 | 2018/08/27 02:39:39 | PS1 Status
| Deassertion:Failure detected
19 | 2018/08/30 02:39:26 | OEM
| Assertion:AC Power On
20 | 2018/08/30 02:40:39 | Chassis Intru
| Assertion:General Chassis intrusion
21 | 2018/09/06 09:21:57 | OEM
| Assertion:AC Power On
22 | 2018/09/06 09:23:01 | Chassis Intru
| Assertion:General Chassis intrusion
23 | 2018/09/06 09:33:45 | OEM
| Assertion:AC Power On
24 | 2018/09/06 09:34:57 | Chassis Intru
| Assertion:General Chassis intrusion
[root@bogon 64bit]#
FRU硬件信息:
[root@bogon ~]# ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Chassis Type : Other
Chassis Part Number : CSE-418GTS-R4000BP
Chassis Serial : C4180AG19NA0460
Board Mfg Date : Sun Dec 31 17:00:00 1995
Board Mfg : Supermicro
Board Serial : VM174S015669
Board Part Number : X10DRG-O+-CPU
Product Manufacturer : Supermicro
Product Part Number : SYS-4028GR-TR2
Product Serial : A240227X7509996
[root@bogon ~]#
远程开关机:
[root@bogon ~]# ipmitool chassis
Chassis Commands: status, power, identify, policy, restart_cause, poh, bootdev, bootparam, selftest
[root@bogon ~]# 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
[root@bogon ~]#
重置BMC:
[root@bogon 64bit]# ./ipmicfg -fd
修改BMC ADMIN用户密码:
[root@bogon 64bit]# ./ipmicfg -user list
Maximum number of Users : 10
Count of currently enabled Users : 2
User ID | User Name | Privilege Level | Enable
------- | ----------- | --------------- | ------
2 | ADMIN | Administrator | Yes
[root@bogon 64bit]#
[root@bogon 64bit]# ./ipmicfg -user setpwd 2 ADMIN
Done.
[root@bogon 64bit]#
[root@bogon ~]# uname -a
Linux bogon 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@bogon ~]#
[root@bogon ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@bogon ~]#
[root@bogon ~]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
[root@bogon ~]#