How to add new user to ILO via Esxi shell

One on my friend has to perform firmware upgrade on HP Blade Gen 8 but he find out password for ILO not match 🙂

So he decided reset or add new user to Onboard Administrator via Esxi shell.

 

Option 1.  Reset or Configure ILO password via ESXi shell

1. Login into the ESXi shell via putty.

2. Go to the directory /opt/hp/tools/

3. Run the command  ./hponcfg -w ilo.xml (Where ilo.xml is the file where ”-w’ switch write the configuration of ilo)

4. Edit the file using command vi ilo.xml and modify the “password”> section

5. press “i” to insert mode in VI

6. modify the “password”> section

7. press esc and wq! to save the file

8. Run ./hponcfg -f ilo.xml to flush the modified ilo.xml file back to ilo memory

9. Ilo will restart and after some time it’s done.

 

 

 

Option 2.  Add new user  to ILO  via ESXi shell 

1. Login into the ESXi shell via putty.

2. Go to the directory /opt/hp/tools/

3. Run the command  ./hponcfg -w ilo.xml (Where ilo.xml is the file where ”-w’ switch write the configuration of ilo)

4. Edit the file using command vi ilo.xml

5. press “i” to insert mode in VI

6. add below section to the file more info on GitHub

<USER_INFO MODE=”write”>
<ADD_USER
USER_NAME=”test”
USER_LOGIN=”test”
PASSWORD=”test123!!”>
<ADMIN_PRIV value =”Yes”/>
<REMOTE_CONS_PRIV value =”Yes”/>
<RESET_SERVER_PRIV value =”No“/> -important if you want to new user has privileges to restart server you need to change <RESET_SERVER_PRIV value to =”YES/>”
<VIRTUAL_MEDIA_PRIV value =”Yes”/>
<CONFIG_ILO_PRIV value=”Yes”/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>

7. press esc and wq! to save the file

8. Run the below command to flush the modified ilo.xml file back to ilo memory.

./hponcfg -f ilo.xml

9. Ilo will restart and after some time it’s done.

10. After login you can check Local Users rights.

 

 

 

Please  Subscribe

 

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *