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

ILO3 perl scripting does not work

SOLVED
Go to Solution
Occasional Contributor

ILO3 perl scripting does not work

We got a new DL380 G7, which comes with ILO3, but perl scripting seems does not work anymore:

----------------------------------------
./locfg -s 192.168.39.40 -f health.xml
HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD, POST, TRACE
Content-Length: 0
Server: Allegro-Software-RomPager/4.62

the health.xml content with username/password hidden is:











Any help ?
10 REPLIES
Trusted Contributor

Re: ILO3 perl scripting does not work

The locfg.pl version 2.27 or earlier present in sample script package 2.40 or earlier does not support iLO3 (G7 servers).

locfg.pl and sample scripts package versions 3.00 is being released very soon and you will be able to download that and use it with for G7 servers.

Will update you on the release in a couple of days.
Occasional Contributor

Re: ILO3 perl scripting does not work

Thanks for notifying there is a new version of scripting soon!

Would you be kind to let us know what kind of change it is, query method is changed, or the xml command is changed?

Will you be able to release the new scripting guide earlier so we can start to look into our application. (we have an application doing same thing as the perl scripting to query ilo )

is the new script compatible with ilo2 ?

Sorry for asking more question.
Trusted Contributor

Re: ILO3 perl scripting does not work

The new scripts will should be available in web in a couple of days. Please wait.

There is a change in the way iLO3 expects the xml inputs with https headers.
Trusted Contributor

Re: ILO3 perl scripting does not work

Occasional Visitor

Re: ILO3 perl scripting does not work

The link towards linux-LOsamplescripts3.00.0-2.tgz  is not working anymore.

Can you be kind and tell me where I can find it:

 

Best regards,

 

S.

HPE Pro

Re: ILO3 perl scripting does not work

Here is the latest version

 

HP Lights-Out XML PERL Scripting Sample for Linux

 

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=18964&prodSeriesId=4154735&prodNameId=4154847&swEnvOID=4006&swLang=13&taskId=135&swItem=MTX-fcd62e4971894807a3a1fde8c0&mode=3




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
Occasional Visitor

Re: ILO3 perl scripting does not work

Hi,

 

Thanks for your help but the following link does not work:

ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p391992567/v67927/linux-LOsamplescripts3.10.0.tgz

 

Where can I find linux-LOsamplescripts3.10.0.tgz?

 

Best regards,

 

S.

Occasional Visitor

Re: ILO3 perl scripting does not work

Nevermind I got it.

Thanks.

Occasional Visitor

Re: ILO3 perl scripting does not work

Yeah it is working BUT

I got the following out on power supplies

 

<POWER_SUPPLIES>
<SUPPLY>
<LABEL VALUE = "Power Supply 1"/>
<STATUS VALUE = "OK"/>
</SUPPLY>
<SUPPLY>
<LABEL VALUE = "Power Supply 2"/>
<STATUS VALUE = "OK"/>
</SUPPLY>
<SUPPLY>
<LABEL VALUE = "Power Supplies"/>
<STATUS VALUE = "Failed"/>
</SUPPLY>
</POWER_SUPPLIES>

 

but as you can see on the picture enclose Power supplies is OK on the web interface.

 

Why do I got 2 different answers?

 

Thanks four your help

Honored Contributor

Re: ILO3 perl scripting does not work

What iLO3 firmware version do you have?  I remember there was an issue with redundant power supplies reporting from XML that got fixed in version 1.26.

 

BTW, version 1.28 is the latest iLO3 firmware version. It is going to hit the web later this month.  Here are the FTP links for the mean time:

 

Online ROM Flash Component for Windows x86
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows-fw-ilo/p901462262/v75203

Online ROM Flash Component for Windows x64
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows-fw-ilo/p1728391553/v75195

Online ROM Flash Component for Linux
ftp://ftp.hp.com/pub/softlib2/software1/sc-linux-fw-ilo/p1255562964/v73832




__________________________________________________
I work for Hewlett Packard

If you feel this was helpful please click the KUDOS! thumb below!