Server Management - Remote Server Management
1751873 Members
5175 Online
108782 Solutions
New Discussion юеВ

Re: Why does this ILO script not work?

 
Mike Niccum
Occasional Advisor

Why does this ILO script not work?

When running the script below I get the following error. I changed the username,password, and IP.

Remote Insight

Request Error


HTTP/1.1 405 Method Not Allowed


Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
Set oXMLDOM = CreateObject("MSXML2.DOMDocument")
sXML = """ PASSWORD="""">"
oXMLDOM.LoadXML sXML
oXMLHTTP.Open "POST", "https://",False,"",""
oXMLHTTP.setOption 2, 13056 'bypass cert errors
oXMLHTTP.send oXMLDOM.XML
WScript.echo oXMLHTTP.responsetext
8 REPLIES 8
acartes
Honored Contributor

Re: Why does this ILO script not work?

I am unsure where you are getting the script error. Are you using CPQLOCFG.EXE v2.25 from here?
http://h18004.www1.hp.com/support/files/lights-out/us/download/23909.html

It is also possible that the user account does not have Virtual Power and Reset privilege.
Mike Niccum
Occasional Advisor

Re: Why does this ILO script not work?

I am only using VBS not the EXE. I am using the MSXML2.DOMDocument object to load the XML file and the MSXML2.ServerXMLHTTP object to send the MXL file to the server the same way the sample perl scripts do it.

Thanks,

Mike

P.S. I am not interested in using the EXE because the script will ultimately do alot more using WMI and Active Directory (ADSI)
Mike Niccum
Occasional Advisor

Re: Why does this ILO script not work?

The perl script examples I am speaking of are included in this doc:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00294268/c00294268.pdf

Thanks,

Mike Niccum

P.S. It kinda makes me mad that the HP Integrated Lights-Out Management Processor
Scripting and Command Line Resource Guide only includes perl script examples. HELLO!!!!
Jon Greaves
New Member

Re: Why does this ILO script not work?

Any progress with this as i just found the article after trying to get this to work all day :(

JonG
Mike Niccum
Occasional Advisor

Re: Why does this ILO script not work?

I have yet to get this to work. I am not using any exe.

Mike Niccum
Mike Niccum
Occasional Advisor

Re: Why does this ILO script not work?

I have yet to get this to work. I am not using any exe. This runs under VBS using MSXML

Mike Niccum
JasonF
Advisor

Re: Why does this ILO script not work?

Anybody find any answers to this? It would great if I could interact with the ILO via VBScript as my currently WMI based inventory management is all VBS. I need to be able to pull rack info for my c-class blades
acartes
Honored Contributor

Re: Why does this ILO script not work?

Try this:
Send the XML header , then flush the socket, then send the rest.