How to reboot or reset iLO hung session of HP Blade Server using CLI

     

HP Integrated Lights-Out (iLO) is an awesome feature available on HP Proliant ML/DL/BL Servers. iLO helps us to manage server remotely and can be be a lifesaver in many instances. HP Blade Servers use Integrated Lights-out feature and this will help you to administer your Blade servers which is installed in C7000 or C3000 c-Class enclosures.

HP Integrated-Lights Out ScreenThough iLO is an awesome product from HP, sometimes it will give random errors and will start freezing. In this situation, it will become necessary to reset the iLO of your blade server. The easiest way to reset iLO is by using the Reset button available in the web interface of iLO. But, what if the iLO GUI is frozen? then one of the option will be to use the command line interface of iLO.

In this article, we will learn how to reset a hung iLO session by using command line mode (CLI). Please note that we have many other ways to reset iLO on a blade server, but today we will discuss how to reset iLO of a HP Blade Server using Command Line (CLI) interface.

In the case of HP C7000 and C3000 blade enclosures, HP Onboard Administrator (HP OA) manages all blade servers installed in the enclosure. HP OA talks to all the blade servers and it establishes a trust relationship with ILO of each blade server installed in the enclosure. So, if you wish to reset ILO of a HP blade server, then you can do it through HP Onboard Administrator Command Line Mode (HP OA CLI).

HP Onboard Administrator supports Command line interface through SSH and Telnet protocols. If you never used the HP Onboard Administrator Command line mode and wanted to know how to access the command line mode of OA, then you can read my article provided below:

Guide: How to access HP Onboard Administrator CLI using Telnet or SSH

Let us go ahead and experiment the commands which we need to execute to reset iLO of HP Blade server.

How to reset iLO hung Session via Command Line:

Login to Command Line mode of HP Onboard Administrator. You need to know the Onboard Administrator IP address and Password to successfully login to HP OA CLI. Once you logged in to OA CLI, you need to execute below provided command to connect to the iLO of blade Server.

Connect Server bay Number CLI

Once you connect to the Server, then you need to execute CD /MAP1 command.

Command CD MAP1 to use iLO hponcfg

Now you can reset iLO by typing RESET command:HPILO RESET CLI in OA

Here, I am going to reset the iLO of a Blade server which is installed in bay number 2 of the HP c-Class enclosure. So, accordingly we have to use number 2 at the place of bay number. Here is the command you need to use:

Connect Server 2

At the HP Onboard Administrator Command Line (CLI)  prompt, enter the above provided command. The CLI screen will look the one provided below:

Connect Server OA CLI

Once you type CONNECT SERVER 2 and press Enter key on keyboard, it will start connecting to the iLO of the blade server. You can also see the iLO IP address, Server name and the server status at the same screen (please check below provided screenshot). Once iLO of server is connected, the prompt will be change to </>hpiLO-> (See below again).Connect Server OA CLI SSH Telent HpiLO

Now type the command CD /MAP1 at the </>hpiLO-> prompt:

Command CD MAP1 to use iLO hponcfg

For your better understanding, please check below provided screenshot.

HP iLO Hung CLI

Once you enter the CD /MAP1 command, the screen may look like the one provided below. The Prompt will change to </MAP1>hpiLO->

CD Map1 hp ilo CLI OA CLI

Now you can reset iLO of your Server. To reset iLO of the server, type the RESET command at the </MAP1>hpiLO-> prompt (see below provided screenshot):

HPILO RESET CLI in OA

Once you enter the RESET command, the CLI window will look like the one provided below.

Reset HP iLO using Command Line CLINow iLO of the server will be reset. It may take 1-2 minutes for the iLO to come back online. Once iLO is reset, try accessing the server again. Hopefully, your iLO should be working now. Congrats!!! :)


All the commands discussed in this article are valid for ML/DL Proliant Server as well. If you know the IP address of iLO, then you can SSH or Telnet to the iLO of the server and reset iLO when needed. :)

Share this Article:

You May Also Like:

Stay Connected with Us:

Subscribe via Email


Founder and Owner of Tricks Guide. SiRu is a Server Support Specialist, Tech Blogger and a Typical Family Man. If you’d like to connect with him, follow him on Twitter | Facebook | Google+

4 Responses to “How to reboot or reset iLO hung session of HP Blade Server using CLI”

  1. Jamal says:

    Hi Need a help after entering the blade ILO user name and password and getting page can’t be displayed error message once click the start session in ILO can you help me how to fix the issue

    • SiRu says:

      Do you have access to HP Onboard Administrator, then you will be able to access the iLO of Blade.

      Blade iLO and HP Onboard administrator have a Trust relationship, hence when you login to OA, you will have access to Blade iLO.

      If you are unable to access the iLO from Onboard Administrator, then see whether you can ping the iLO IP. If you are able to ping iLO IP, then please connect (SSH) to OA CLI, then reset iLO once.

      Hope it helps

      SiRu

  2. Anand says:

    Hi SiRu,
    Thanks a million dude, I was stuck with no access to ilo with my server being down. Your post was a life saver man!!!
    Keep up to the gr8 work.
    Rgs,
    Anand.

Leave a Comment:

Notify me of followup comments via e-mail.

© 2013 Tricks Guide. All rights reserved.