本主题提供有关为受支持的 Oracle Solaris 和 Oracle Linux 操作系统更新主机的 Oracle F320 闪存卡 NAND 闪存控制器固件的说明。可以使用 Oracle Hardware Management Pack 实用程序 CLI 工具,将 Oracle F320 闪存卡固件作为单个软件包进行更新。
开始之前
将系统更新到最新软件发行版。
验证主机上是否安装了受支持的最新 Oracle Hardware Management Pack 软件发行版。
请参阅 Oracle Hardware Management Pack 文档以了解相关说明,网址为:http://www.oracle.com/goto/ohmp/docs
请参阅服务器安装指南。
请参见下载 SSD 软件包。
# fwupdate list controller
在下面的示例中,Oracle Flash Accelerator F320 PCIe 卡控制器 c1 和 c2 在上述命令所返回的输出中枚举出来。
# fwupdate list controller ================================================== CONTROLLER ================================================== ID Type Manufacturer Model Product Name FW Version BIOS Version EFI Version FCODE Version Package Version NVDATA Version XML Support ------------------------------------------------------------------------------- c0 SAS LSI Logic 0x005d LSI MegaRAID 9361-8i 4.230.40-3739 6.17.04.2 06.06.10.05 4.16.08.00 - - N/A c1 NVMe Samsung 0xa821 MS1PC5ED3ORA3.2T KPYA4R3Q - - - - - N/A c2 NVMe Samsung 0xa821 MS1PC5ED3ORA3.2T KPYA4R3Q - - - - - N/A c3 NET Intel 0x1528 Intel(R) Ethernet Control - - 80000479 - N/A c4 NET Intel 0x1528 Intel(R) Ethernet Control - - 8000047A - N/A
要标识需要更新的固件映像文件的 NVMe 控制器,请查看 fwdupdate list controller 命令输出中的 FW Version(固件版本)列。
在上面的示例中,Oracle Flash Accelerator F320 PCIe 卡控制器 c1 和 c2 显示固件版本 KPYA4R3Q。
要标识 NVMe 控制器和最新的固件版本,请键入:
# nvmeadm list -v
在下面的示例中,控制器 SUNW-NVME-1 和 SUNW-NVME-2 在上述命令所返回的输出中显示固件修订版 KPYA4R3Q。
# nvmeadm list -v SUNW-NVME-1 PCI Vendor ID: 144d Serial Number: S2FHNYAG800126 Model Number: MS1PC5ED3ORA3.2T Firmware Revision: KPYA4R3Q Number of Namespaces: 1 SUNW-NVME-2 PCI Vendor ID: 144d Serial Number: S2FHNYAG800030 Model Number: MS1PC5ED3ORA3.2T Firmware Revision: KPYA4R3Q Number of Namespaces: 1
要标识需要更新的固件映像文件的 NVMe 控制器,请查看 nvmeadm list -v 命令输出中的 Firmware Revision:(固件修订版:)行。
在上面的示例中,Oracle Flash Accelerator F320 PCIe 卡控制器 SUNW-NVME-1 和 SUNW-NVME-2 显示固件版本 KPYA4R3Q。
在删除驱动器之前,手动停止 I/O 和所使用的设备。
![]() | 注意 - 系统挂起或数据丢失。在更新设备固件之前,请确保已停止该设备而且未发生以下事件:
|
fwupdate 命令可以使用 XML 元数据文件更新系统中所有类似设备的固件。此方法称为 "Automatic Mode"(自动模式),是推荐的升级方法。(有关备用方法,请参见下文。)
固件更新软件包中必须随附一个 XML 元数据文件才能使用 "Automatic Mode"(自动模式)。有关更多信息,请参阅更新软件包发行说明。
fwupdate update controller -x metadata.xml
# fwupdate update controller -x metadata.xml The following components will be upgraded as shown: ========================================================== ID Priority Action Status Old Firmware Ver. Proposed Ver. New Firmware Ver. System Reboot ---------------------------------------------------------------------------------- c1 1 Check FW Success KPYA4R3Q KPYA5R3Q N/A System Power Cycle c2 1 Check FW Success KPYA4R3Q KPYA5R3Q N/A System Power Cycle Do you wish to process all of the above component upgrades? [y/n]? y
如果选定驱动器的当前固件软件包版本高于指定的固件软件包版本,此命令将返回一个错误。有关错误代码,请参阅 Oracle Hardware Management Pack 文档,网址为:http://www.oracle.com/goto/ohmp/docs
Do you wish to process all of the above component upgrades? [y/n]? y Updating c1: Success Sleeping for 10 seconds for component to recover Updating c2: Success Sleeping for 10 seconds for component to recover Verifying all priority 1 updates Execution Summary ========================================================== ID Priority Action Status Old Firmware Ver. Proposed Ver. New Firmware Ver. System Reboot ---------------------------------------------------------------------------------- c1 1 Post Power Pending KPYA4R3Q KPYA5R3Q N/A System Power Cycle c2 1 Post Power Pending KPYA4R3Q KPYA5R3Q N/A System Power Cycle System Reboot required for some applied firmware Do you wish to automatically reboot now? [y/n]? y
键入 y 以重新引导系统。
请参阅服务器安装指南。
# fwupdate list controller
# fwupdate list controller ================================================== CONTROLLER ================================================== ID Type Manufacturer Model Product Name FW Version BIOS Version EFI Version FCODE Version Package Version NVDATA Version XML Support ------------------------------------------------------------------------------- c0 SAS LSI Logic 0x005d LSI MegaRAID 9361-8i 4.230.40-3739 6.17.04.2 06.06.10.05 4.16.08.00 - - N/A c1 NVMe Samsung 0xa821 MS1PC5ED3ORA3.2T KPYA5R3Q - - - - - N/A c2 NVMe Samsung 0xa821 MS1PC5ED3ORA3.2T KPYA5R3Q - - - - - N/A c3 NET Intel 0x1528 Intel(R) Ethernet Control - - 80000479 - N/A c4 NET Intel 0x1528 Intel(R) Ethernet Control - - 8000047A - N/A
在上面的示例中,Oracle Flash Accelerator F320 PCIe 卡控制器 c1 和 c2 在上述命令所返回的设备输出中枚举出来。
例如,将固件修订版从 KPYA3R3Q 先升级到 KPYA4R3Q,然后升级到 KPYA5R3Q。
请参见支持的最低卡固件版本。
《Oracle Server CLI Tools 用户指南》,网址为:http://www.oracle.com/goto/ohmp/docs