Home > Windows Server > Recovering HP ILO Credentials

Recovering HP ILO Credentials

Scenario: If we are unable to log in to the server ILO because we have forgotten the ILO credentials, here are some ways to reset ILO credentials without rebooting the server.  Provided server is in up and running state.

 1.       GUI Mode:

Go to C:\Program Files\HP\hponcfg double click on hponcfg_gui.exe and following windows will pop up. From there we can add/modify/delete the ILO accounts.

 

 2.       Via XML file:

In Some server ‘hponcfg_gui.exe’ will not be present and even after copying it from another server it won’t  work if respective server does not has .NET Frame work 2.0. So there are other ways to modify the ILO information.

1) Go to C:\Program Files\HP\hponcfg and create a file named “resetilopwd.xml” on the server and open it with notepad. Paste and customize the following code and save it in the directory where the utility (hponcfg.exe ) is installed (most likely C:\Program Files\HP\hponcfg\hponcfg.exe):

 <RIBCL VERSION=”2.1″>

<LOGIN USER_LOGIN=”Enter ID” PASSWORD=”Enter Password”>

<USER_INFO MODE=”write”>

<MOD_USER USER_LOGIN= “Enter ID “>

<PASSWORD value= “Enter Password “/>

</MOD_USER>

</USER_INFO>

</LOGIN>

</RIBCL>

2) Once we have modified the code as per the requirement, execute the following command:

cmd-> C:\Program Files\HP\hponcfg \hponcfg.exe /f resetilopwd.xml

3) Now try to log to ILO with the credential mentioned in the XML file. It should be working.

3.       Other ways:

In some cases above mentioned method will also not work. So there is another way to do it.

1) Go to C:\Program Files\HP\hponcfg

cmd-> C:\Program Files\HP\hponcfg \hponcfg.exe /w ilo_ip.xml

2) Now open up w ilo_ip.xml and update

<ADD_USER

    USER_NAME = “Enter ID”

    USER_LOGIN = “Enter ID”

    PASSWORD = “Enter Password”>

    <ADMIN_PRIV value = “Y”/>

    <REMOTE_CONS_PRIV value = “Y”/>

    <RESET_SERVER_PRIV value = “Y”/>

    <VIRTUAL_MEDIA_PRIV value = “Y”/>

    <CONFIG_ILO_PRIV value = “Y”/>

  </ADD_USER>

  </USER_INFO>

  </LOGIN>

  </RIBCL>

3) Save the file and run following command:

cmd-> C:\Program Files\HP\hponcfg \hponcfg.exe /f ilo_ip.xml

4) Now try to log to ILO with the credential mentioned in the XML file. It should be working.

 

=> If we don’t want to play with the existing ID and password, here is a way to add another user with administrator privileges. We can then login as that user and change the Administrator password via web console.

1) Go to C:\Program Files\HP\hponcfg and create a file named “new_user.xml” on the server and open it with notepad. Paste and customize the following code and save it in the directory where the utility (hponcfg.exe ) is installed (most likely C:\Program Files\HP\hponcfg\hponcfg.exe):

<ribcl version="2.0">
<login USER_LOGIN="Administrator" PASSWORD="Password"> *\ it’sa random enter. We can put anything. Not required to be a valid credentials.\*
 <user_INFO MODE="write" >
 <add_USER
 USER_NAME="New User"
 USER_LOGIN="New User"
 PASSWORD="mynewpassword">
 <reset_SERVER_PRIV   value = "Y" />
 <admin_PRIV   value = "Y" />
 </add_USER>
 </user_INFO>
 </login>
 </ribcl>

2) Now run the following command:

 cmd-> C:\Program Files\HP\hponcfg \hponcfg.exe /f new_user.xml

3) Now log in to the ILO with new user credentials.

About these ads
Categories: Windows Server
  1. No comments yet.
  1. No trackbacks yet.

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: