跳转至主要内容
支持知识库

如何在英特尔®服务器 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 Address/redfish/v1/Systems/system -H “Content-type: application/json” --data '{“Boot”: {“BootSourceOverrideEnabled”: “Continu”,“BootSourceOverrideTarget”: “None”, “BootOrder”: [“Windows Boot Manager”、“UEFI Internal Shell”、“UEFI INTEL SSDSC2BB300G4 BTWL408004EL300PGN”、“UEFI IPv4: 英特尔网络 00 在插槽 03”,“UEFI IPv6: 英特尔网络 00 在插槽 03”,“UEFI IPv4: 英特尔网络 01 在插槽 03”,“UEFI IPv6:英特尔网络 01 在插槽 03”,“UEFI HTTPv4:英特尔网络 00在插槽 03”,“UEFI HTTPv6:英特尔网络 00在插槽 03”,“UEFI HTTPv4:英特尔网络 01在插槽 03”,“UEFI HTTPv6:英特尔网络 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\“,\”boot option 2\“]}}”

免责声明

本页面上的内容是原始英文内容的人工翻译与计算机翻译的组合。我们提供此内容是为了您的便利并且仅供参考,未必完整或准确。如果本页面的英文版与翻译版之间存在任何冲突,应以英文版为准。 查看此页面的英语版本。