ProLiant Servers (ML,DL,SL)
1748160 Members
4036 Online
108758 Solutions
New Discussion

iLO4 Rest api or remote command line access?

 
SOLVED
Go to solution
cyberaishu
Occasional Advisor

iLO4 Rest api or remote command line access?

Hello,

Im using  a Proliant DL380e Gen8 server. I'm looking to query the iLO console using REST Api. I keep getting a 400 error.

Url used = https://ip addr of ilo4 web console/rest/v1/Systems

Im on a redhat linux 6.5 box. How can I get the correct JSON response?

Also is there a command line scripting tool that I can use to query iLO4 console remotely? The hponcfg ulitity requires me to be on the local machine.

Thanks,

 

5 REPLIES 5
Jimmy Vance
HPE Pro

Re: iLO4 Rest api or remote command line access?

Check here for REST information, clikc on Red Fish
www.hpe.com/info/ilo

Executible and a PERL script to send XML connds to iLO remotely

HP Lights-Out XML Scripting Sample for Windows
http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_639f4ed81caa4fb498a61bbe87
HP Lights-Out XML Scripting Sample for Linux
http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_3b1bbec7612f48408922ca1ecd



 

 

No support by private messages. Please ask the forum! 
cyberaishu
Occasional Advisor

Re: iLO4 Rest api or remote command line access?

Thank you!

I'm looking at the Perl script now. Do you know if REST api is supported for Proliant Gen8 servers as well?

The REST tool link you sent me says its supported for Gen9 servers only.

cyberaishu
Occasional Advisor

Re: iLO4 Rest api or remote command line access?

Also I found HPQLOCFG http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d7e7146b56324eb0879f0a98e2#tab3

Unfortunately, I'm not seeing an executable for linux. Is there an equivalent for Redhat?

Jimmy Vance
HPE Pro

Re: iLO4 Rest api or remote command line access?

That I'm not sure about, but I think at this time it only supports Gen9

No support by private messages. Please ask the forum! 
Jimmy Vance
HPE Pro
Solution

Re: iLO4 Rest api or remote command line access?

The executibles are only for Windows, the PERL script is what is provided for Linux (or Windows if you install PERL)

No support by private messages. Please ask the forum!