Sun Microsystems V40z, V20Z manual Files, Result returned is

Models: V20Z V40z

1 254
Download 254 pages 44.85 Kb
Page 59
Image 59

Remote Management Control Protocol is a request-response protocol delivered using UDP datagrams to port 623. IPMI-over-LAN uses version 1 of the RMCP to support management both before installing the OS on the server, or if the server will not have an OS installed.

The LAN interface is an authenticated, multi-session connection; messages delivered to the BMC can (and should) be authenticated with a challenge/response protocol with either a straight password/key or an MD5 message-digest algorithm. IPMItool attempts to connect with administrator privilege level as this is required to perform chassis power functions.

With the -Ioption, you can direct IPMItool to use the LAN interface:

#ipmitool -I lan [option...] address password

To use the LAN interface with IPMItool, you must provide a host name on the command line.

The password field is optional; if you do not provide a password on the command line, IPMItool attempts to connect without authentication. If you specify a password, it uses MD5 authentication, if supported by the BMC; otherwise, it will use straight password/key.

Files

The file /dev/ipmi0 is a character-device file used by the OpenIPMI kernel driver.

Examples

If you want to remotely control the power of an IPMI-over-LAN-enabled server, you can use the following commands:

#ipmitool -I lan -H spipaddr -P sppasswd chassis power on

The result returned is:

Chassis Power Control: Up/On

#ipmitool -I lan -H spipaddr -P sppasswd chassis power status

The result returned is:

Chassis Power is on

Chapter 2 IPMI Server Management 37

Page 59
Image 59
Sun Microsystems V40z, V20Z manual Files, Result returned is