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

iLO Scripting using PhP

Occasional Contributor

iLO Scripting using PhP

Hello Ladies and Gentlemens,

I' currently working on a project to restart / turn off / turn on a computer remotely.

I was wondering if there is some documentation on how to do it using PhP!?

Thank you in advance for your anwser.
1 REPLY
Honored Contributor

Re: iLO Scripting using PhP

The easiest would be to use SMASH commands over ssh, as in:

ssh -l Administrator [DNS_NAME_OR_IP_ADDRESS] "start /system1"

The other interface you could use would be the RIBCL over HTTPS. There are sample Perl scripts published for that you could steal ideas from for your PhP: http://www.hp.com/go/ilo --> Download Firmware (don't select Sample Scripts because you'll just get the raw XML) --> "HP Lights-Out XML PERL Scripting Sample for Linux"

//Add this to "OnDomLoad" event