Posted by: mahkokwei | December 23, 2008

Reset HP iLO2 password

I have 2 HP DL servers where I’ve lost its password. This is really troublesome when supporting the serve remotely. I’ve asked a few colleagues of mine, they replied to perform reinstallation for the iLO2. OHH MAN… that’s is along process…..

Last week, I found something that finally solves my problem, to change the password or add a user into iLO2, using Remote Insight Board Command Language.

here’s the solution:

log in your server using administrator account (I’m using a Domain Admin).

My server already got installed the following:

- install SNMP, prerequisite for HP Insight Management Agents

-  install HP Insight Management Agents.

- download and extract HP Lights-Out Online configuration Utility to C:\hp\ilo

- downloaded HP Lights-Out XML Scripting Sample for Windows.

the xml script we are going to use (can be found in the downloaded XML Scripting Sample) is “Administrator_reset_pw.xml”

<ribcl VERSION=”2.0″>
  <login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>  
    <user_INFO MODE=”write”>
    <mod_USER USER_LOGIN=”Administrator”>
    <password value=”newpass”/>
    </mod_USER>
    </user_INFO>
  </login>
</ribcl>

open it using notepad, and modify <mod_USER USER_LOGIN=”Administrator”> where “Administrator” is your account’s username,                              <password value=”newpass”/> where “newpass” is your desired password.

Next, using cmd, browse to C:\hp\ilo, run command as below:

HPONCFG.exe /f Administrator_reset_pw.xml /l log.txt > output.txt

See the result at log.txt and output.txt. In my case, I’m succeed!!

So how about adding a user? same, find “add user.xml”, modify the appropriate value and you are good to go!

Actually HPONCFG.EXE can do more things that these. I downloaded a copy of pdf version iLO scripting and command line guide. Enjoy!

About these ads

Responses

  1. Excellent – worked well once I verified the XML had the right punctuation in place.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: