跳到主要內容
支援知識庫

如何在 Intel® 伺服器 M50FCP/D50DNP 家族中使用 Redfish 命令變更開機順序

內容類型: 維護與效能   |   文章 ID: 000098680   |   最近查看日期: 2024 年 04 月 17 日

描述

目前尚不清楚使用哪個 Redfish 命令來遠端修改/更改系統中儲存裝置的啟動順序。

解決方法

  1. 檢查 現有的啟動選項:

    curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool

    輸出:

    example image

  2. 使用以下命令更改引導順序例如,將第一個啟動裝置更改為 Windows 啟動管理員:

    curl -k -u 'username:password' https://BMC IP 位址/redfish/v1/Systems/system -H “內容類型:應用程式/json” --data '{“Boot”: {“BootSourceOverrideEnabled”: “Continu”,“BootSourceOverrideTarget”: “None”, “BootOrder”: [“Windows Boot Manager”,“UEFI Internal Shell”,“UEFI INTEL SSDSC2BB300G4 BTWL408004EL300PGN”,“UEFI IPv4: Intel Network 00 at Slot 03”,“UEFI IPv6: Intel Network 00 at Slot 03”,“UEFI IPv4: Intel Network 01 at Slot 03”,“UEFI IPv6:Intel 網络 01 在插槽 03”,“UEFI HTTPv4:Intel Network 00 在插槽 03”,“UEFI HTTPv6:Intel Network 00 在插槽 03”,“UEFI HTTPv4:Intel Network 01 在插槽 03”,“UEFI HTTPv6:Intel Network 01 在插槽 03”]}}' -X 補丁

  3. 重新啟動 系統以使更改生效。
  4. 確認 對 BootOrder 的更改
    curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool

    example image

注意

在 Windows* 操作系統中使用 curl 命令時,使用者需要轉義除第一個和最後一個雙引號之外的所有雙引號。例如,變更啟動順序命令中的數據為:--data “{\”Boot\“: {\”BootSourceOverrideEnabled\“: \”Continu\“,\”BootSourceOverrideTarget“: \”None“, \”BootOrder\“: [\”boot option 1“,”bootoption 2\“]}}”

免責聲明

此頁面上的內容是原始英文內容的人工和電腦翻譯的組合。此內容僅供您方便,僅供一般參考,不應被視為完整或準確。如果本頁面的英文版本與翻譯之間存在任何矛盾,則以英文版本為準。 查看此頁面的英文版本。