Skip Navigation Links
Exit Print View
| Sun Fire X4640 Server Service Manual Sun Fire X4640 Server Documentation Library

Search Scope:

- This Document
- Entire Library

## How to Use IPMItool to Control Power

Note - IPMItool is OS-based. You might need to install it from the Tools & Drivers CD if the OS does not provide it.

You can use IPMItool to control the power remotely. For example, you can perform the following power-related actions:

- Power on the server.

- Shut down the OS gracefully and power off to standby power mode.

- Perform an immediate power off to standby power mode without shutting down the OS gracefully.

- Reboot the server by cycling the power

Note - You can also use IPMItool to run ILOM CLI commands. For more information, see Sun Integrated Lights Out Manager (ILOM) 3.0 SNMP and IPMI Procedures Guide.

1. Log in to a host that has an SNMP tool and the ILOM MIBs installed.

   For example, enter:

   `ssh` username`@`snmp_manager_ipaddress

   where username is the name of a user with administrator privileges and snmp_manager_ipaddress is the IP address of the SNMP Manager.

   For more information about IMPItool, see Sun Integrated Lights Out Manager (ILOM) 3.0 SNMP and IPMI Procedures Guide.

   When you are logged in a prompt appears. For example:

   $

2. To execute a power action, enter one the following commands at the prompt:

   - To power on the server:

     % `ipmitool —H 1.2.3.4 —v —I lanplus —U` username`—P` userpassword `chassis power on`

     where username and userpassword are the user name and password of a user on the remote server with administrator privileges.

   - To gracefully shut down the OS and power off the server to standby power mode:

     % `ipmitool —H 1.2.3.4 —v —I lanplus —U` username`—P` userpassword `chassis power soft`

     where username and userpassword are the user name and password of a user on the remote server with administrator privileges.

   - To perform an immediate power off from full-power mode to standby power mode (not graceful):

     % `ipmitool —H 1.2.3.4 —v —I lanplus —U` username`—P` userpassword `chassis power off`

     where username and userpassword are the user name and password of a user on the remote server with administrator privileges.

   - To reset the server (cycle power on and off):

     % `ipmitool —H 1.2.3.4 —v —I lanplus —U` username`—P` userpassword `chassis power cycle`

     where username and userpassword are the user name and password of a user on the remote server with administrator privileges.

Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |