IPMI commands

From GigaTux Wiki
Revision as of 17:27, 29 November 2010 by Cocodude (talk | contribs) (Created page with '==IPMITool== To use any of these commands, you will need to download [http://ipmitool.sourceforge.net/ IPMITool]. Alternately, it may be possible to perform the equivalent of th...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IPMITool

To use any of these commands, you will need to download IPMITool. Alternately, it may be possible to perform the equivalent of these commands using the IPMI web interface on a server, if present.

Overall server health

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD chassis status

Kick off any serial console users

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD sol deactivate

Display serial console

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD sol activate

Perform power functions, including resetting

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD power [status | on | off | cycle (1 second power off interval) | reset (hard reset) | soft (overheat signal sent via ACPI)]

Get all sensor readings

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD sensor list

(N.B. for the CPU temperature, 0x0000=low, 0x0100=medium, 0x0200=high, 0x400=overheat, 0x0700=uninstall):

Do things to the IMPI controller itself

 ipmitool -I lanplus -H <IPADDRESS> -U ADMIN -P PASSWORD bmc [ info | reset warm | reset cold ]