iDRAC:匯出與匯入 iDRAC 組態資訊
摘要: 本文說明如何匯出和匯入 iDRAC Web 主控台上設定的組態資訊。但是,只有 iDRAC9 允許 Web 介面存取該資訊。
说明
iDRAC 伺服器設定檔
持續時間:00:10:20 (小時:分鐘:秒)
當可用時,您可以使用此影像播放器上的 CC 圖示來選擇隱藏式輔助字幕 (字幕) 語言設定。
手冊連結,以取得 UI 互動的詳細資訊: https://www.dell.com/support/manuals/idrac9-lifecycle-controller-v3.3-series/idrac_3.31.31.31_ug/exporting-server-configuration-profile-using-idrac-web-interface<>
使用 CLI 的步驟
提前準備:
- 若未安裝 RACADM,請安裝 DRAC 工具。
- 執行此命令以檢查 iDRAC 版本:
racadm -r "iDRAC IP address" -u "iDRAC user ID" -p "iDRAC password" getversion Command example: racadm -r 192.16.1.120 -u root -p calvin getversion
匯出
步驟執行命令以匯出 XML 檔案。
racadm -r "iDRAC IP address" -u "iDRAC user ID" -p "iDRAC password" get -t xml -f "File path/filename of export destination" Command example: racadm -r 192.168.0.120 -u root -p calvin get -t xml -f C:\iDRAC_config.xml
注意:檔案名稱/檔案路徑就是範例。指定任何匯出目的地/檔案名稱。
只有在預先準備步驟確認的 iDRAC 版本為 1.x 時,XML 檔案才不會包含警示資訊。
因此,請執行命令以匯出警示資訊 (ini 檔案)。
racadm -r "iDRAC IP address" -u "iDRAC user ID" -p "iDRAC password" get -t ini -f "file path/file name" Command example: racadm -r 192.168.0.120 -u root -p calvin get -t ini -f C:\iDRAC_config.ini
匯入
步驟請按照以下步驟導入匯出的資訊。
-
只有在 iDRAC 版本 1.x 上,請執行命令以匯入警示資訊 (ini 檔案)。
racadm -r "iDRAC IP address" -u "iDRAC user ID" -p "iDRAC password" set -t ini -f "file path/filename of file to be imported" Command example: racadm -r 192.168.0.120 -u root -p calvin set -t ini -f C:\iDRAC_config.ini
-
執行命令以匯入 XML 檔案 (系統組態)。
racadm -r "iDRAC IP address" -u "iDRAC user ID" -p "iDRAC password" set -t xml -f "file path/filaname of the file to be imported" Command example: racadm -r 192.168.0.120 -u root -p calvin set -t xml -f C:\iDRAC_config.xml
注意:更換 iDRAC 後進行匯入時, 請輸入 預設密碼 作為 iDRAC 密碼。 -
等待系統重新開機。
如果系統未自動重新開機,請手動重新啟動系統。
由於 iDRAC 的每個使用者密碼尚未還原,請變更每個使用者的密碼。
此外,由於並非所有密碼都已還原,因此如有必要,請還原代理和 VNC 伺服器等。
使用 UI 的步驟
注意:只有 iDRAC9 支援 UI 上的作業。
匯出步驟
-
登入 iDRAC Web 主控台。
-
從功能表列中選取 組態 ->伺服器設定設定檔 。

-
展開 匯出,然後至少輸入下列項目。
・檔名:任何檔名
・匯出元件:選擇要導出的專案。選取「全部」。
將其他設定保留為預設或依照您的方式設定,然後按一下 匯出。
-
在出現的訊息上按 一下「儲存於本機」, 並將其儲存在任何位置。

匯入
步驟請按照以下步驟導入匯出的資訊。
-
按照上述匯出步驟操作,直到步驟 2。
-
展開 「導入」,然後至少
輸入以下專案 ・文件路徑:選擇要匯入
的檔案 ・匯入元件」:選擇要導入的專案。選取「全部」,
將其他設定保留為預設值或根據需要設定,然後按一下 「匯入」。