BladeSystem - General
1825596 Members
3134 Online
109682 Solutions
New Discussion

Reset Blade Server iLo to defaults

 
sdf2sjk
Occasional Advisor

Reset Blade Server iLo to defaults

 Is there a way to force a reset of a blade servers iLo to factory defaults?  For whatever reason I have had issues with the 465g7's.  Every time I change them to static then change the IP, I have to reboot before I can gain access from the OA.  On this one, I changed the IP and thought I added the user but it's not working.  Can't get to the server at all.  Would like to force a reset to factory defaults from the OA using putty if possible. 

21 REPLIES 21
siukalo
Advisor

Re: Reset Blade Server iLo to defaults

Hi

 

You can only reset the ilo in the BIOS screen using the F8 key. The once in the menu select to reset to defaults. DIP switches on the MB does not do it.

 

Alan

Best Regards

Alan
Jimmy Vance
HPE Pro

Re: Reset Blade Server iLo to defaults

A reboot of the server will have no effect on iLO settings or status.

 

 

To answer your question, iLO can be reset to factory defaults by sending the following RIBCL commands using the hponcfg command in the OA.

 

<RIBCL VERSION="2.0">
  <LOGIN USER_LOGIN="adminname" PASSWORD="password">
    <RIB_INFO MODE="write">
 <FACTORY_DEFAULTS/>
    </RIB_INFO>
  </LOGIN>
</RIBCL>

 

When using "hponcfg" the <LOGIN USER_LOGIN="adminname" PASSWORD="password"> line is required but a valid username/password is not needed. This line needs valid credentials when remotely accessing iLO using "cpqlocfg.exe" or "locfg.pl"

 

No support by private messages. Please ask the forum! 
sdf2sjk
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Thanks, I will try that.

Gerardo_Arceri
Advisor

Re: Reset Blade Server iLo to defaults

Alternatively, if you have an OS installed and the hponcfg utility, using "hponcfg -r" should produce the same result.

 

Kumdist
Valued Contributor

Re: Reset Blade Server iLo to defaults

you can also use the EBIPA on the OA to set the ip adress. It should reflect after a few minutes.

Re-siting the blades will help too.

Jimmy Vance
HPE Pro

Re: Reset Blade Server iLo to defaults


@Kumdist wrote:

you can also use the EBIPA on the OA to set the ip adress. It should reflect after a few minutes.

Re-siting the blades will help too.


EBIPA will let you set the IP address, but the original posting question is how to reset iLO to defaults, EBIPA can't do that


 

No support by private messages. Please ask the forum! 
vipink430
Occasional Advisor

Re: Reset Blade Server iLo to defaults

How do i do this without switch on the server,

On server power led is down and indication screen showing the error Management Processor failed in blade bay 1

Casper42
Respected Contributor

Re: Reset Blade Server iLo to defaults

So if you cannot run the HPONCFG command from the OA SSH/CLI, then you first need to reset the iLO to DHCP so EBIPA can set the address.

 

SSH to the OA and login with the same credentials you use on the web login.
CONNECT SERVER X

Where X is the Blade's slot number.
That will get you into the iLO Smash CLP string.


Then run this next command to turn DHCP mode back on.
set /map1/dhcpendpt1 EnabledState=yes

Give the iLO 90-120 seconds to reboot.

 

Then run the XML based Reset Command that Jimmy provided.
X on the next line is again the Bay Number of the blade.

 

HPONCFG X << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<RIB_INFO MODE="write">
<FACTORY_DEFAULTS/>
</RIB_INFO>
</LOGIN>
</RIBCL>
end_marker

 

That should then reset the iLO to Factory Defaults and cause it to reboot again.

JavierdP
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Hi

 

I have found this thread and would like to share my situation to see what you would suggest

 

We have moved a blade server from datacenter A (5000 KM away) to datacenter B

After plugging it and powering it on, I have gone to Enclosure bay ip settings and tried to set a correct ip address for it's ILO, belonging to ip range used for Datacenter B.

 

However, even though ILO is reset after applying the changes, it seems to ignore that options and ILO ip address remains the same (from Datacenter A addressing)

 

I have also tried logging on with SSH to the onboard administrator to perform the suggested reset, but this is what I get

 

chassis-OA> connect server 4

Secure Shell (SSH) Access is disabled on the iLO. The feature requires
that the iLO SSH feature is enabled.

 

Can anyone help me with this? We are facing this situation with 8 BL-460G7 servers in three different C7000 chassis.

 

Thanks

 

sdf2sjk
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Do you have a static IP configured on the server iLO side of are you just assigning the IP under IP Addressing on the chassis side?  It sounds like the ilo is setup with a static IP.  If you are changing networks, I would set the iLOs to DHCP or set to factory default before you move them or after you move then but the first time you power up in computer room B.  If you have SNMP and other things configured, I would just set to DHCP, let it get an address, then set the static IP via IP Addressing.  Reset would cause you to have to reconfigure SNMP etc..... 

 

 

Device Bay iLO Processor Address Range:  The form below provides static IP address assignment to the device bays in the enclosure. If there is an IP address in the Current Address column, the device (iLO) has previously been configured or has received a DHCP address.
 
Note:  All of the selected iLO Processors will be reset if the protocol is enabled. If each iLO has been previously given a static IP address, these EBIPA settings will not change the static IP address. If the iLO IP address has been configured via an external DHCP service, the EBIPA settings will override the existing DHCP address.
 

JavierdP
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Hi

 

Blades are already 5000KM away from their original location but i can answer to your questions:

Blades had an static IP address assigned using the form you refer to. I have no problem with resetting them back to factory default settings as long as i can recover them, but haven't found a way to fully reset a specific blade server's ILO to factory settings.

 

How can that full ILO factory reset be done when it has an unreachable ip address and OA's ssh can't connect to it?

 

Thanks!

sdf2sjk
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Running Windows or Linux?

JavierdP
Occasional Advisor

Re: Reset Blade Server iLo to defaults

ESXi, also with an unreachable IP Address, ILO console is also unreachable because of this. (I would have used hponcfg for esxi if i had access to it, or ILO console to try to change the ILO IP myself) :(

 

We were recycling them for another project and our intention is to reinstall them 100%.

sdf2sjk
Occasional Advisor

Re: Reset Blade Server iLo to defaults

You don't have anyone there (Computer Room B) that can hook a crash cart and reset the iLO to factory defaults?

JavierdP
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Hi

 

Is that possible with a blade server? We don't have remote hands there but perhaps we can arrange someone to travel there, but i'd prefer fixing it remotely, to be honest.

 

Thanks

sdf2sjk
Occasional Advisor

Re: Reset Blade Server iLo to defaults

Yes you can, the chassis comes with a dongle that will hook to the blades.  If you can't communicate to the iLO at all, I don't know that you will be able to do anything.  I have never had a need since I have physical access.  Maybe someone else will have some input.

JavierdP
Occasional Advisor

Re: Reset Blade Server iLo to defaults

I've asked someone to try to find these dongles. In the meantime, let's see if anyone else comes up with an idea that would allow remote reset.

 

Thank you so much

Jimmy Vance
HPE Pro

Re: Reset Blade Server iLo to defaults


@JavierdP wrote:

Hi

 

Blades are already 5000KM away from their original location but i can answer to your questions:

Blades had an static IP address assigned using the form you refer to. I have no problem with resetting them back to factory default settings as long as i can recover them, but haven't found a way to fully reset a specific blade server's ILO to factory settings.

 

How can that full ILO factory reset be done when it has an unreachable ip address and OA's ssh can't connect to it?

 

Thanks!


Will the host OS still boot? if so can you login to the host remotely?  If you can accomplish this, then you can load hponcfg on the host and reset iLO from the host OS

No support by private messages. Please ask the forum! 
Server-Support
Super Advisor

Re: Reset Blade Server iLo to defaults

would this also cause any data loss in the Operating System or potential downtime to the running server in production ?

Best regards,
EddyDBM
Visitor

Re: Reset Blade Server iLo to defaults

Nice solution, now all work with EBIPA

nikisal2000
New Member

Re: Reset Blade Server iLo to defaults

hi

i was able to follow the instructions to connect to the server and run the reset command.

can anyone help with detailed instructions to the run the RIBCL portion

 

thanks

Mark