คําสั่ง Redfish ใดที่ใช้เพื่อแก้ไขคําสั่งบูทบนระบบ M50FCP หรือ D50DNP
และไม่ชัดเจนว่าคําสั่ง Redfish ใดที่จะใช้ปรับเปลี่ยน/เปลี่ยนลําดับการบูทสําหรับอุปกรณ์จัดเก็บข้อมูลในระบบของฉันจากระยะไกล
- ตรวจสอบ ตัวเลือกการบู๊ตที่มีอยู่:
curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool
ผลลัพธ์:
- เปลี่ยนลําดับการบู๊ตโดยใช้คําสั่งด้านล่าง ตัวอย่างเช่น เปลี่ยนอุปกรณ์บูตเครื่องแรกเป็น Windows Boot Manager:
curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system/H "content-type: application/json" --data '{"Boot": {"BootSourceOverrideEnabled": "Continuous","BootSourceOverrideTarget": "None", "BootOrder": ["Windows Boot Manager","UEFI Internal Shell","UEFI INTEL SSDSC2BB300G4 BTWL408004EL300PGN ","UEFI IPv4: Intel Network 00 ที่ Slot 03","UEFI IPv6: Intel Network 00 ที่สล็อต 03","UEFI IPv4: Intel Network 01 ที่สล็อต 03", "UEFI IPv6: Intel Network 01 ที่ Slot 03","UEFI HTTPv4: Intel Network 00 ที่สล็อต 03","UEFI HTTPv6: Intel Network 00 at Slot 03","UEFI HTTPv4: Intel Network 01 ที่สล็อต 03 นิ้ว,"UEFI HTTPv6: Intel Network 01 ที่ช่อง 03"]}' -X PATCH
- รีสตาร์ต ระบบเพื่อให้การเปลี่ยนแปลงมีผล
-
ยืนยัน การเปลี่ยนแปลงใน 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
หมาย เหตุ |
ด้วยการใช้คําสั่งขดในระบบปฏิบัติการ Windows* ผู้ใช้จําเป็นต้องหลบหนีการเสนอราคาแบบคู่ทั้งหมดยกเว้นใบเสนอราคาแรกและอันสุดท้าย ตัวอย่างเช่น ข้อมูลในคําสั่ง Change Boot ได้แก่:-data "{\"Boot\": {\"BootSourceOverrideEnabled\": \"Continuous\",\"BootSourceOverrideTarget\": \"None\", \"BootOrder\": [\"boot option 1\",\"boot option 2\""boot 2\"]}} |