How to Pull console information from server

Couple of times I got trapped in situation in which we are not having ILO information handy with us. We can pull the ILO information from server.

IPMI helps us the manage the Intelligent Platform Management Interface functions of either local
system or of remote system using IPMI v1.5 or v1.2

We can print FRU, LAN configuration, sensor reading, and remote chassis power control information. It is available in most of servers running Linux and Solaris.

Issued these commands on X4270M2 machine.

How to get IP address of ILO ?

[root@Node1 /]# ipmitool -I bmc lan print | grep -w “IP Address”
IP Address Source : Static Address
IP Address : 10.192.168.12

How to check the status of chassis ?

[root@Node1 /]# ipmitool -I bmc chassis status
System Power : on
Power Overload : false
Power Interlock : inactive
Main Power Fault : false
Power Control Fault : false
Power Restore Policy : always-off
Last Power Event :
Chassis Intrusion : inactive
Front-Panel Lockout : inactive
Drive Fault : false
Cooling/Fan Fault : false

How to show the sensor information ?

[root@Node1 /]# ipmitool -I bmc sdr list
PWRBS | 0 unspecified | nc
ACPI | 0 unspecified | nc
P0/PRSNT | 0x02 | ok
P1/PRSNT | 0x02 | ok
P0/D0/PRSNT | 0x01 | ok
P0/D1/PRSNT | 0x02 | ok
P0/D2/PRSNT | 0x02 | ok

Output truncated.

How to check Available sensor types ?

[root@Node1 /]# ipmitool -I bmc sdr type list
Sensor Types:
Temperature Voltage
Current Fan
Physical Security Platform Security
Processor Power Supply
Power Unit Cooling Device
Other Memory

How to check the temperature?

[root@Node1 /]# ipmitool -I bmc sdr type Temperature
T_OUT0 | 47h | ok | 7.0 | 27 degrees C
T_OUT1 | 48h | ok | 7.0 | 31 degrees C
T_OUT2 | 49h | ok | 7.0 | 33 degrees C
T_AMB | A5h | ok | 23.0 | 22 degrees C

How to check the Fan status ?

[root@Node1 /]# ipmitool -I bmc sdr type Fan
FB/FM0/F0/TACH | AAh | ok | 29.10 | 3300 RPM
FB/FM0/F1/TACH | ABh | ok | 29.11 | 2500 RPM
FB/FM1/F0/TACH | ACh | ok | 29.12 | 3200 RPM
FB/FM1/F1/TACH | ADh | ok | 29.13 | 2500 RPM
FB/FM2/F0/TACH | AEh | ok | 29.14 | 2900 RPM
FB/FM2/F1/TACH | AFh | ok | 29.15 | 2500 RPM
FB/FM3/F0/TACH | BEh | ok | 29.16 | 5300 RPM
FB/FM3/F1/TACH | BFh | ok | 29.17 | 4500 RPM
FB/FM4/F0/TACH | C0h | ok | 29.18 | 5200 RPM
FB/FM4/F1/TACH | C1h | ok | 29.19 | 4500 RPM
FB/FM5/F0/TACH | C2h | ok | 29.20 | 5200 RPM
FB/FM5/F1/TACH | C3h | ok | 29.21 | 4300 RPM

How to check the FRU unit on server ?

[root@Node1 /]# ipmitool -I bmc fru print
FRU Device Description : Builtin FRU Device (ID 0)
Product Manufacturer : Oracle Corporation
Product Name : ILOM INTEGRATED SP

FRU Device Description : /SYS (ID 3)
Board Mfg Date : Sun Dec 31 18:00:00 1995
Board Product : ASSY,MOTHERBOARD,X4170/X4270,M2

How to check the FW version of ILO ?

[root@Node1 /]# ipmitool -I bmc mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 3.0
IPMI Version : 2.0

How to check the logs ?

[root@Node1 /]# ipmitool -I bmc sel list | more
1 | 03/17/2011 | 18:26:10 | System Boot Initiated | System Restart | Asserted
2 | 03/17/2011 | 18:26:11 | System Boot Initiated | Initiated by warm reset | Asserted
3 | 03/17/2011 | 18:26:11 | System Firmware Progress | Memory initialization | Asserted
4 | 03/17/2011 | 18:26:11 | System Firmware Progress | Primary CPU initialization | Asserted
5 | 03/17/2011 | 18:26:59 | System Firmware Progress | Management controller initialization | Asserted
6 | 03/17/2011 | 18:26:59 | System Firmware Progress | Secondary CPU Initialization | Assert

Getting the same information for HP ILO FW server from Console ?

ipmitool was not available on server hence used below command to check the status of ILO firmware.

[root@Node2~]# hponcfg -g
Firmware Revision = 1.70 Device type = iLO 3 Driver name = hpilo
Host Information:
Server Name: node2
Server Number:

If we want to get the information for Dell HW we can use “racadm” command. I left to you guys to explore it.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s