ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

ilo4 configuration dump

 
Torxb
Occasional Advisor

ilo4 configuration dump

I am looking at how to export a manually configured ilo4 parameters.  The goal is to push that config out (after programmatic tweaking for each unique server) to all systems as a common config.

 

I have used hpqlocfg.exe in the past, but I cannot find a sample or cmd to export EVERYTHING.  Any suggestions on how to do this?

 

Also it would be nice to use the RestAPI to do this whole process (Export and import).  However I could not find the data in any type when connected to the ilo.  Can the RestAPI even do this?

3 REPLIES
Jimmy Vance
HPE Pro

Re: ilo4 configuration dump

Grab the latest version of HP Lights-Out XML PERL Scripting Sample for Linux or Wndows. 

 

 

Windows

http://h20564.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_7bf967345d9741e09d01d66345

 

Linux

http://h20564.www2.hp.com/hpsc/swd/public/detail?swItemId=MTX_c36aaa95d08940afb5670612cd

 

 




__________________________________________________
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!   
Torxb
Occasional Advisor

Re: ilo4 configuration dump

I went through all of the script examples previously and did not find a dump all command for the HPQLOCFG.exe.  However according to the scripting guide using PHONGFG has this capability.

hponcfg /w config.xml

I ended up spending the day combining all the GET functions into one script.  Come to find out that does not return everything properly.Running the cmdsseparately returned more data.  so i ended up running all them separately and then combining the SET commands that i wanted to be configured into one script.

 

Oddly enough after i I was done I found this website by accident that explained some of what i was attempting.  Only if i found it 5 hours sooner.

http://virtirl.com/?p=186

Jimmy Vance
HPE Pro

Re: ilo4 configuration dump

There is a file in the example called hponcfgcap.xml 

 

<!-- Description: This is a sample script to get the current -->
<!-- iLO Configuration which includes Global Settings, -->
<!-- Network Settings, User Information and Directory settings. -->
<!-- If it is used with hponcfg, then the output can be -->
<!-- later used along with hponcfg_reformat.xsl to restore the -->
<!-- iLO Configuration -->
<!-- See the description of hponcfg_reformat.xsl for more -->
<!-- details.




__________________________________________________
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!