Softpanorama

May the source be with you, but remember the KISS principle ;-)
Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

How do I reset the HP iLO IP address and password

News HP Servers Recommended Links Can not enter iLO3 at bootup ILO3 TCP ports Firmware upgrade
Initial setup Fiasco: some additional information Fiasco: some preliminary recommendations Rebooting the iLO "Remote Console - in use" Problem Serial console
Security

Using virtual CDROM

Using virtual Floppy/USB stick

Using ILO virtual floppy drive for holding YAST autoyast installation file  How do I reset the HP iLO IP address and password  
Sysadmin Horror Stories Administration of Remote Servers Dell DRAC Humor Random Findings Etc

Partially borrowed from  a video Setting up the iLO3 Interface on the HP DL360 G7 Server - YouTube. Highly recommended for watching.

HPís remote access equivalent to Dellís DRAC is Integrated Lights Out (iLO). To setup the iLO:


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Mar 19, 2015] Resetting HP iLO IP address and password

Some interesting ideas...
March 17, 2012 | Sys-Admin Blog

I found myself in the interesting situation where a motherboard had been replaced in an HP Blade BL460 and I then I needed to load the iLO to rebuild the server; however I did not know the IP address of the iLO or the username/password and I could not connect to the iLO via the HP System Management Page...

I did not have a monitor or blade adaptor cable to hand to boot into the iLO BIOS, so I checked the DHCP server for the entry with the longest lease expiration, which should be the newest lease, but there was nothing there which looked like an iLO.

I then found the command to show all iLO IP address from the OA CLI, so I SSH'd onto the OA using PuTTY and ran the following command:

show ebipa

This then goes on to list all the iLO IP address/Subnet Mask, Default Gateway and DNS settings, and the specific iLO on the swapped out motherboard was set statically to 0.0.0.0, so I now knew why I couldn't see the iLO on the DHCP scope.

I then found two different ways to reset the IP address and password - both using the HPONCFG tool installed with the SmartStart CD. If you dont have this installed you can download the ProLiant Support Pack from the HP downloads section, specific to your server and OS. The easiest way is via the GUI, but if you wanted to change multiple iLo usernames/passwords and network configuration, then the command line might be useful.

1) HPONCFG - GUI

To run this tool, logon to the server in question, it does not have to be a console session, just a normal RDP session and run the executable below:

C:\Program Files\HP\hponcfg\hponcfg_gui.exe

You will then see a summary of your iLO.


Click on Network - Standard Network Settings and you will see the below, where you can set the iLO to a static address or DHCP as you prefer.


You can then click on User, where you will see the below. Here you can reset the password of the existing account, or add another one.


Now you will be able to log onto the iLO with your newly set IP and user credentials.r>
2) HPONCFG - Command Line

Again, ensure HPONCFG is installed via the SmartStart CD or the ProLiant support pack. Load a command prompt and navigate to:

C:\Program Files\HP\hponcfg\

To reset the password of the active account (assuming the username is Administrator) create the following XML in the C:\Program Files\HP\hponcfg\ folder:

<ribcl VERSION="2.0">
<login USER_LOGIN="Administrator" PASSWORD="password">
<user_INFO MODE="write">
<mod_USER USER_LOGIN="Administrator">
<password value="NewPassword"/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

NOTE - The second line must be present for the XML to parse, it does not matter what username/password you enter. The blue highlighted line above is where the new password is set.

You would then run the following command to commit the XML to the iLO:

C:\Program Files\HP\hponcfg\hponcfg.exe /f ScriptName.xml

You can also add a user, rather then touching the existing user, using the following XML:

<ribcl version="2.0">
<login USER_LOGIN="Administrator" PASSWORD="password">
<user_INFO MODE="write" >
<add_USER
USER_NAME="NewAdmin1"
USER_LOGIN="NewAdmin1"
PASSWORD="NewPassword">
<reset_SERVER_PRIV value = "Y" />
<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>

Then again, run the below to commit the XML:

C:\Program Files\HP\hponcfg\hponcfg.exe /f ScriptName.xml

NOTE - the permissions of the account are granted using the highlighted lines above.

To set network configuration use the XML below:

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="user" PASSWORD="password">
<RIB_INFO MODE="WRITE" >
<MOD_NETWORK_SETTINGS>
<IP_ADDRESS VALUE = "x.x.x.x"/>
<SUBNET_MASK VALUE = "x.x.x.x"/>
<GATEWAY_IP_ADDRESS VALUE = "x.x.x.x"/>
<PRIM_DNS_SERVER value = "x.x.x.x"/>
<DHCP_ENABLE VALUE = "N"/>
</MOD_NETWORK_SETTINGS>
</RIB_INFO>
</LOGIN>
</RIBCL>

NOTE - The second line must be present for the XML to parse, it does not matter what username/password you enter.

You can also extract the current iLO config to a .xml file, modify and re-upload using the command below:

C:\Program Files\HP\hponcfg>hponcfg /w iLO-Export.xml

More info on the command line can be found below:

HP iLO User Guide

Changing ILO IP address without rebooting server

HP Enterprise Business Community

Changing ILO IP address without rebooting server
.

Post options

....
‎10-20-2004 11:34 PM Is there a way to change the IP address of an ILO without having to use the F8 option at boot up. We have a number of servers that can not be restarted but need the ILo IP address with changed or configured.
The servers are all G2/G3 and use the Integrated Ilos.

Mant Thanks .

Honored Contributor HGN

Honored Contributor

HGN

Posts: 1,083

Registered:
‎01-09-2002

Message 2 of 10
(10,024 Views)

Re: Changing ILO IP address without rebooting server
.

Post options

....
‎10-21-2004 01:15 AM Hi

I'm not aware that there is an option to change it without reboot,if there is an option then when you are connected from the browser to the console to make the changes there are chance you will loose connectivity after the network changes.

I think there is no option, if there is an option please post it here and I would be interested to know.

Rgds

Gopi .
...

Reply

0 ... . Trusted Contributor Michael Williams_6

Trusted Contributor

Michael Williams_6

Posts: 157

Registered:
‎03-28-2004

Message 3 of 10
(10,024 Views)

Re: Changing ILO IP address without rebooting server
.

Post options

....
‎10-21-2004 09:05 PM Yes you can change the IP Address of the iLo when the server is up. Log onto the iLo itself as an administrative user and select administration --> Network.

This will reboot the iLo itself, but the server will be unnaffected.

We have done this procedure here a few times, and is perfectly safe to do so. .
...

Reply

0 ... . David_746

Advisor

David_746

Posts: 23

Registered:
‎09-30-2004

Message 4 of 10
(10,024 Views)

Re: Changing ILO IP address without rebooting server
.

Post options

....
‎10-21-2004 09:31 PM The problem is that the ILo is either on a default Ip range of 10. which is different to the servers or has no IP address so you can not log onto the Ilo through a browser. The system management page will give you a link to the ILo and you can see what IP address it is trying to get to but as it is a different network obviously it fails. .
...

Reply

0 ... . Trusted Contributor Michael Williams_6

Trusted Contributor

Michael Williams_6

Posts: 157

Registered:
‎03-28-2004

Message 5 of 10
(10,024 Views)

Re: Changing ILO IP address without rebooting server
.

Post options

....
‎10-21-2004 09:56 PM The default iLo configuration should us DHCP, but if you've assigned an IP Address, then the simplest thing to do without interrupting the server is to get yourself a laptop, set it up on the correct IP range and plug a crossover cable into the iLo, you'll be able to change it then. .
...

Reply

0 ... . David_746

Advisor

David_746

Posts: 23

Registered:
‎09-30-2004

Message 6 of 10
(10,024 Views)

Re: Changing ILO IP address without rebooting server
.

Post options

....
‎10-21-2004 10:03 PM I was hoping to avoid doing just that as we have quite a few! Thanks anyway.

Recommended Links

Softpanorama hot topic of the month

Softpanorama Recommended