How to reset ILO controller from linux (without loosing config)

If you ever need to reset ILO controller from linux CLI ( without loosing the configs ) you can use the following trick:

Create an xml file (reset.xml) on server containing:

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="admin" PASSWORD="something">
<RIB_INFO MODE="write">
<RESET_RIB/>
</RIB_INFO>
</LOGIN>
</RIBCL>

and then issue the following command:


hponcfg -f reset.xml

You will see a message like this :

root@pveg7:~# hponcfg -f reset.xml
HP Lights-Out Online Configuration utility
Version 4.2.0 Date 6/10/2013 (c) Hewlett-Packard Company, 2013
Firmware Revision = 1.87 Device type = iLO 3 Driver name = hpilo
Integrated Lights-Out will reset at the end of the script.

Please wait while the firmware is reset. This might take a minute
Script succeeded

 

At this point controller should be up again. Hope it helps.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.