メインコンテンツへスキップ
サポート・ナレッジベース

インテル® サーバー M50CYP 製品ファミリーでの Redfish によるブート順序の変更

コンテンツタイプ: トラブルシューティング   |   記事 ID: 000092811   |   最終改訂日: 2025/04/25

環境

インテル® サーバー・システム M50CY ファミリー

詳細

次のRedfishコマンドを使用して、システムの起動順序をリモートで変更できます。

Linux* システムの CURL コマンドを使用して、リモートシステムの Redfish API の詳細を読み取ります。
アクティビティーを使用するには、Python3*、Curl*、および jq がシステムにインストールされている必要があります。

解決方法

  1. 以下のコマンドを使用して 、システムIDを取得します

    コマンド:
    [root@ocsbesrhlrepo01 ~]# curl -k -u username: password https://<ip address> /redfish/v1/Systems -H "content-type:application/json" -X GET | python3 -m json.tool

    出力結果:

    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 460 100 460 0 0 218 0 0:00:02 0:00:02 --:--:-- 218
    {
    "@odata.context": "/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection",
    "@odata.id": "/redfish/v1/Systems",
    "@odata.type": "#ComputerSystemCollection.ComputerSystemCollection",
    "Name": "Computer System Collection",
    "Members@odata.count": 1,
    "Members": [
    {
    "@odata.id": "/redfish/v1/Systems/............
    "
    }
    ],

  2. 以下のコマンドを使用して、既存のブートオプションを確認します

    命令:
    [root@ocsbesrhlrepo01 ~]# curl -k -u username: password https://<ip address>/redfish/v1/Systems/............ -H "content-type:application/json" -X GET | python3 -m json.tool

    アウトプット:

    "BootOrder": [
    "UEFI INTEL SSDSCKKB240G8 PHYH02610986240J ",
    "Enter Setup",
    "Boot Device List",
    "Network Boot",
    "UEFI Internal Shell"

  3. 以下のコマンドを使用して起動順序を変更します。たとえば、最初にブート デバイスを UEFI 内部シェルに変更します

    コマンド:
    curl -k -u username: password https://<ip address>/redfish/v1/Systems/............ -H "content-type:application/json" --data '{"Boot":{"BootSourceOverideEnabled":"Continuous", "BootSourceOverrideTarget":"None", "BootOrder":["UEFI Internal Shell"]}}' -X PATCH | python3 -m json.tool

  4. システムを再起動します

    命令:
    curl -k -u username: password https://<ip address>/redfish/v1/Systems/............/Actions/ComputerSystem.Reset -H "content-type:application/json" --data '{"ResetType":"ForceRestart"}' -X POST | python3 -m json.tool

関連製品

本記事は、3 製品に適用します。

免責条項

このページのコンテンツは、元の英語のコンテンツを人力翻訳および機械翻訳したものが混在しています。このコンテンツはお客様の便宜と一般的な情報のみを目的として提供されており、情報の正確さと完全性を保証するものではありません。このページの英語版と翻訳の間に矛盾がある場合は、英語版に準拠します。 このページの英語版をご覧ください。