...
- Get a serial-over-lan console on rcXX: ipmitool -I lanplus -H rcXXipmi -U ADMIN -a sol activate
- Get the power status: ipmitool -I lanplus -H rcXXipmi -U ADMIN chassis status
- Reboot a machine: ipmitool -I lanplus -H rcXXipmi -U ADMIN power reset
- Force PXE boot on the next boot only: ipmitool -I lanplus -H rcXXipmi -U ADMIN chassis booted pxebootdev pxe
(This will cause the machine to reinstall all its software on the next boot) - Reboot the IPMI card: ipmitool -I lanplus -H rcXXipmi -U ADMIN mc reset cold
- Get sensor output: ipmitool -I lanplus -H rcXXipmi -U ADMIN sdr list
- Get the error log: ipmitool -I lanplus -H rcXXipmi -U ADMIN sel elist
...
ipmitool is a bit of a pain to use (lots of arguments, can't specify everything in environment variables or ~/.ipmitool config files, etc, only operates on one machine at a time). That's why I threw together ipmitw (ipmi tool wrap) to simplify things. You can download it here.
All it does is run ipmitool, providing the annoying user/password/protocol args automatically, and executing it once for each host listed. Hosts can be listed in ranges, or comma separated (one contiguous string – no spaces). For example:
...
What's the ipmi password?
Ask Steve Rumble. Or, ask John (it's in ~ouster/ipmiPassword).