(注)
|
このリクエストは、C220M4、C240M4、C460M4、および S3X60 サーバーではサポートされていません。
|
HSU ディープ ディスカバリのトリガー
要求
curl -k -u admin:Password https://10.10.10.10/redfish/v1
/Managers/CIMC/Actions/Oem/CiscoUCSExtensions.HostOSBootManagement -XPOST -d '{"BootOption":"Immediate","ImageRepository":"10.10.10.10/nfsshare
/hsu1s53mad/","Mode":"Discovery","TransferProtocol":"VMEDIA-NFS"}'
(注)
|
[BootOption]:[Immediate] または [OnNextBoot]
[ImageRepository]:<specify hsu tar file extracted path in remote share>
[TransferProtocol]:VMEDIA-NFS または VMEDIA-CIFS または VMEDIA-HTTPS または NFS または CIFS または HTTPS
NFS、CIFS、または HTTPS を使用するには、FlexUtil SD カードをシステムに挿入する必要があります。
モード:ディスカバリ
|
応答
{
"Messages": [],
"Id": "401",
"Name": "HSU-inventory",
"StartTime": "01/15/2020 12:01:07 IST",
"TaskState": "New",
"PercentComplete": 0,
"@odata.id": "/redfish/v1/TaskService/Tasks/401",
"@odata.type": "#Task.v1_4_0.Task"
}
タスクを取得して HSU ディープ ディスカバリ ステータスを検索する
要求
curl -k -u admin:Password https://10.10.10.10/redfish/v1/TaskService/Tasks/401
応答
{
"@odata.id": "/redfish/v1/TaskService/Tasks/401",
"@odata.context": "/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"@odata.type": "#Task.v1_4_0.Task",
"Id": "401",
"Name": "HSU-inventory",
"StartTime": "01/15/2020 12:01:07 IST",
"EndTime": "01/15/2020 12:15:45 IST",
"PercentComplete": 100,
"TaskState": "Completed",
"Messages": [{
"MessageId": "Base.1.4.Success",
"Message": "Successfully Completed Request"
}],
"TaskMonitor": "/redfish/v1/TaskService/Oem/TaskMonitor/401"
}
ファームウェア インベントリを取得して、検出された更新可能なアイテムのリストを検索する
要求
curl -k -u admin:Password https://10.10.10.10/redfish/v1/UpdateService/FirmwareInventory
応答
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"@odata.context": "/redfish/v1/$metadata#UpdateService/FirmwareInventory",
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"Description": "Inventory of Firmware components",
"Name": "Firmware Inventory",
"Members": [{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Board_Controller"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BIOS"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/CIMC"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/HDD-model-MTFDDAV960TCB-serial-174619C268DF"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-11"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/X550-LOM-slot-L"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/HDD-model-MTFDDAV960TCB-serial-174619C26BA5"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/SasExpM5"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-3"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/UCSC-RAID-M5HD-slot-RAID"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/P40-24GB-slot-10"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/mswitch1"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-12"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-2"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/FirePro-slot-2"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-1"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-6"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/UCSC-SAS9460-8i-slot-12"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-4"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory
/UCSC-NVMELW-I500-slot-FRONT-NVME-5"
}, {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/mswitch2"
}],
"Members@odata.count": 21
}
「すべての」検出されたコンポーネントでの HSU ファームウェア アップデートをトリガーする
要求
curl -k -u admin:Password https://10.10.10.10/redfish/v1
/UpdateService/Actions/Oem/CiscoUCSExtensions.UCSUpdate -d '{ "Targets":[], "ApplyTime":"Immediate",
"ForceUpdate":true, "ImageRepository":"10.10.10.10/nfsshare/hsu1s53mad/", "TransferProtocol"
:"VMEDIA-NFS" , "Username”:”<share_username>”, "Password”:”<share_password>” }' –XPOST
(注)
|
[TransferProtocol]: [VMEDIA-NFS] または [VMEDIA-CIFS] または [VMEDIA-HTTPS] または [NFS] または [CIFS] または [HTTPS]
[ApplyTime]:[Immediate] または [OnNextBoot]
[ImageRepository]:<specify hsu tar file extracted path in remote share>
[ForceUpdate] : true または false
[Targets]:検出されたすべてのコンポーネントで更新をトリガーします。
[「イメージが適用される場所を示すソフトウェア/ファームウェア インベントリ URI の配列」]
特定のコンポーネントで更新をトリガーするには、個々の 1 つ以上のコンポーネントのターゲットを指定できます。個々のコンポーネントの検索対象については、このコマンドを参照してください。
|
応答
{
"Messages": [],
"Id": "402",
"Name": "HSU-update",
"StartTime": "01/15/2020 12:58:59 IST",
"TaskState": "New",
"PercentComplete": 0,
"@odata.id": "/redfish/v1/TaskService/Tasks/402",
"@odata.type": "#Task.v1_4_0.Task"
}
タスク ID を取得してファームウェア アップデートのステータスを取得する
curl -k -u admin:Password https://10.10.10.10/redfish/v1/TaskService/Tasks/402
応答
{
"@odata.id": "/redfish/v1/TaskService/Tasks/402",
"@odata.context": "/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"@odata.type": "#Task.v1_4_0.Task",
"Id": "402",
"Name": "HSU-update",
"StartTime": "01/15/2020 12:58:59 IST",
"EndTime": "01/15/2020 13:48:20 IST",
"PercentComplete": 100,
"TaskState": "Completed",
"Messages": [{
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-11'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'X550-LOM-slot-L'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'SasExpM5'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-3'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'CIMC'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-RAID-M5HD-slot-RAID'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'P40-24GB-slot-10'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'mswitch1'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-12'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-2'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'FirePro-slot-2'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-1'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-6'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-SAS9460-8i-slot-12'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-4'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'UCSC-NVMELW-I500-slot-FRONT-NVME-5'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'mswitch2'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'Board_Controller'.",
"Resolution": "NULL"
}, {
"MessageId": "CiscoUcsHsu.1.0.0.UpdateSuccess",
"Message": "Successfully updated the software inventory at
'BIOS'.",
"Resolution": "NULL"
}, {
"MessageId": "Base.1.4.Success",
"Message": "Successfully Completed Request"
}],
"TaskMonitor": "/redfish/v1/TaskService/Oem/TaskMonitor/402"
}
電源再投入/電源投入前に、ApplyTime を OnNextBoot として HSU 更新タスク トリガーを終了します。
curl -k -u admin:Password https://10.10.10.10/redfish/v1
/UpdateService/Actions/Oem/CiscoUCSExtensions.UCSUpdate
-d '{ "Targets":[], "ApplyTime":"OnNextBoot", "ForceUpdate":true, "ImageRepository":
"10.10.10.10/nfsshare/hsu1s53mad/", "TransferProtocol":"VMEDIA-NFS" }' –XPOST
応答
{
"Messages": [],
"Id": "405",
"Name": "HSU-update",
"StartTime": "01/15/2020 17:10:26 IST",
"TaskState": "New",
"PercentComplete": 0,
"@odata.id": "/redfish/v1/TaskService/Tasks/405",
"@odata.type": "#Task.v1_4_0.Task"
}
タスク ステータスを取得する
curl -k -u admin:Password https://10.10.10.10/redfish/v1/TaskService/Tasks/405
応答
{
"@odata.id": "/redfish/v1/TaskService/Tasks/405",
"@odata.context": "/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"@odata.type": "#Task.v1_4_0.Task",
"Id": "405",
"Name": "HSU-update",
"StartTime": "01/15/2020 17:10:26 IST",
"PercentComplete": 0,
"TaskState": "Running",
"Messages": [],
"TaskMonitor": "/redfish/v1/TaskService/Oem/TaskMonitor/405"
}
上記のコマンドで taskMonitor URI を使用して、更新タスクを終了します。
curl -k -u admin:Password https://10.10.10.10/redfish/v1/TaskService/Oem
/TaskMonitor/405 -XDELETE