本节描述了如何使用 OneCommand Manager 非交互式和交互式命令行界面 (command-line interface, CLI) 更新固件。执行此过程前,请确保已满足To Upgrade Firmware Using the OneCommand Manager GUI中所述的先决条件。
hbacmd Download <the-WWPN-of-the-HBA> <full-path-and-name-of-firmware-file>
例如:
root@<host-name>:/opt/EMLXemlxu/bin# ./emlxadm
将列出可用的 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
emlxadm> download_fw <full-path-and-name-of-firmware-file>
升级完成时将显示一条消息。
Download may take several minutes. Do not interrupt. Downloading... Done.