Showing posts with label ILO. Show all posts
Showing posts with label ILO. Show all posts

Saturday, 29 February 2020

How to reset HP iLO password from command line in Linux

If you have lost or forgotten the iLO password than please find the below steps to reset ilo password from command line.

To reset / set the password of the iLO from within the linux operating system on an HP server, the hponcfg utility needs to be installed

Here is some information about hponcfg

The hponcfg utility is an online configuration tool used to set up and reconfigure the local iLO without requiring a reboot of the server operating system. It can be used to retrieve and change the iLO configuration of the local server from the linux command line.

Please login on the linux machine and create a new xml file

[root@localhost]#vim ilo_password.xml

<RIBCL VERSION="2.0">
  <LOGIN USER_LOGIN="x" PASSWORD="x">
  <USER_INFO MODE="write">
    <MOD_USER USER_LOGIN="Administrator">
      <PASSWORD value="XXXXXXXX*"/>
    </MOD_USER>
  </USER_INFO>
  </LOGIN>
</RIBCL>

save the ilo_password.xml file

In above xml file, you just need to set PASSWORD value - XXXXXXX. Please put your new ILO password here. 

To load this xml file in ILO, please use hponcfg command 

[root@localhost]# hponcfg -w ilo_password.xml

Your iLO password will be reset, now please login in HPE iLO via new password XXXXXXX.

Please let me know in case of any query about this post. Thanks. 

Friday, 19 May 2017

ILO LAN console setup on HP-UX rp/rx systems

HP-UX Operating System are mostly used in IT industries because it is more secure and high reliable operating system. For managing hardware and software of HP-UX, ILO is in used.

ILO is a console for HP-UX servers, If your server operating system get crashed, then you can login in to ILO console and check all the logs related to failure as well as you can take a virtual console of OS from ILO.

Here, we will see how to configure the HP-UX ILO on specialized Unix server.

For initial setup, connect a serial terminal to the system. Use CONSOLE cable if there are multiple (usual HP bulkhead) 9600 bauds, 8N1. After that hit Ctrl-b after memory and CPU test at boot time, or if the system is already running

To modify the configuration, you can also telnet to the console IP address, and hit Ctrl-Shift-e , then c , then f to access the console and Ctrl-b to enter setup. You should see the ILO login prompt like that.

MP login: Admin
MP password: *********

Once you successful login, you'll see the ILO MP menu and find the different command to run. Please find the below MP main menu as given below.

MP MAIN MENU:

CO:   Console
VFP: Virtual Front Panel
CM:  Command Menu
CL:   Console Log
SL:   Show Event Logs
HE:  Main Help Menu
X:    Exit Connection

➤ Please select the CO command from MP main menu. The prompt changes to MP:CM> You are now ready to perform the configuration changes.

Note: The preferred method is always the directly connected terminal.

➤ The SA command shows you the Access Configuration menu. Change the settings so that it looks like that. This command allows you to modify MP access configuration.

Current Set Access Configuration:

R - Remote/Modem: OS SESSION
T - Telnet:                  Enabled 
W - Web SSL:           Enabled 
H - SSH:                    Disabled 
I - IPMI over LAN:   Enabled

Edit Section IP settings:

➤ The LC command shows you the LAN Configuration menu. Change the settings so that it looks like that.

Current LAN Configuration:

     MAC Address                              : 0x001a4b0add53
     D - DHCP Status                          : Disabled
     I - IP Address                               : 10.123.5.6
     M - MP Host Name                     : ethan-r
     S - Subnet Mask                          : 255.0.0.0
     G - Gateway Address                  : 10.123.0.1
     L - Link State                              : Auto Negotiate
     W - Remote Serial Console Port : 2023
     H - SSH Access Port                   : 22
     - - IPMI / LAN Port                     : 623

➤ You can see the current settings using the LS command. When you run the LS command it is shown you all current LAN configuration.

➤ The SO command with the O choice shows you the Security/Login options menu. Change the settings so that it looks like that:

Current Security Options:

     L - Login Timeout in minutes          : 1
     N - Number of Password Faults allowed : 3
     F - Allow MP Firmware upgrade via PCI : Enabled
     R - Allow MP reset via IPMI           : Disabled
     P - Allow MP password reset via IPMI  : Disabled

Edit Section Users:

➤ Use the UC command to view the User Configuration. If you can see the below my command output when you run the UC command on the command menu.

Login ID             User Name               Access Rights   Enabled
  --------------------------------------------------------------------------
   1 - Admin         Default Admin         C, P, M, U       Yes
   2 - Oper            Default Operator      C                     Yes
   3 - root              root                           C, P, M, U       Yes

Using above all method section we can configure the ILO on HP-UX rp/rx system. Please make sure in every HP-UX system parametere are different , so you can change as per your requirment.

Please post the comment on the blog, if you have any query regarding this topic.