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

reset settings on ilo using script but keep license key

 
Highlighted
Occasional Contributor

reset settings on ilo using script but keep license key

Hi All,

Is there a way i can reset all the settings in the ilo but keep the license key or could i read the license key before i reset the ilo and then reapply?

Thanks,

James
11 REPLIES 11
Highlighted
Honored Contributor

Re: reset settings on ilo using script but keep license key

Probably the best way to perform this would be to use the HP online scripting utility, HPONCFG.

You would have to do some scripting to enable it.

The process would be similar to:
1) extract the current license setting
2) reset iLO to defaults
3) wait an appropriate amount of time
4) apply license key

You can find details on the use of HPONCFG:
1) browse to www.hp.com/go/ilo
2) select iLO 2 Advanced
3) Download Software
4) Windows 2003 (or your OS)
5) get HP Lights-Out Online Configuration Utility for Windows Server 2003/2008
6) get HP ProLiant Integrated Lights-Out Management Interface Driver for Windows Server 2003/2008
7) get HP Lights-Out XML Scripting Sample for Windows
8) for good measure, repeat (1) and (2) then
8a) Support and Documents
8b) Manuals
8c) HP Integrated Lights-Out Management Processor Scripting and Command Line Resource Guide
Highlighted
Occasional Contributor

Re: reset settings on ilo using script but keep license key

Thank you for the response, i can do steps two, three, and four but dont know where to get step 1 from, i.e. how do i extract the key, i have looked through hp's samples and the ilo scripting guide but cannot find how to extract the license key?
Highlighted
Frequent Advisor

Re: reset settings on ilo using script but keep license key

Hi,
You can get the License key in iLO GUI.
Login to iLO GUI using browser and then under Administration-> Licensing u can get the license key which is applied currently.


Highlighted
Honored Contributor

Re: reset settings on ilo using script but keep license key

I am sorry - there is not a RIBCL method to extract the current license key. You may have to resort to a manual process for this step.
Highlighted
Honored Contributor

Re: reset settings on ilo using script but keep license key

hi

this a way to get ilo license

https:///xmldata?item=CpqKey

regards
Didn't your momma teach you to say thanks!
Highlighted
Frequent Advisor

Re: reset settings on ilo using script but keep license key

There is also a CLI support by which license can be retrieved.
Login to iLO CLI and try this command "show /map1 license"
Highlighted
Occasional Contributor

Re: reset settings on ilo using script but keep license key

Thanks All,

I think i will write a script that uses the CLI to pass a variable to the Rapid Deployment Server. I am also investigating with HP if we can use one license key for all servers instead of multiple keys.

Thanks again,

regards,

James
Highlighted
Occasional Advisor

Re: reset settings on ilo using script but keep license key

This seems to be a rather big hole in the RIBCL. I was trying to automate the set up of my ILO ports during the OS install and it would have been extremely helpful to extract the ILO license with a script and then reapply it once the ILO port was reset.

Come on HP, let's close this hole!
Highlighted
New Member

Re: reset settings on ilo using script but keep license key

We and I are facing the same problem.

I have a very large number of ILO equipped boxes that I audit and clean up with vbscript. The hponcfg /reset does indeed wipe the installed license.

The add license key XML from the ILO package works correctly, but only when you know the license key. The workaround is using a single key for all broken ILO, and coming back later to fix. Later never comes.

The cpqkey query above does indeed work. Anybody have a simple way to call this from a script and pipe the output?