Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1980355
  • 博文数量: 593
  • 博客积分: 20034
  • 博客等级: 上将
  • 技术积分: 6779
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-06 14:07
文章分类

全部博文(593)

文章存档

2016年(1)

2011年(101)

2010年(80)

2009年(10)

2008年(102)

2007年(16)

2006年(283)

我的朋友

分类:

2006-12-18 13:13:11

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

 


    标题:在AIX中如何升级光纤卡6239的微码
    产品:P-Server
    主机平台:IBM eServer pSerise
    操作系统:AIX
    其他软件版本:N/A

    在实际安装存储设备时,我们经常需要升级光纤卡的微码。在AIX 中,最常见的光纤卡是6239 。本文介绍如何升级光纤卡6239 的微码。
    1 )首先我们要确保服务器及操作系统要符合要求:
    11AIX 操作系统要求升级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

    12 )机器硬件微码的要求:
    特别注意:
    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 $2}'
    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 )查看光纤卡的现有型号和微码:
    在升级之前请仔细查看光纤卡的型号和微码,具体的方法是:
    21 )找出系统全部的光纤卡

    lsdev -C | grep "fcs"

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

    22 )有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 NumberFRU Number 必须是6239

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

    3 )准备微码文件:

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

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

    33 )移动到相应的目录:
    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 版本,升级成功。
阅读(2716) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~