Controlling IPMI Remotely

Controlling IPMI remotely using ipmitool. We can also use this steps when by any reason IPMI web UI is not accessible.

 

{ Note: Be careful while using this command. If IPMI web UI is accessible use it to power cycle the servers. DO not use this command for testing purpose on production servers. ]

 

Use this command to send and receive information to a remote server. We need to install ipmi tool on server from which we want to control remote IPMI

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

 

Check if your server is on or off

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

Example:

hari-desktop ~ # ipmitool -H 10.0.1.114 -U ADMIN -a chassis power status

Password:

Chassis Power is on

 

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

 

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

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

 

Get hardware status (including hardware failures and power status)

hari-desktop ~ # ipmitool -H 10.0.1.114 -U ADMIN -a chassis status

Password:

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     : ac-failed

Chassis Intrusion    : inactive

Front-Panel Lockout  : inactive

Advertisements