Monday, November 10, 2014

FC adapter firmware update in AIX

The steps that are needed to be followed for FC adapter firmware update in AIX is show below
 
 1) To check how many FC adapters are there, same can be used for (datapath) also
lsdev –Cc adapter

pcmpath query adapter(SDDPCM) or datapath query adapter(for SDD Device drivers)


2) To check Firmware Level of FC adapter

lscfg –vpl fcs0
 

check for Z9 from above,Which is TS1.91A5

3) To find out what is the latest firmware level for FC adapter.
Take part number from , lscfg –vpl fcs0 
 



which is 03N7069 and search in google as below,



The URL to find out firmware for above part number is
http://support.bull.com/ols/product/platforms/escala/firmware/dev/fc/files/lp10000/df1000fa.191a5.html
We need to check the below info from above URL

Check part number from below which is affected or not
check for firmware level and  here in this server we have latest firmware level




4) If the lpar is having lowest firmware level, follow the below 
procedure if it has more than 1 FC adapter.
Download latest Firmware and upload to the LPAR ,
a) Unpack the file as follows:

# cd /tmp/ucode

# zcat df1000fa.191a5.tar.Z | tar xvf –

b) Move the microcode to the microcode directory.
# mv /tmp/ucode/df1000fa.191105 /etc/microcode
5) Updating firmware for FC adapters
pcmpath query adapter  
Active Adapters :2

Adpt# Name State Mode Select Errors Paths Active

0 fscsi1 NORMAL ACTIVE 17109 0 20 20

1 fscsi0 NORMAL ACTIVE 17238 0 20 20

updating firmware level for adapter FCS1,for this I need to make FCS1 adapter offline by running the below command

pcmpath set adapter 0 offline

After setting as offline,it looks as

pcmpath query adapter===============================

Active Adapters :2

Adpt# Name State Mode Select Errors Paths Active

0 fscsi1 FAILED OFFLINE 17124 0 20 0

1 fscsi0 NORMAL ACTIVE 17536 0 20 20

pcmpath query device=================

DEV#: 2 DEVICE NAME: hdisk2 TYPE: 2107900 ALGORITHM: Load Balance

SERIAL: 75208013605

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

Path# Adapter/Path Name State Mode Select Errors

0 fscsi1/path0 OPEN OFFLINE 188 0

1 fscsi1/path1 OPEN OFFLINE 179 0

2 fscsi0/path2 OPEN NORMAL 181 0

3 fscsi0/path3 OPEN NORMAL 178 0



DEV#: 3 DEVICE NAME: hdisk3 TYPE: 2107900 ALGORITHM: Load Balance

SERIAL: 75208013704

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

Path# Adapter/Path Name State Mode Select Errors

0 fscsi1/path0 OPEN OFFLINE 375 0

1 fscsi1/path1 OPEN OFFLINE 444 0

2 fscsi0/path2 OPEN NORMAL 421 0

3 fscsi0/path3 OPEN NORMAL 440 0
6) Now go to /etc/microcode and check fix is there, then run diag
cd /etc/microcode
-rwxr-xr-x 1 10384 10000 664748 Jul 27 2006 df1000fa.191105

diag--------------------------------run this in command prompt, select as



press enter----------------------------------



Select ---------Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)




Select-----------------Microcode Taks



select------------Download Latest Available Microcode

Now it shows as below



Now you select fcs1,which we made it offline in step 5 and press enter



The below shows installation of new microcode completed for fcs1

press---------f10
7)After installation ,we have to make fcs1 adapter online



fcs1 is offline

pcmpath set adapter 1 online-----------------------run



Now, fcs1 is online

8) Now check paths are normal are not by running
lspath

pcmpath query device


9) Check new firmware level for FC adapter by running
lscfg –vpl fcs1, it should show as


10) The same procedure we need to follow for adapter fcs0,as we followed above from 5th step.

0 fscsi1 NORMAL ACTIVE 17109 0 20 20

1 fscsi0 NORMAL ACTIVE 17238 0 20 20

update firmware level for adapter FCS0,for this I need to make FCS1 adapter offline by running the below command

pcmpath set adapter 1 offline

No comments:

Post a Comment