Back to the main page

Update Emulex FC firmware (on Oracle Linux or RHEL 6)

First download latest (in April 2015) Firmware 2.01a12 (it's file ud201a12.zip, unzip to get file ud201a12.all)
The download URL is http://www.emulex.com/downloads/emulex/firmware-and-boot-code/lpe12002/firmware-and-boot-code/

Also get OneCommand Manager CLI (needed to update firmware), the file is elxocmcore-rhel5-rhel6-rhel7-10.4.255.16-1.tgz

Install s/w

# cd path-to-elxocmcore-rhel5-rhel6-rhel7-10.4.255.16-1
# ./install.sh
Beginning OneCommand Manager Core Kit Installation...
Installing ./x86_64/rhel-6/elxocmcorelibs-10.4.255.16-1.x86_64.rpm
Installing ./x86_64/rhel-6/elxocmlibhbaapi-32bit-10.4.255.16-1.x86_64.rpm
Installing ./x86_64/rhel-6/elxocmlibhbaapi-10.4.255.16-1.x86_64.rpm
Installing ./x86_64/rhel-6/elxocmcore-10.4.255.16-1.x86_64.rpm

Stopping OneCommand Manager daemons ...

Do you want to enable Secure Management feature for OneCommand? (s/u)

The secure management feature requires OneCommand groups be configured on
the LDAP network or the local host machine to provide for OneCommand operation.

Enter 's' to select secure management. (LDAP/NIS OCM group configuration required)
Enter 'u' to run without secure management (default).

Enter the letter 's' or 'u': u
You selected: Secure Management Disabled

Select desired mode of operation for OneCommand Manager

   1   Strictly Local Management : Only manage the adapters on this host.
                                   Management of adapters on this host from other
                                   hosts is not allowed.
   2   Local Management Plus     : Only manage the adapters on this host.
                                   Management of adapters on this host from other
                                   hosts is allowed.
   3   Full Management           : Manage the adapters on this host and other
                                   hosts that allow it.  Management of the adapters
                                   on this host from another host is allowed.
   4   Management Host           : Manage the adapters on this host and other hosts
                                   that allow it.  Management of the adapters on
                                   this host from another host is not allowed.

Enter the number 1, 2, 3, or 4: 1
You selected: 'Local Only Mode'

Do you want to allow user to change management mode using
set_operating_mode script located in /usr/sbin/ocmanager ?

Enter the letter 'y' if yes, or 'n' if no: y
You selected: Yes

OneCommand Manager Core Kit install completed successfully.

Type:    /usr/sbin/ocmanager/hbacmd
to run the OneCommand Manager CLI utility.

Update f/w on 2 FC cards in the system

#  /usr/sbin/ocmanager/hbacmd Download 10:00:00:00:C9:71:5C:F8 /tmp/ud201a12.all 

Downloading /tmp/ud201a12.all to hba 10:00:00:00:C9:71:5C:F8
Download Complete.

#  /usr/sbin/ocmanager/hbacmd Download 10:00:00:00:C9:71:5C:F9 /tmp/ud201a12.all 

Downloading /tmp/ud201a12.all to hba 10:00:00:00:C9:71:5C:F9
Download Complete.

Verify that boot from FC SAN is enabled

#  /usr/sbin/ocmanager/hbacmd GetBootParams 10:00:00:00:C9:71:5C:F8 X86 

HBACMD_GetBootParams: Success

Parameter Name         Value
--------------         -----
 Standard Parameters
  EnableAdapterBoot        1   Enabled
  EnableBootFromSAN        1   Enabled
  LinkSpeed                2   2 Gbps
  Topology                 3   PTP
 Advanced Parameters
  AutoBootSectorEnable     1   Enabled
  AutoScan                 0   Disabled
  DefaultAlpa           0x00
  EDD30Enable              0   Disabled
  EnvVarEnable             0   Disabled
  PlogiRetryTimer          0   None
  SpinupDelayEnable        0   Disabled
  StartUnitCommandEnable   0   Disabled
 Boot Device Parameters
  Entry  Lun    D_ID        TargetWwpn
  -----  ---  ------  -----------------------
      0  000  000000  50:0a:09:83:87:a9:68:41
      1  000  000000  00:00:00:00:00:00:00:00
      2  000  000000  00:00:00:00:00:00:00:00
      3  000  000000  00:00:00:00:00:00:00:00
      4  000  000000  00:00:00:00:00:00:00:00
      5  000  000000  00:00:00:00:00:00:00:00
      6  000  000000  00:00:00:00:00:00:00:00
      7  000  000000  00:00:00:00:00:00:00:00

#  /usr/sbin/ocmanager/hbacmd GetBootParams 10:00:00:00:C9:71:5C:F9 X86 

HBACMD_GetBootParams: Success

Parameter Name         Value
--------------         -----
 Standard Parameters
  EnableAdapterBoot        1   Enabled
  EnableBootFromSAN        1   Enabled
  LinkSpeed                0   Auto
  Topology                 0   Auto, Loop First
 Advanced Parameters
  AutoBootSectorEnable     0   Disabled
  AutoScan                 0   Disabled
  DefaultAlpa           0x00
  EDD30Enable              0   Disabled
  EnvVarEnable             0   Disabled
  PlogiRetryTimer          0   None
  SpinupDelayEnable        0   Disabled
  StartUnitCommandEnable   0   Disabled
 Boot Device Parameters
  Entry  Lun    D_ID        TargetWwpn
  -----  ---  ------  -----------------------
      0  000  000000  50:0a:09:83:87:a9:68:41
      1  000  000000  00:00:00:00:00:00:00:00
      2  000  000000  00:00:00:00:00:00:00:00
      3  000  000000  00:00:00:00:00:00:00:00
      4  000  000000  00:00:00:00:00:00:00:00
      5  000  000000  00:00:00:00:00:00:00:00
      6  000  000000  00:00:00:00:00:00:00:00
      7  000  000000  00:00:00:00:00:00:00:00

Also update Boot code to latest (in April 2015) version UU513A10.

Get the BootCode file and unzip it.
# unzip uu513a10.zip
Archive:  uu513a10.zip
  inflating: 513a10.txt
  inflating: UU513a10.prg
  inflating: Elxcli420a0.efi

For this installation, you need another software which is elxflashOffline-linux-10.4.255.25-1.tgz
Download it and install it.

Now update the BootCode on both FC cards, so it will be n=1 and n=2
#  /usr/sbin/linlpcfg/linlpcfg download n=1 i=UU513a10.prg 
Command: download n=1 i=UU513a10.prg
Opening File...
GetDriverType: DriverType=00000004
Link State is not in the state LNK_DOWN or LNK_DOWN_PERSIST
Reading Header...
ProgramID 37f51da 101303
Download PRG image for adapter f100 PrgType 03 ID 7f
VPD Style T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78 3 7f
Validating Checksum...
Erasing Sector(s) In Flash ROM...
Loading Image...
0% complete 1% complete 2% complete 3% complete 4% complete 5% complete 6% complete 7% complete 8% complete 9% complete 10% complete 11% complete 12% complete 13% complete 14% complete 15% complete 16% complete 17% complete 18% complete 19% complete 20% complete 21% complete 22% complete 23% complete 24% complete 25% complete 26% complete 27% complete 28% complete 29% complete 30% complete 31% complete 32% complete 33% complete 34% complete 35% complete 36% complete 37% complete 38% complete 39% complete 40% complete 41% complete 42% complete 43% complete 44% complete 45% complete 46% complete 47% complete 48% complete 49% complete 50% complete 51% complete 52% complete 53% complete 54% complete 55% complete 56% complete 57% complete 58% complete 59% complete 60% complete 61% complete 62% complete 63% complete 64% complete 65% complete 66% complete 67% complete 68% complete 69% complete 70% complete 71% complete 72% complete 73% complete 74% complete 75% complete 76% complete 77% complete 78% complete 79% complete 80% complete 81% complete 82% complete 83% complete 84% complete 85% complete 86% complete 87% complete 88% complete 89% complete 90% complete 91% complete 92% complete 93% complete 94% complete 95% complete 96% complete 97% complete 98% complete 99% complete 100% complete
Updating Wakeup Parameters...
Image Successfully Downloaded...
Download and reset successfully completed
Command completed, NO Error

#  /usr/sbin/linlpcfg/linlpcfg download n=2 i=UU513a10.prg 
Command: download n=2 i=UU513a10.prg
Opening File...
GetDriverType: DriverType=00000004
Link State is not in the state LNK_DOWN or LNK_DOWN_PERSIST
Reading Header...
ProgramID 37f51da 101303
Download PRG image for adapter f100 PrgType 03 ID 7f
VPD Style T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78 3 7f
Validating Checksum...
Erasing Sector(s) In Flash ROM...
Loading Image...
0% complete 1% complete 2% complete 3% complete 4% complete 5% complete 6% complete 7% complete 8% complete 9% complete 10% complete 11% complete 12% complete 13% complete 14% complete 15% complete 16% complete 17% complete 18% complete 19% complete 20% complete 21% complete 22% complete 23% complete 24% complete 25% complete 26% complete 27% complete 28% complete 29% complete 30% complete 31% complete 32% complete 33% complete 34% complete 35% complete 36% complete 37% complete 38% complete 39% complete 40% complete 41% complete 42% complete 43% complete 44% complete 45% complete 46% complete 47% complete 48% complete 49% complete 50% complete 51% complete 52% complete 53% complete 54% complete 55% complete 56% complete 57% complete 58% complete 59% complete 60% complete 61% complete 62% complete 63% complete 64% complete 65% complete 66% complete 67% complete 68% complete 69% complete 70% complete 71% complete 72% complete 73% complete 74% complete 75% complete 76% complete 77% complete 78% complete 79% complete 80% complete 81% complete 82% complete 83% complete 84% complete 85% complete 86% complete 87% complete 88% complete 89% complete 90% complete 91% complete 92% complete 93% complete 94% complete 95% complete 96% complete 97% complete 98% complete 99% complete 100% complete
Updating Wakeup Parameters...
Image Successfully Downloaded...
Download and reset successfully completed
Command completed, NO Error

Finally verify what's done

#  /usr/sbin/linlpcfg/elxflash /q 

HBA=LPe12002, Port Type=FC, WWN=10:00:00:00:C9:71:5C:F8, PCI ID=F100, VID=10DF, SSID=F100, SVID=10DF, Firmware=UD201A12, Boot Code=UU513A10, Boot Enabled=1
HBA=LPe12002, Port Type=FC, WWN=10:00:00:00:C9:71:5C:F9, PCI ID=F100, VID=10DF, SSID=F100, SVID=10DF, Firmware=UD201A12, Boot Code=UU513A10, Boot Enabled=1

elxflash: All required queries succeeded - Return Code=0

Back to the main page