Some of the appliances should have a ipmitool
to do IPMI related functions.
For example, to find out the IPMI IP address use ipmitool lan print
.
Examples below tested on Venice 2u.
Available commands:
# ipmitool No command provided! Commands: raw Send a RAW IPMI request and print response i2c Send an I2C Master Write-Read command and print response spd Print SPD info from remote I2C device lan Configure LAN Channels chassis Get chassis status and set power state power Shortcut to chassis power commands event Send pre-defined events to MC mc Management Controller status and global enables sdr Print Sensor Data Repository entries and readings sensor Print detailed sensor information fru Print built-in FRU and scan SDR for FRU locators gendev Read/Write Device associated with Generic Device locators sdr sel Print System Event Log (SEL) pef Configure Platform Event Filtering (PEF) sol Configure and connect IPMIv2.0 Serial-over-LAN tsol Configure and connect with Tyan IPMIv1.5 Serial-over-LAN isol Configure IPMIv1.5 Serial-over-LAN user Configure Management Controller users channel Configure Management Controller channels session Print session information sunoem OEM Commands for Sun servers kontronoem OEM Commands for Kontron devices picmg Run a PICMG/ATCA extended cmd fwum Update IPMC using Kontron OEM Firmware Update Manager firewall Configure Firmware Firewall delloem OEM Commands for Dell systems shell Launch interactive IPMI shell exec Run list of commands from file set Set runtime variable for shell and exec hpm Update HPM components using PICMG HPM.1 file ekanalyzer run FRU-Ekeying analyzer using FRU files
IPMI LAN settings:
# ipmitool lan print Set in Progress : Set Complete Auth Type Support : NONE MD2 MD5 PASSWORD OEM Auth Type Enable : Callback : NONE MD2 MD5 PASSWORD OEM : User : NONE MD2 MD5 PASSWORD OEM : Operator : NONE MD2 MD5 PASSWORD OEM : Admin : NONE MD2 MD5 PASSWORD OEM : OEM : IP Address Source : DHCP Address IP Address : 192.168.100.104 Subnet Mask : 255.255.254.0 MAC Address : 00:15:b2:a4:08:64 SNMP Community String : AMI IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled Gratituous ARP Intrvl : 0.0 seconds Default Gateway IP : 192.168.100.1 Default Gateway MAC : c0:a8:64:01: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 Cipher Suite Priv Max : caaaXXaaaXXaaXX : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM
Set IPMI port to use DHCP:
# ipmitool lan set 1 ipsrc dhcp
Set IPMI to a static IP address:
# ipmitool lan set 1 ipsrc static # ipmitool lan set 1 ipaddr 192.168.100.85 Setting LAN IP Address to 192.168.100.85 # ipmitool lan set 1 netmask 255.255.254.0 Setting LAN Subnet Mask to 255.255.254.0
Read the sensors:
PSU NOTES:
Good PSU = 0x0180.
Bad PSU = 0x0380 or 0x0b80 or ....?
PSU1 is the right one as viewed from the rear.
PSU2 is the left one as viewed from the rear.
# ipmitool sensor FAN1A | 8800.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN1B | 6400.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN2A | 8400.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN2B | 6200.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN3A | 8600.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN3B | 6400.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN4A | 8700.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN4B | 6300.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN5A | 8600.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN5B | 6200.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN6A | 8500.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na FAN6B | 6200.000 | RPM | ok | 1000.000 | 2000.000 | na | na | na | na CPU0 | 40.000 | degrees C | ok | na | na | na | na | 90.000 | 95.000 CPU1 | 45.000 | degrees C | ok | na | na | na | na | 90.000 | 95.000 VRD0 | 19.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 VRD1 | 43.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 InletM | 28.000 | degrees C | ok | na | na | na | na | 40.000 | 50.000 LAN | 50.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 PCH | 39.000 | degrees C | ok | na | na | na | na | 87.000 | 97.000 MEM_T1 | 47.000 | degrees C | ok | na | na | na | na | 87.000 | 97.000 AddinCard1 | 23.000 | degrees C | ok | na | na | na | na | na | na RAM_00 | 28.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_01 | 0.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_02 | 30.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_03 | 0.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_04 | 26.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_05 | 27.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_10 | 34.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_11 | 35.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_12 | 32.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_13 | 0.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_14 | 34.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 RAM_15 | 0.000 | degrees C | ok | na | na | na | na | 90.000 | 100.000 VBAT | 3.180 | Volts | ok | 2.000 | 2.600 | 2.700 | na | na | na 3VSB | 3.200 | Volts | ok | na | 3.080 | na | na | 3.480 | na 3VMAIN | 3.320 | Volts | ok | na | 3.080 | na | na | 3.480 | na +5V | 0.000 | Volts | cr | na | 4.704 | na | na | 5.312 | na Watt | 0.000 | Watts | ok | na | na | na | na | na | na PSU1_Status | 0x0 | discrete | 0x0180| na | na | na | na | na | na PSU2_Status | 0x0 | discrete | 0x0180| na | na | na | na | na | na
0 Comments