Code Section

Wednesday, July 18, 2018

HPE Server 動手做 - ProLiant Gen9 的 Embedded Flash 故障造成 Intelligent Provisioning 無法啟動問題

這次來聊聊 Intelligent Provisioning 功能的神秘消失事件。

關於什麼是 Intelligent Provioning,可以看我之前的介紹文:
HPE Server 基礎知識 - 什麼時候要用 Intelligent Provisioning

最近一段時間,在幾台 ProLiant Gen9 發生類似的問題:
(1)無法進入 Intelligent Provisioning,開機時無 F10 訊息提示。

(2)在 iLO 的 Event Log 出現以下錯誤訊息:
Embedded Flash/SD-CARD: Embedded media manager failed initialization.
Embedded Flash/SD-CARD: Embedded media manager failed media attach.
Embedded Flash/SD-CARD: Failed restart.

(3)懷疑 Intelligent Provisioning 功能被 Disabled,按 F9 進入 UEFI System Utilities 或 RBSU,發現 Intelligent Provisioning 啟動選項消失。

<<升級及修復/載點請見下方的"【下載連結集合】>>
(1)升級 iLO 版本,建議升到 iLO 4 2.55 以上。
可以由 iLO https 頁面 Administration → Firmware,直接使用檔案進行升級,或是在 OS 內執行修正檔進行升級。
需升級到 iLO 2.42 版以上,才能夠支援步驟(3)將內建媒體格式化。

(2)在 OS 上安裝 iLO 設定工具,Windows/Linux/VMware ESXi 及版號,各有不同對應版本。
VMware ESXi 6.0: HP ESXi Utilities Offline Bundle for VMware vSphere 6.0 2.4 (Oct 2015)
Windows: HP Lights-Out Configuration Utility for Windows 1.5.0 (Oct 2016)
Linux: HP Lights-Out Online Configuration Utility for Linux x86_64 4.6.0 (Nov 2015)

(3)使用以下 XML 及 iLO 工具,將 embedded flash 格式化清除,作完後需要 Reset iLO 才會生效,確認錯誤訊息是否有再度出現。
用來格式化 flash 的參數檔:
RIBCL Scripts - Fortmat embedded media (flash) for iLO 4 version 2.42 or later
<!-- RIBCL Sample Script for HP Lights-Out Products -->
<!--Copyright (c) 2016 Hewlett-Packard Enterprise Development Company,L.P. -->
<!-- Description: This is a sample XML script to force format all -->
<!-- the iLO partitions. -->
<!-- iLO resets automatically for this operation to take effect -->

<!-- Warning: This command erases all data on the partition(s) -->
<!-- External providers will need to be re-configured if -->
<!-- partition is formatted -->
<!-- Input: VALUE tag: all - format all available partitions -->

<!-- NOTE:You will need to replace the USER_LOGIN and PASSWORD values -->
<!-- with values that are appropriate for your environment -->

<!-- See "HP Integrated Lights-Out Management Processor Scripting -->
<!-- and Command Line Resource Guide" for more information on -->
<!-- scripting and the syntax of the RIBCL XML -->

<!-- Firmware support information for this script: -->
<!-- iLO 4 - Version 2.42 or later. -->
<!-- iLO 3 - None. -->
<!-- iLO 2 - None. -->

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="">
<RIB_INFO MODE="write">
<FORCE_FORMAT VALUE="all" />
</RIB_INFO>
</LOGIN>
</RIBCL>

在 ESXi 下執行格式化指令:
[root@esx29:~] /opt/hp/tools/hponcfg -f /tmp/format-flash
HP Lights-Out Online Configuration utility
Version 4.0-13 (c) Hewlett-Packard Company, 2011
Firmware Revision = 2.55 Device type = iLO 4 Driver name = hpilo
iLO IP Address: 10.40.2.39
Forcing a format of the partition after the iLO reset.
Script succeeded

清除成功後,在 iLO Event Log 會看到訊息 "storage device have been formatted."。

在 System Information → Firmware Version Info 會看到版本為 N/A。

(4)使用 Intelligent Provisioning Recovery Media 開機,重新寫入 embedded flash。
使用 Recovery Media 開機,按 Enter 選擇第一個選項 Intelligent Provisioning Recovery Media 後,會進行 embedded flash 寫入。

開始在 flash 寫入 Intelligent Provisioning 軟體。

(5)重新開機進入 OS 後,從 iLO 檢查 flash 的 firmware 版本狀態是否正常,並檢查 iLO Event Log 的錯誤訊息是否有再度出現。



<<下載連結集合>>
Integrated Lights-Out 4 2.55 (Sep 2017)
Online ROM Flash Component for Windows - HPE Integrated Lights-Out 4 2.55 (15 Sep 2017)

Online ROM Flash Component for Linux - HPE Integrated Lights-Out 4 2.55(15 Sep 2017)

Online ROM Flash Component for ESXi - HPE Integrated Lights-Out 4 2.55(15 Sep 2017)

Lights-Out Configuration Utility
Windows: HP Lights-Out Configuration Utility for Windows 1.5.0 (Oct 2016)

Linux: HP Lights-Out Online Configuration Utility for Linux x86_64 4.6.0 (Aug 2015)

VMware ESXi 6.0: HP ESXi Utilities Offline Bundle for VMware vSphere 6.0 2.4 (Nov 2015)

Intelligent Provisioning Recovery Media
Intelligent Provisioning Recovery Media 1.70 (Oct 2017)

<<參考資料>>
Advisory: (Revision) HPE Integrated Lights-Out 4 (iLO 4) - HPE Active Health System (AHS) Logs and HPE OneView Profiles May Be Unavailable with iLO Firmware Earlier Than 2.42 Causing iLO Self-Test Error 8192, Embedded Media Manager and Other Errors

HP ProLiant Gen8 Server Series - How to Enable or Disable Intelligent Provisioning (IP)?

Activating Intelligent Provisioning
Press F9 to access the UEFI System Utilities.
From the System Utilities screen, select System Configuration → BIOS/Platform Configuration (RBSU) → Server Security → Intelligent Provisioning (F10 Prompt) and press Enter.
Select Enabled.

HP ProLiant Gen8 Server series - How to Reinstall or Upgrade Intelligent Provisioning

VMware vSphere on HP ProLiant Server: How to update online firmware and drivers using Service Pack (SPP)? | Settlersoman - A settler in the SDDC world.

<<附檔收錄>>
RIBCL Scripts - Fortmat embedded media (flash) for iLO 4 version 2.42 or later


〈本文同步刊載於痞客邦部落格〉
HPE Server 動手做 - ProLiant Gen9 的 Embedded Flash 故障造成 Intelligent Provisioning 無法啟動問題 @ 狸貓先生愛廢話講堂 :: 痞客邦 ::

1 comment:

  1. (抱歉誤刪留言)
    若使用 Intelligent Provisioning Recovery Media 復原時發生錯誤,有可能是 embedded flash 真的發生故障,如果設備還在保固期或加買延長保固期間內,請報修 HPE 原廠處理。

    ReplyDelete