How do I retrieve an iLO key from server?
I lost my own iLO 4 advanced license key, but you still have it on the server. I uploaded key into another server and it was accepted. The advanced license key could be used for 5 servers.
On Windows 10 I downloaded and installed “HP Lights-Out Configuration Utility” from the source [1].
I used cmd.exe and typed in iLO 4 server IP address add credentials and provide a path of script location, for instance:
cd C:\Program Files (x86)\Hewlett Packard Enterprise\HP Lights-Out Configuration Utility
start .
It will open directory where you need to create a XML file with this code below, use text editor and save as XML format, for instance “key.xml”
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="Password123">
<RIB_INFO MODE="read">
<GET_ALL_LICENSES/>
</RIB_INFO>
</LOGIN>
</RIBCL>
Changed credentials within variables: USER_LOGIN and PASSWORD
Back to command line app and type, please note that need to change IP address.
HPQLOCFG.exe -f key.xml -s 192.168.0.10
You will find the iLO 4 advanced license key in an output which is also is in XML format.
If you’re interested more in iLO scripting there is a full [2]
Reference
#1 https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_8abe539b67bf46978e8f84acb8
#2 https://support.hpe.com/hpsc/doc/public/display?docId=c03334058