Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories


Installing and using the IPMI tool

Ástþór IPÁstþór IP

The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation.

The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation.

1. Install the ipmitool which is used to send commands and receive information from the management interface.

apt-get install ipmitool

2. Use this command to send and receive information to a remote server

ipmitool -H {ip_address} -U {username} -a {ipmi_command}

You can also skip the “-a” parameter (which makes ipmitool prompt for a password everytime) and add “-P {password}” to avoid the password prompt.

Here are some examples of useful commands

Get hardware status (including hardware failures and power status)

ipmitool -H {ip_address} -U {username} -a chassis status

List all sensor values (including temperature, fan speed, voltage and more)

ipmitool -H {ip_address} -U {username} -a sensor list

Print system event log

ipmitool -H {ip_address} -U {username} -a sel list

Check if your server is on or off

ipmitool -H {ip_address} -U {username} -a chassis power status

Power off the server (soft shutdown via ACPI)

ipmitool -H {ip_address} -U {username} -a chassis power soft

Power off the server (hard)

ipmitool -H {ip_address} -U {username} -a chassis power off

Start the server

ipmitool -H {ip_address} -U {username} -a chassis power on

Restart server (hard)

ipmitool -H {ip_address} -U {username} -a chassis power reset

Comments 2
  • George
    Posted on

    George George

    Author

    Why to use ipim instead of ssh?


  • Flimm
    Posted on

    Flimm Flimm

    Author

    @George: It’s independent of the installed operating, and will work even when the system is powered off or crashed with a kernel panic.