deadman
作者deadman·2011-01-31 15:03
·

在AIX中如何升级光纤卡6239的微码

字数 3522阅读 5274评论 0赞 1

产品:P-Server

主机平台:IBM eServer pSerise

操作系统:AIX

其他软件版本:N/A

在实际安装存储设备时,我们经常需要升级光纤卡的微码。在AIX中,最常见的光纤卡是6239。本文介绍如何升级光纤卡6239的微码。

1)首先我们要确保服务器及操作系统要符合要求:

1、1)AIX操作系统要求升级APAR包:

AIX 5.1 = APAR IY35308

AIX 5.2 = APAR IY35747

注意:APAR升级不正确可能会损坏光纤卡。

使用下面的方法可以查看APAR的情况:
lslpp -L | grep df1000f7.com

For AIX 5.1, the file set must be at 5.1.0.50 or higher

For AIX 5.2, the file set must be at 5.2.0.10 or higher

1、2)机器硬件微码的要求:

特别注意:
Machine type 7039-651的机器硬件微码必须升级到3J030521以上.
If the system firmware level is less than 3J930521 you can damage the fibre channel adapter if you attempt to upload the fibre channel adapter firmware.

用下面的命令可以查看机器现有的微码::
scfg -pl sysplanar0 | grep Model | awk ' {print }'
If machine type is "IBM,7039-651", check the system firmware level by entering the following command:
lsmcode -rt system
NOTE: firmware level RJ030206 is a lower level than 3J030521. To compare firmware levels, compare the trailing 6 characters. For firmware levels RJ030206 and 3J030521, you compare the trailing 6 characters: 030206 is less than 030521

2)查看光纤卡的现有型号和微码:
在升级之前请仔细查看光纤卡的型号和微码,具体的方法是:

2、1)找出系统全部的光纤卡

lsdev -C | grep "fcs"

系统的光纤卡都有下面类似的名称fcsX,这里的X是0,1, 或其他数字。

2、2)有2种方法可以查看现有的光纤卡的微码版本

第一种是 " lscfg "

lscfg -vl fcsX

X是前面的lsdev命令返回的具体数字。

这条命令的输出如下:
DEVICE LOCATION DESCRIPTION
fvs0 3F-08 FC Adapter
Part Number.................00P4295
EC Level....................A
Serial Number...............1A31600450
Manufacturer................001A
FRU Number.................. 00P4297
Device Specific.(ZM)........3
Network Address.............10000000C9332A79
ROS Level and ID............02E01035
Device Specific.(Z0)........2003806D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FF601032
Device Specific.(Z5)........02E01035
Device Specific.(Z6)........06631035
Device Specific.(Z7)........07631035
Device Specific.(Z8)........20000000C9332A79
Device Specific.(Z9)........HS1.00X5
Device Specific.(ZA)........H1D1.00X5
Device Specific.(ZB)........H2D1.00X5
Device Specific.(YL)........U1.9-P2-I1/Q1
如果"Z9"字段低于1.81x1,就需要升级。此外还要注意Part Number和FRU Number必须是6239。

第二种方法是利用lsmcocde -d fcsX命令。这里不再介绍了。

3)准备微码文件:

3、1)下载微码文件FC6239FW.bin,上传到AIX。运行它解压缩,口令是**RS/6000**。得到下面的文件:
df1080f9.181301

3、2)用下面的命令检验它的校验和是否正确:
sum df1080f9.181301
1.81x1版的checksum 应该是 45802

3、3)移动到相应的目录:
mv df1080f9.181301 /etc/microcode/df1080f9.181301

4)升级微码:
用root用户登陆到AIX命令行,运行diag :

#diag

选择:
Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)

选择:
Download Microcode

选择要升级微码的光纤卡设备

fcs*

回车,升级开始……

当升级结束后系统将显示微码升级后的版本为181301.

5)查看、验证升级的结果:

用lscfg -vl fcsX命令查看:
DEVICE LOCATION DESCRIPTION
fcs0 3F-08 FC Adapter
Part Number.................00P4295
EC Level....................A
Serial Number...............1A31600450
Manufacturer................001A
FRU Number.................. 00P4297
Device Specific.(ZM)........3
Network Address.............10000000C9332A79
ROS Level and ID............02E01871
Device Specific.(Z0)........2003806D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FF601032
Device Specific.(Z5)........02E01871
Device Specific.(Z6)........06631871
Device Specific.(Z7)........07631871
Device Specific.(Z8)........20000000C9332A79
Device Specific.(Z9)........HS1.81X1
Device Specific.(ZA)........H1D1.81X1
Device Specific.(ZB)........H2D1.81X1
Device Specific.(YL)........U1.9-P2-I1/Q1

我们可以看到"Z9"字段显示现在的微码是1.81X1版本,升级成功。

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

1

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广