Tag: ilo

iLO 4 Embedded Flash/SD-CARD Embedded media manager failed media attach

iLO 4 was presenting the message: Embedded Flash/SD-CARD Embedded media manager failed media attach.

I’ve updated iLO 4 to v 2.70 and then performed the following procedure

Advisory: (Revision) HPE Integrated Lights-Out 4 (iLO 4) – How to Format the NAND Used to Store AHS logs, OneView Profiles, and Intelligent Provisioning

Created a file Force_Format.xml

root@linux:~ # vi Force_Format.xml
<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”adminname” PASSWORD=”password”>
<RIB_INFO MODE=”write”>
<FORCE_FORMAT VALUE=”all”/>
</RIB_INFO>
</LOGIN>
</RIBCL>

Run hponcfg -f Force_Format.xml

root@linux:~ # hponcfg -f Force_Format.xml -l log.txt
HP Lights-Out Online Configuration utility
Version 4.6.0 Date 09/28/2015 (c) Hewlett-Packard Company, 2015
Firmware Revision = 2.70 Device type = iLO 4 Driver name = hpilo
Script succeeded

Then I reset ILO through the web interface

Configure HP Remote Insight Lights-Out Edition II Board (RILOE II) – ILO 1

In an HP Proliant DL380 G3 I had an older iLO.
riloeII

This version is also called Remote Insight Lights-Out Edition II Board (RILOE II)
User guide for HP Remote Insight Lights-Out Edition II Board

The ROM-based setup utility F8 (RBSU F8) allows you to configure RILOE II during server boot-up. RBSU F8 is useful for configuring servers that do not use DNS/DHCP. RBSU F8 is available every time the server is booted. RBSU F8 cannot run remotely.

06

Reset the password for the user Administrator in HP iLO 2

Create an XML file with the following contents

root@linux:~ # vi passwd_reset_ilo.xml
<ribcl VERSION=”2.0″>
<login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>
<user_INFO MODE=”write”>
<mod_USER USER_LOGIN=”Administrator”>
<password value=”newpassword”/>
</mod_USER>
</user_INFO>
</login>
</ribcl>

This file will reset the user Administrator with the password newpassword

Download hponcfg going here – http://www.hp.com/support/ilo2

Select the appropriate Linux operating system.
Select Software – Lights-Out Management category.
Select the HP Lights-Out Online Configuration Utility for Linux .
Select the appropriate version of the HP Lights-Out Online Configuration Utility and click the “download” button.

After installing, run as shown below.

root@linux:~ # hponcfg -f passwd_reset_ilo.xml -l log.txt
HP Lights-Out Online Configuration utility
Version 4.0.1 Date 09/24/2012 (c) Hewlett-Packard Company, 2012
Firmware Revision = 2.01 Device type = iLO 2 Driver name = hpilo
Script succeeded

Source – http://amal.net/?p=1675

HP MP / ILO: Sorry, LAN Console access is currently disabled

When you try to access the Management Processor of an HP Integrity server and receive the message Sorry, LAN Console access is currently disabled

user@hostname:~ $ telnet ilo_ip_address
Trying 10.0.0.120…
Connected to 10.0.0.120.
Escape character is ‘^]’.

Sorry, LAN Console access is currently disabled.
Connection to 10.0.0.120 closed by foreign host.

You need to enable telnet and/or ssh according to the picture below. Access using a browser on the same IP address of the MP.
Integrity ILO Access Settings

Discover the IP address of ILO in a HP Integrity server

Example from an HP Integrity RX2660

root@hp-ux:~ # /opt/propplus/bin/cprop -detail -c “Management Processor”

[Component]: Management Processor
[Table]: Management Processor
——————————————————-
****************************************************
[Hash ID]: Management Processor:635bdafbx146dde57
< ClassName:HP_ManagementProcessor NameSpace:root/cimv2 >
[UniqueIdentifier]: 0.34.100.148.155.53
[ControllerType]: Unknown
[IPAddress]: 10.32.32.148
[URL]: https://10.32.32.148
[Dedicated]: Management
[CreationClassName]: HP_ManagementProcessor
[Name]: Management Processor
[EnabledState]: Enabled
[OperationalStatus]: OK
[FirmwareRevision]: F.002.026.000
[LEDColour]: 0
[LEDBlinkRate]: 0
[NICCondition]: 2
****************************************************
——————————————————-

This following example is a little different. This is to reset a GSP for HP 9000 rp5400 (L1000) Server

root@hp-ux_pa-risc:~ # ioscan -fnC tty
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tty 0 0/0/4/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux0 /dev/tty0p1
/dev/diag/mux0 /dev/tty0p0 /dev/tty0p2
tty 1 0/0/5/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag2 /dev/diag/mux1 /dev/mux1 /dev/tty1p1

root@hp-ux_pa:~ # stty +queryGSP < /dev/GSPdiag1
GSP is functional.

root@hp-ux_pa:~ # stty +resetGSP < /dev/GSPdiag1
GSP reset succeeded.

Connecting to HP iLO using the command line

Just ssh to the IP that you configured the iLO

emerson@shellcore:~ $ ssh emerson@192.168.50.118
emerson@192.168.50.118’s password:
User:Emerson Takahashi logged-in to ILO_TESTLABHP.(192.168.50.118)
iLO 2 Advanced Evaluation 1.81 at 11:05:47 Jan 15 2010
Server Name: proliant_g5
Server Power: On

hpiLO->

Since I will access through a text terminal, Linux is configured to use the serial port (configured through the file /boot/grub/grub.conf)

hpiLO-> help
status=0
status_tag=COMMAND COMPLETED

DMTF SMASH CLP Commands:

help : Used to get context sensitive help.
show : Used to show values of a property or contents of a collection target.
create : Used to create new user account in the name space of the MAP.
Example: create /map1/accounts1 username= password=
name=
group=

delete : Used to delete user account in the name space of the MAP.
Example: delete /map1/accounts1/

load : Used to move a binary image from an URL to the MAP. The URL is
limited to 80 characters
Example : load -source http://192.168.1.1/images/fw/iLO2_130.bin

reset : Used to cause a target to cycle from enabled to disabled and back to
enabled.

set : Used to set a property or set of properties to a specific value.
start : Used to cause a target to change state to a higher run level.
stop : Used to cause a target to change state to a lower run level.
cd : Used to set the current default target.
Example: cd targetname

exit : Used to terminate the CLP session.
version : Used to query the version of the CLP implementation or other CLP
elements.

oemhp_ping : Used to determine if an IP address is reachable from this iLO 2.
Example : oemhp_ping 192.168.1.1 , where 192.168.1.1 is the IP address that you wish
to ping

oemhp_loadSSHKey : Used to authorize a SSH Key File from an URL The URL is
limited to 80 characters
Example : oemhp_loadSSHKey -source http://UserName:password@192.168.1.1/images/SSHkey1.ppk

HP CLI Commands:

POWER : Control server power.
UID : Control Unit-ID light.
NMI : Generate an NMI.
VM : Virtual media commands.
VSP : Invoke virtual serial port.

Type VSP and you’re in. To login as root you need to include the serial port (in this case ttyS1) on your /etc/securetty file or you will be given the error message that your user or password is wrong.

hpiLO-> VSP

Starting virtual serial port.
Press ‘ESC (‘ to return to the CLI Session.

hpiLO-> Virtual Serial Port active: IO=0x02F8 INT=3

login as:

To exit, press Esc and then ( – left parenthesis

Also Discover HP iLO IP address in Linux
Discover the IP address of ILO in a HP Integrity server

Contacting Onboard Administrator and accessing iLO for an HP Integrity through command line