Difference between revisions of "Ipmitool"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 7: Line 7:
 
  ipmitool [option] <command>
 
  ipmitool [option] <command>
  
For a full list of commands and options see the ipmitool Man page.  
+
For a full list of commands and options see the ipmitool [http://ipmitool.sourceforge.net/manpage.html ipmitool Man page].
 +
 
 +
== Usage ==
 +
 
 +
=== Options ===
 +
 
 +
These are the options that will most likely be needed to work with IPMI. Further details are in the manual.
 +
 
 +
;-a : Prompts for the ipmi password.
 +
 
 +
;-H <address> : Address of the remote server. This can be either a hostname or IP address, but because the IPMI cards on our network use internal addressing and therefore do not have host names you will need to use the appropriate IP address.
 +
 
 +
;-U <username> : IPMI username. In most cases it should be ADMIN.
 +
 
 +
=== IPMI Commands ===
 +
 
 +
 
  
  
Line 17: Line 33:
  
 
The chassis command also has the ability to change the server's power status.
 
The chassis command also has the ability to change the server's power status.
 
[http://ipmitool.sourceforge.net/manpage.html ipmitool Man page]
 

Revision as of 10:01, 15 September 2009

ipmitool is a Linux command line utility for controlling ipmi interfaces.

Using ipmitool

The basic syntax for ipmitool is:

ipmitool [option] <command>

For a full list of commands and options see the ipmitool ipmitool Man page.

Usage

Options

These are the options that will most likely be needed to work with IPMI. Further details are in the manual.

-a
Prompts for the ipmi password.
-H <address>
Address of the remote server. This can be either a hostname or IP address, but because the IPMI cards on our network use internal addressing and therefore do not have host names you will need to use the appropriate IP address.
-U <username>
IPMI username. In most cases it should be ADMIN.

IPMI Commands

Sample Commands

To check the power status of Taro you would use this command:

ipmitool -U ADMIN -H 10.0.0.147 -a chassis power status

The chassis command also has the ability to change the server's power status.