Sun Storage 16 Gb 光纤通道 PCIe 通用主机总线适配器 (Emulex) 安装指南

退出打印视图

更新时间: 2015 年 7 月
 
 

使用 OneCommand Manager CLI 升级固件

本节描述了如何使用 OneCommand Manager 非交互式和交互式命令行界面 (command-line interface, CLI) 更新固件。执行此过程前,请确保已满足To Upgrade Firmware Using the OneCommand Manager GUI中所述的先决条件。

  • 执行以下操作之一:
    • 在非交互式 OneCommand Manager CLI 中,键入以下命令:

      hbacmd Download <the-WWPN-of-the-HBA> <full-path-and-name-of-firmware-file>

    • 在交互式 OneCommand Manager CLI(适用于 Oracle Solaris OS)中,执行以下步骤:
      1. 导航到包含 emlxadm 文件(路径:/opt/EMLXemlxu/bin)的目录,然后运行 emlxadm 实用程序。

        例如:

        root@<host-name>:/opt/EMLXemlxu/bin# ./emlxadm

        将列出可用的 HBA。

      2. 选择要升级的 HBA(每个设备只需要执行一次此操作)。
        EMLXADM Device Management Utility, Version: 1.08.4.0
        Copyright (c) 2004-2012 Emulex. All rights reserved.
         
        Available Emulex HBA's:
         
        1. SFS:emlxs0 : /devices/pci@78,0/pci8086,3c04@2/pci10df,e20e@0/fp@0,0 (CONNECTED)
        2. SFS:emlxs1 : /devices/pci@78,0/pci8086,3c04@2/pci10df,e20e@0, 1/fp@0,0 (CONNECTED)
        3. SFS: emlxs10 : /devices/pci@78,0/pci8086,3c0a@3,2/pci10df,e20e@0/fp@0,0 (CONNECTED)
         
        Enter an HBA number or zero to exit: 1
        
      3. 通过发出以下命令,升级选定 HBA 上的固件:

        emlxadm> download_fw <full-path-and-name-of-firmware-file>

      4. 在提示符下,键入 y 确认要升级固件。

        升级完成时将显示一条消息。

        Download may take several minutes. Do not interrupt.
        Downloading...
        Done.
        
      5. 键入 q 退出,或键入 hba 选择要更新的其他通用 HBA。
      6. 更新完所有 HBA 后,键入 q 退出 emlxadm 实用程序,然后对系统执行完全关机重新引导。