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.
Though 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:
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.
Once you connect to the Server, then you need to execute CD /MAP1 command.
Now you can reset iLO by typing RESET command:
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:
At the HP Onboard Administrator Command Line (CLI) prompt, enter the above provided command. The CLI screen will look the one provided below:
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).
Now type the command CD /MAP1 at the </>hpiLO-> prompt:
For your better understanding, please check below provided screenshot.
Once you enter the CD /MAP1 command, the screen may look like the one provided below. The Prompt will change to </MAP1>hpiLO->
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):
Once you enter the RESET command, the CLI window will look like the one provided below.
Now 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. :)
You May Also Like: