Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

iLO Scripting using PhP

Jean-Francois Gélinas
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
David Claypool
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"