Advertisements

Category Archives: Hardware

Updating HP BLc Emulex LPe1105-HP FC Mezz Option Kit – Flash Engine exit code: 2 – All updates failed. – Flash complete [7]

I was receiving error Flash Engine exit code: 2

root@suse11:/usr/lib/x86_64-linux-gnu/hp-firmware-fc-emulex-2015.02.01-1.1 # ./.hpsetup
—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.log
Flash Engine exit code: 2
All updates failed.
Flash complete [7]

I have a dual port Emulex LPe1105-HP

root@suse11:~ # systool -av -c fc_host | grep “Class Device =”
Class Device = “host0”
Class Device = “host1”

root@suse11:~ # systool -c scsi_host -v -d host0 | grep modeldesc
modeldesc = “HP BLc Emulex LPe1105-HP FC Mezz Option Kit”
root@suse11:~ # systool -c scsi_host -v -d host1 | grep modeldesc
modeldesc = “HP BLc Emulex LPe1105-HP FC Mezz Option Kit”

Reviewing the log file, it seems that this server already had the firmware flashed

root@suse11:~ # cat /var/cpq/Component.log
=================================================================

Installation started: Wed Oct 7 10:57:33 BRT 2015

Installing: CP022701.scexe
Version: 2014.04.01a
Description: HP Firmware Flash for Emulex Fibre Channel HBAs and CNAs

—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /sysfs /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.log

Wed Oct 7 10:58:12 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8E,
Update=Firmware, Image=ZF282X4.ALL, New=282X4, Old=280A4, Status=Success

Wed Oct 7 10:58:33 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8E,
Update=Boot Code, Image=ZU610A14.PRG, New=610A14, Old=603A7, Status=Success

Wed Oct 7 10:59:11 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8F,
Update=Firmware, Image=ZF282X4.ALL, New=282X4, Old=280A4, Status=Success

Wed Oct 7 10:59:32 2015
HBA=LPe1105, Port Type=FC, WWN=10:00:00:00:C9:9A:35:8F,
Update=Boot Code, Image=ZU610A14.PRG, New=610A14, Old=603A7, Status=Success

elxflash: All required updates succeeded – Return Code=0

Flash Engine exit code: 0
All updates were successful. Reboot needed.
Flash complete [1]

Return code: 1

Installation complete: Wed Oct 7 10:59:32 BRT 2015

=================================================================

—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.log

elxflash: Error – all required updates failed – Return Code=2

Flash Engine exit code: 2
All updates failed.
Flash complete [7]
—————————————————
Loading references…done.
Performing discovery…
Preparing the Emulex Kit…done
Performing flash — DO NOT INTERRUPT!
Executing flash engine: ./elxflashStandalone*/lx/elxflash.sh /fc /update 1>> /var/cpq/Component.log 2>> /var/cpq/Component.log 3>> /var/cpq/Component.log

elxflash: Error – all required updates failed – Return Code=2

Flash Engine exit code: 2
All updates failed.
Flash complete [7]

Advertisements

Linux error in a server with kernel: st reservation conflict – tapes not available

In a Linux server it was not showing the tape drives available that were previously available.

On /var/log/messages was showing a message about a reservation conflict

Nov 29 00:49:15 linux kernel: st 3:0:19:0: reservation conflict

This message is about the SCSI reservation that the backup software is applying to the tape drives.

Once the software finishes using the tapes it will make them available to other servers

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

Connect to Onboard Administrator

emerson@myhost:~ $ telnet 10.32.33.141
Trying 10.32.33.141…
Connected to 10.32.33.141 (10.32.33.141).
Escape character is ‘^]’.

—————————————————————————–
WARNING: This is a private system. Do not attempt to login unless you are an
authorized user. Any authorized or unauthorized access and use may be moni-
tored and can result in criminal or civil prosecution under applicable law.
—————————————————————————–
Firmware Version: 3.21
Built: 11/15/2010 @ 09:59
OA Bay Number: 1
OA Role: Active
OnboardAdministrator login: Administrator
Password:

Listing all the available server on the C7000 chassis. I need to know which bay is used by hp-uxnode5

HP BladeSystem Onboard Administrator
(C) Copyright 2006-2010 Hewlett-Packard Development Company, L.P.

Type ‘HELP’ to display a list of valid commands.
Type ‘HELP ‘ to display detailed information about a specific command.
Type ‘HELP HELP’ to display more detailed information about the help system.

OnboardAdministrator> show server list

Bay iLO Name iLO IP Address Status Power UID Partner
— —————————– ————— ——– ——- — ——-
1 hp-uxnode1 10.32.33.166 OK On Off
2 hp-uxnode2 10.32.33.167 OK On Off
3 hp-uxnode3 10.32.33.168 OK On Off
4 hp-uxnode4 10.32.33.169 OK On Off
5 hp-uxnode5 10.32.33.170 OK On Off
6 hp-uxnode6 10.32.33.171 OK On Off
7 hp-uxnode7 10.32.33.172 OK On Off
8 hp-uxnode8 10.32.33.173 OK On Off
9 [Subsumed]
10 [Subsumed]
11 [Subsumed]
12 [Subsumed]
13 [Subsumed]
14 [Subsumed]
15 [Subsumed]
16 [Absent]
Totals: 8 server blades installed, 8 powered on.

Connecting to bay 5

OnboardAdministrator> CONNECT SERVER 5

Connecting to bay 5 …

Hewlett-Packard Integrated Lights-Out 3

(C) Copyright 1999-2010 Hewlett-Packard Development Company, L.P.

MP Host Name: hp-uxnode5

Revision: 01.01.02

Thu Nov 12 19:45:30 2015

*************************************************************************
MP ACCESS IS NOT SECURE
A default MP user Admin/Admin is currently configured
with the default password and remote access is enabled. Modify the
default password or delete the default user (see UC command)
OR
Disable all types of remote access (see SA command)

*************************************************************************

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

[hp-uxnode5]</> hpiLO->

Accessing console

[hp-uxnode5]</> hpiLO-> co

[Use Ctrl-B or ESC-( to return to MP main menu.]

– – – – – – – – – – Prior Console Output – – – – – – – – – –

Login incorrect

Wait for login retry: ..

login:
– – – – – – – – – – – – Live Console – – – – – – – – – – – –

Pressed CTRL+B to go back. Exiting

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

[hp-uxnode5]</> hpiLO-> x

Connection terminated by server.
OnboardAdministrator> exit

Connection closed by foreign host.

The legacy lun path (b 32 – t 13 – l 0) registration failed because it has been re-mapped from its original LUN (default dev 0xb000018) to a different LUN (default dev 0xc0000bd).

Checking /var/adm/syslog/syslog.log I see that lunpath, instance 81 is showing an error message

root@hp-ux:~ # grep vmunix /var/adm/syslog/syslog.log | grep “Nov 9”
Nov 9 04:37:14 hp-ux vmunix: class : lunpath, instance 81
Nov 9 04:37:14 hp-ux vmunix: The legacy lun path (b 32 – t 13 – l 0)
Nov 9 04:37:14 hp-ux vmunix: registration failed because it has been
Nov 9 04:37:14 hp-ux vmunix: re-mapped from its original LUN (default dev 0xb000018)
Nov 9 04:37:14 hp-ux vmunix: to a different LUN (default dev 0xc0000bd).
Nov 9 04:37:14 hp-ux vmunix: The administrator has to close the original LUN and
Nov 9 04:37:14 hp-ux vmunix: then validate this LUN re-mapping using the scsimgr
Nov 9 04:37:14 hp-ux vmunix: command:
Nov 9 04:37:14 hp-ux vmunix: scsimgr [-f] replace_leg_dsf -D /dev/rdsk/cxtydz

(b 32 – t 13 – l 0)
scsimgr [-f] replace_leg_dsf -D /dev/rdsk/c32t13d0

Let’s discover the hardware path for this instance

root@hp-ux:~ # scsimgr -p get_attr -C lunpath -I 81 -a hw_path
0/2/0/0/0/1.0x5001438017928fe6.0x0

Pick the LUN H/W Path

root@hp-ux:~ # ioscan -m hwpath -H 0/2/0/0/0/1.0x5001438017928fe6.0x0
Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0xbd
0/2/0/0/0/1.0x5001438017928fe6.0x0

And run the following command

root@hp-ux:~ # scsimgr -f replace_wwid -H 64000/0xfa00/0xbd
scsimgr: Successfully validated binding of LUN paths with new LUN.

In another case, there was a missing disk. I removed the disk

root@hp-ux:~ # ioscan -fnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 2 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP EH0146FARUB
/dev/disk/disk2 /dev/rdisk/disk2
/dev/disk/disk2_p1 /dev/rdisk/disk2_p1
/dev/disk/disk2_p2 /dev/rdisk/disk2_p2
/dev/disk/disk2_p3 /dev/rdisk/disk2_p3
disk 3 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP EH0146FARUB
/dev/disk/disk3 /dev/rdisk/disk3
/dev/disk/disk3_p1 /dev/rdisk/disk3_p1
/dev/disk/disk3_p2 /dev/rdisk/disk3_p2
/dev/disk/disk3_p3 /dev/rdisk/disk3_p3
disk 5 64000/0xfa00/0x2 esdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/disk/disk5 /dev/rdisk/disk5
disk 14 64000/0xfa00/0xa esdisk CLAIMED DEVICE HP HSV340
/dev/disk/disk14 /dev/rdisk/disk14
disk 19 64000/0xfa00/0x46 esdisk NO_HW DEVICE NETAPP LUN C-Mode
/dev/disk/disk19 /dev/rdisk/disk19

root@hp-ux:~ # rmsf -H 64000/0xfa00/0x46

Some Fibre Channel HBA models found on HP Proliant running Linux

I was updating some servers and this is a small list that I created to help to update the firmware

Emulex LPe1105 Fibre Channel HBA

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
LPe1105-HP

root@linux:~ # cat /sys/class/scsi_host/host0/model*desc
HP BLc Emulex LPe1105-HP FC Mezz Option Kit

Qlogic QMH2462 Fibre Channel HBA

root@linux:~ # cat /sys/class/scsi_host/host1/model*name
QMH2462

root@linux:~ # cat /sys/class/scsi_host/host1/model*desc
PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA


HP FC2142SR 4Gb 1-port PCIe Fibre Channel Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host3/model*name
A8002A

root@linux:~ # cat /sys/class/scsi_host/host3/model*desc
HP FC2142SR 4Gb PCI-e, SC, Fibre Channel Adapter

HP PCIe Fibre Channel Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
QLE2462

root@linux:~ # cat /sys/class/scsi_host/host0/model*desc

HP 4Gb PCIe Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
QLE2460

root@linux:~ # cat /sys/class/scsi_host/host0/model*desc
PCI-Express Single Channel 4Gb Fibre Channel HBA

Qlogic QMH2462 Fibre Channel HBA

root@linux:~ # cat /sys/class/scsi_host/host2/model*name
QLA2462
root@linux:~ # cat /sys/class/scsi_host/host2/model*desc

Emulex LPe1205 Fibre Channel Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host3/model*name
LPe1205-HP

root@linux:~ # cat /sys/class/scsi_host/host3/model*desc
HP BLc Emulex LPe1205-HP 8Gb FC


HP FC1242SR 4Gb 2-port PCIe Fibre Channel Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
HPAE312A

root@linux:~ # cat /sys/class/scsi_host/host0/model*desc
PCI-Express Dual Port 4Gb Fibre Channel HBA

LP10000

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
LP10000
root@linux:~ # cat /sys/class/scsi_host/host0/model*desc
Emulex LP10000 2Gb PCI-X Fibre Channel Adapter


HP 8Gb 2-port PCIe Fibre Channel Host Bus Adapter

root@linux:~ # cat /sys/class/scsi_host/host3/model*name
AJ763A/AH403A
root@linux:~ # cat /sys/class/scsi_host/host3/model*desc
HP 8Gb Dual Channel PCI-e 2.0 FC HBA

HP LPe1605 16Gb Fibre Channel Host Bus Adapter for BladeSystem c-Class

root@linux:~ # cat /sys/class/scsi_host/host0/model*name
HP-LPe1605
root@linux:~ # cat /sys/class/scsi_host/host0/model*desc
HP LPe1605 16Gb FC HBA

If the links stop working, follow the instruction on Upgrading firmware on an Emulex or QLogic Fibre Channel HBA on HP Proliant to find how to download the correct firmware

Problems updating firmware on QLogic QLE2460, QLE2462 and QMH2462 on HP Proliant

I’m having problems updating the firmware on fibre channel HBA cards QLE2460, QLE2462 QMH2462.

For example, this server has a single channel 4Gb QLE2460 and dual channel 4Gb QLE2462

root@linux01:~ # cat /sys/class/scsi_host/host*/model*name
QLE2462
QLE2462
QLE2460

root@linux01:~ # cat /sys/class/scsi_host/host*/model*desc
PCI-Express Dual Channel 4Gb Fibre Channel HBA
PCI-Express Dual Channel 4Gb Fibre Channel HBA
PCI-Express Single Channel 4Gb Fibre Channel HBA

root@linux01:~ # lspci -k | grep -A2 -i fibre
22:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 02)
Subsystem: QLogic Corp. Device 0138
Kernel driver in use: qla2xxx

22:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 02)
Subsystem: QLogic Corp. Device 0138
Kernel driver in use: qla2xxx

25:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
Subsystem: QLogic Corp. Device 0137
Kernel driver in use: qla2xxx

Following the instruction on Updating firmware on an Emulex or QLogic Fibre Channel HBA on HP Proliant and downloaded the file CP022840.scexe

root@linux01:~ # ./CP022840.scexe
—————————————————
Loading references…done.
Performing discovery…
WARNING! : No supported adapters found.

Checking the log file, it shows that no adapters found and gives return code 7

root@linux01:~ # cat /var/cpq/Component.log
=================================================================

Installation started: Thu Nov 5 18:12:09 BRST 2015

Installing: CP022840.scexe
Version: 2014.09.01
Description: HP Firmware Flash for QLogic Fibre Channel HBA’s (x86_64)

—————————————————
Loading references…done.
Performing discovery…
WARNING! : No supported adapters found.

Return code: 7

Installation complete: Thu Nov 5 18:12:09 BRST 2015

=================================================================

On this other server I have a QMH2462 and I had the same problem

root@linux02:~ # cat /sys/class/scsi_host/host*/model*name
QMH2462
QMH2462
root@linux02:~ # cat /sys/class/scsi_host/host*/model*desc

root@linux02:~ # lspci -k | grep -A2 -i fibre
09:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
Subsystem: Hewlett-Packard Company Device 1705
Kernel driver in use: qla2xxx

09:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
Subsystem: Hewlett-Packard Company Device 1705
Kernel driver in use: qla2xxx

root@linux02:~ # cat /var/cpq/Component.log
=================================================================

Installation started: Fri Oct 9 12:09:36 BRT 2015

Installing: CP022840.scexe
Version: 2014.09.01
Description: HP Firmware Flash for QLogic Fibre Channel HBA’s (x86_64)

—————————————————
Loading references…done.
Performing discovery…
WARNING! : No supported adapters found.

Return code: 7

Installation complete: Fri Oct 9 12:09:36 BRT 2015

=================================================================

I think the solution will be to update the firmware offline using the HP SPP DVD and selecting Firmware update

Server booting correctly but file /boot/grub/grub.conf is missing

I was checking a server that didn’t have the file /boot/grub/grub.conf but it was booting without any issues.

The server is a Proliant Gen9

root@linux:~ # dmidecode –type system
# dmidecode 2.12
# SMBIOS entry point at 0x788fb000
SMBIOS 2.8 present.

Handle 0x0009, DMI type 1, 27 bytes
System Information
Manufacturer: HP
Product Name: ProLiant BL460c Gen9
Version: Not Specified
Serial Number:
UUID:
Wake-up Type: Power Switch
SKU Number: 727021-B21
Family: ProLiant

Handle 0x009E, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected

This server has UEFI instead of BIOS. Checking some servers I found the file on /boot/efi/EFI/redhat

root@linux:/boot/efi/EFI/redhat # ls -l
total 256
-rwx——. 1 root root 1648 Nov 4 13:00 grub.conf
-rwx——. 1 root root 254248 Apr 7 2015 grub.efi

and /boot/efi/efi/redhat

root@linux:/boot/efi/efi/redhat # ls -l
total 264
-rwx——. 1 root root 1666 Nov 4 12:59 grub.conf
-rwx——. 1 root root 254248 Apr 7 2015 grub.efi

Suse Linux 9 boot – cciss: cmd f6b80498 has CHECK CONDITION byte 2 = 0x3

cciss
At startup I was receiving this message

cciss: cmd f6b80498 has CHECK CONDITION byte 2 = 0x3
cciss: cmd f6b80000 has CHECK CONDITION byte 2 = 0x3

I found that this is a media error. Since I rebooted because the filesystem / became read-only that made sense.

I ended up reinstalling this server

Sun Fire E25K domain In Recovery status. How to check if it is progressing

You ran showplatform in the system controller and the E25k domain shows the status In Recovery

Domain configurations:
======================
Domain ID Domain Tag Solaris Nodename Domain Status
A – – Powered Off
B – – Powered Off
C – – Powered Off
D – – Powered Off
E domain5 – In Recovery
F – – Powered Off
G – – Powered Off
H – – Powered Off
I – – Powered Off
J – – Powered Off
K – – Powered Off
L – – Powered Off
M – – Powered Off
N – – Powered Off
O – – Powered Off
P – – Powered Off
Q – – Powered Off
R – – Powered Off

To check the progress of why it is taking a long time to boot the domain, check the post process running

roo@systemcontrollern1:~ # ps -ef | grep post
sms-svc 5398 198 0 15:48:02 pts/2 0:00 grep post
sms-dsmd 27458 26817 39 15:34:33 ? 3:14 /opt/SUNWSMS/SMS1.6/bin/hpost -d E -Q

roo@systemcontrollern1:~ # truss -p 27458

Error when updating iLO2 in HP Proliant

Tried to update iLO2 but when I ran the scexe file it gave me an error message

root@suse10:/tmp # ./CP025666.scexe

FLASH_iLO2 v1.12 for Linux (Aug 31 2009)
Copyright 2009 Hewlett-Packard Development Company, L.P.
Firmware image: ilo2_227.bin

ERROR: Make sure hp Lights-Out driver is installed and loaded. Also, execute the utility as ‘root’. []

Component XML file: CP025666.xml
CP025666.xml reports firmware version 2.27

***Flash firmware using channel interface has failed. Try direct flash next…

***Note: This operation will flash the firmware on the
iLO 2 in this server with version “2.27”.
This operation requires following condition(s) be met:
1. iLO 2 Security Override Switch must be set.
Continue (y/N)? y
Trying to reset V850E
Trying to reset V850E
Trying to reset V850E
Trying to reset V850E

The solution was to extract the .bin file and then update iLO 2 through the web interface with the .bin file

root@suse10:/tmp # ./CP025666.scexe –unpack=/tmp
CP025666.xml
flash_ilo2
ilo2_227.bin
README.TXT

%d bloggers like this: