PFMP:如何使用已發佈的修補程式套裝建立標準 ESXi ISO 映像。

Summary: 從 PowerFlex Manager 平台 (PFMP) 4.6 開始,客戶必須提供標準的 ESXi ISO 映像,才能啟用需要 ESXi 的 Powerflex 機架或裝置組建。 本文提供當 Broadcom 僅發佈修補程式套裝時,使用 ESXi 修補程式套裝 (ESXidepot.zip) 建立標準 ESXi.iso 映像的程序。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

使用 ESXi 修補程式套裝 (ESXidepot.zip) 建立標準 ESXi.iso 映像的程序。

• PowerCLI 模組必須安裝在 PowerShell 上。
•  若為使用 PowerCLI 匯出 ISO 映像的映像產生器模組,建議您安裝 Python。 

注意:PowerFlex Manager 4.6 及更新版本使用標準 ESXi 映像進行系統組建,因此在建立標準 ESXi ISO 映像期間不應執行 OEM 驅動程式或其他自訂。

如何安裝和設定 PowerCLI。

在開始之前,請使用 VMware Broadcom 連結來識別與 VMware vSphere ESXi 7 相容的適當 PowerCLI 版本。X 或 8 X 版本
https://docs.vmware.com/en/VMware-PowerCLI/latest/rn/compatibility-matrix-for-vmware-powercli/index.html 

步驟:
1.在您的工作站上開啟 PowerShell。
2.從 PowerShell Gallery 頁面下載比 PowerCLI 6.5 R1 更新的 PowerCLI 版本。(我們不是下載,而是由「Install-Module」命令為您下載。在下面的命令中,您需要從網站收集的版本號)

3.若要安裝所有 PowerCLI 模組,請執行下列命令: 

Install-Module -Name VMware.PowerCLI -RequiredVersion

範例:

#Install-Module -Name VMware.PowerCLI -RequiredVersion 13.3.0.24145081

注意:或者,您可以執行含模組名稱的 Install-Module cmdlet,以安裝個別 PowerCLI 模組。如果您看到警告,指出您正在從不受信任的存儲庫安裝模組,請按 y 並按 Enter 鍵以確認安裝。

4.使用命令確認 PowerCLI 模組已安裝在您的個人電腦上。

#Get-Module -Name VMware.PowerCLI -ListAvailable.

如何在 Windows 中安裝和設定 Python。
使用此程序來部署 Python,這是 PowerCLI 建立 ESXI 所需的。ISO 的

1.從 https://www.python.org/downloads 下載 Python 3.9.x 或更新版本,並在電腦上完成安裝。

2.從 https://bootstrap.pypa.io/get-pip.py 儲存 get-pip.py 檔案


注意:訪問後,將連結中的內容複製到記事本,使用檔名“get-pip.py”保存檔,然後在“保存As類型”字段中選擇檔類型作為“所有檔”。  

3.在工作站上打開命令提示符並安裝 pip 包管理員。

python.exe C:\Users\Administrator\Desktop\get-pip.py

4.在命令提示字元中,安裝所需的 Python 模組。

\Scripts\pip.exe install six psutil lxml pyopenssl

例如:

C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts\pip3.10.exe install six psutil lxml pyopenssl

 5.開啟 PowerShell 並設定 Python 可執行檔的路徑。

Set-PowerCLIConfiguration -PythonPath \python.exe -Scope User

範例: 

Set-PowerCLIConfiguration -PythonPath C:\Users\Administrator\AppData\Local\Programs\Python\Python39\python.exe -Scope User



Perform operation?
Performing operation 'Update VMware.PowerCLI configuration.'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y

Scope    ProxyPolicy     DefaultVIServerMode InvalidCertificateAction  DisplayDeprecationWarnings WebOperationTimeout
                                                                                                  Seconds
-----    -----------     ------------------- ------------------------  -------------------------- -------------------
Session  UseSystemProxy  Multiple            Unset                     True                       300
User
AllUsers

安裝並驗證所需的 PowerCli/python 後。 

如何將映像設定檔匯出為 ISO

在開始建立 ISO 的程序之前,我們應先下載 esxi 修補程式。從 Broadcom 入口網站
取得庫房 注意:對於特定的修補程式版本,Broadcom 不會發佈 ISO 映像,使用此映像可以為未隨附 ISO 映像的修補程式產生 ISO 映像。
步驟:
1.啟動 Powershell。
2.    將目錄變更為儲存檔案的檔案路徑,或使用檔案所在位置的直接路徑,如以下範例所述。
注意:在執行下一個步驟之前,我們必須從 Broadcom 入口網站下載esxi-patch-depot.zip。

3.新增軟體庫以上傳映像設定檔。

 使用以下連結,從 Broadcom 入口網站下載 ESXi 映像。
https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware%20vSphere

直接路徑的範例:

#Add-EsxSoftwareDepot -DepotUrl “C:\Users\Administrator\Downloads\ISO test\VMware-ESXi-7.0U3p-23307199-depot.zip”

注意:如果資料夾名稱中有空格,我們應該使用雙引號(ISO 測試)

 在以下範例中,如果您已在檔案所在的目標資料夾中,請使用以下命令。

#Add-EsxSoftwareDepot -DepotUrl VMware-ESXi-7.0U3p-23307199-depot.zip

4.查看所有可用的映像設定檔以查找要匯出的映像配置檔的名稱。

#Get-EsxImageProfile


Below example, output contains image profiles for 7. x and 8. x ESXi images

Name                           Vendor          Last Modified   Acceptance Level

----                           ------          -------------   ----------------

ESXi-8.0U3-24022510-no-tools   VMware, Inc.    6/11/2024 1:... PartnerSupported

ESXi-8.0U3-24022510-standard   VMware, Inc.    6/11/2024 1:... PartnerSupported

ESXi-7.0U3sq-23794019-no-tools VMware, Inc.    5/3/2024 9:4... PartnerSupported

ESXi-7.0U3q-23794027-standard  VMware, Inc.    5/21/2024 12... PartnerSupported

ESXi-7.0U3sq-23794019-standard VMware, Inc.    5/21/2024 12... PartnerSupported

ESXi-7.0U3q-23794027-no-tools  VMware, Inc.    5/3/2024 11:... PartnerSupported

  5.匯出映像設定檔。

注意:從上面的設置中,我們獲得了應僅選擇標準映像的映像配置檔名稱。

 在上面的例子中,我們有三個標準的圖像配置檔,我們應該忽略標記為“sq”和無工具的配置檔。

#Export-EsxImageProfile -ImageProfile "myprofile" -ExportToIso -FilePath iso_name

範例 7.X ESXi 映像

Export-EsxImageProfile -ImageProfile "ESXi-7.0U3q-23794027-standard" -ExportToIso -FilePath E:\smb\ESXi-7.0U3q-23794027-standard.iso

8.x ESXi 映像範例

#Export-EsxImageProfile -ImageProfile "ESXi-8.0U3-24022510-standard" -ExportToIso -FilePath E:\smb\vSphere8.0\test\ESXi-8.0U3-24022510-standard.iso

    6.將ESXi.ISO上傳至 PowerFlex Manager,以執行部署和升級。機架和裝置文件中提供將映像上傳至 PowerFlex Manager 的程序。
注意:   
機架部署使用機架欄位邏輯-組建指南-4x-en-us
裝置部署使用flex_appliance_deployment_guide_4x

Affected Products

PowerFlex rack, ScaleIO
Article Properties
Article Number: 000228333
Article Type: How To
Last Modified: 02 Feb 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.