How to reset iLO4 password remotely using Onboard Administrator

Did you forgot password for your iLO4 web page?

You can reset the same using your OA, either using RIBCL script or by connecting to your iLO via OA and then resetting the same

Method 1

Using RIBCL scripts you can reset the password of your iLO web page

In the below script replace “2” with the blade number for which you wish to reset the password
Replace “Administrator” as highlighted to the username for which you wish to reset the password
Replace “password” with the password value for provided user
Once done

Login to your OA via ssh client and paste the entire script on your console

hponcfg 2 << eof
<RIBCL VERSION=”2.0″>
 <LOGIN USER_LOGIN=”adminname” PASSWORD=”password”>
 <USER_INFO MODE=”write”>
 <MOD_USER USER_LOGIN=”Administrator“>
 <PASSWORD value=”password“/>
 </MOD_USER>
 </USER_INFO>
 </LOGIN>
</RIBCL>
eof

Hit Enter to execute the script
You will get output similar to below if the script was executed successfully

Bay 2: Executing RIBCL request …
Bay 2: Awaiting RIBCL results …
Bay 2: RIBCL results retrieved.
<!– ======== START RIBCL RESULTS ======== –>

<!– ======== Bay 2 RIBCL results ======== –>

<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error’
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>
<?xml version=”1.0″?>
<RIBCL VERSION=”2.23″>
<RESPONSE
    STATUS=”0x0000″
    MESSAGE=’No error
     />
</RIBCL>

<!– ======== END RIBCL RESULTS ======== –>

Method 2

Assuming you are not able to execute RIBCL script for some reason then you can try the alternate method
NOTE: This can also be done via GUI method

Login to the OA CLI using any ssh client for eg Putty

BlrSiteA1-01-01> connect server 2

Connecting to bay 2 …
User:OAtmp-HPadmin-5A8FAE82 logged-in to Ban17-test-a.BlrSiteA(10.10.112.101 / FE80::7250:6FFF:FCE0:1526)

iLO 4 Advanced for BladeSystem 2.55 at  Aug 16 2017
Server Name: Ban17-test-a
Server Power: On

</>hpiLO->

Next execute the below command to reset the password of your user. Here replace username and password with your username and password value.

</>hpiLO->set /map1/accounts1/HPadmin password=Passw0rd

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:33:49 2018

Now you can try to login back to your iLO page.

I hope the article was useful.

Leave a Comment

close button