Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

SET_HOST_POWER HOST_POWER="No" not working reliable

Occasional Visitor

SET_HOST_POWER HOST_POWER="No" not working reliable

[ Edited ]

I need to be able to shut down a DL380 G7 in case of a problem. For this I wanted to use the ILO xml scripts. However it seems not to be reliable.

In the ILO log I see that the command was received, sometimes it shuts down right away, sometimes, i see some services go down, and sometimes not much happens. What's the purpose if this command if it is not reliable ? And how should I shut down a server via this interface reliable ? 

1 REPLY
Honored Contributor

Re: SET_HOST_POWER HOST_POWER="No" not working reliable

It depends on the RIBCL command you use.

For details on the commands, download the Scripting and Command Line Guide.

For sample RIBCL scripts, download the Scripting Sample

 

Thie following RIBCL command attempts a momentary virtual power-button press if the host is on.
iLO attempts a graceful OS shutdown if the OS supports ACPI and is configured for it.  The duration that the OS requires to shutdown depends on the OS.
If the host is already off, nothing will happen.

<RIBCL VERSION="2.0">
 <LOGIN USER_LOGIN="adminname" PASSWORD="password">
  <SERVER_INFO MODE="write">
   <SET_HOST_POWER HOST_POWER="Off"/>
  </SERVER_INFO>
 </LOGIN>
</RIBCL>


The following RIBCL command forces the host off by doing a "press-and-hold" virtual power button press.
This will probably not be a graceful OS shutdown, even if the OS supports ACPI and is configured for it.
With "toggle" set to "yes", a system that is off attempts to power-on.
With "toggle" set to "no", a system that is off remains off.

<RIBCL VERSION="2.0">
 <LOGIN USER_LOGIN="adminname" PASSWORD="password">
  <SERVER_INFO MODE="write">
   <HOLD_PWR_BTN TOGGLE="YES"/>
  </SERVER_INFO>
 </LOGIN>
</RIBCL>