Western Digital OpenFlex Data24 DCS0010 User Manual page 86

Hide thumbs Also See for OpenFlex Data24 DCS0010:
Table of Contents

Advertisement

User Guide
Transfer-Encoding: chunked
Step 4 : Using the Etag from the GET request, issue a PUT request to the same resource, passing the key/
value pair of
curl -v -u <username>:<password> -X PUT -H "If-
Match:783e532540dc6b3e4978604a2f3e0353" -H "Content-Type: application/json" -d
'{"FirmwareUpdate":true}' http://10.20.30.40/Storage/Devices/0123456789/
A successful PUT request will result in a 202 response:
HTTP/1.1 202 Accepted
Content-Type: application/json
Location: http://10.20.30.40:80/Storage/Devices/0123456789/Jobs/
FirmwareUpdate/
Date: Thu, 24 Sep 2020 21:53:41 GMT
Content-Length: 166
Step 5 : To verify a successful update, issue a GET request to the listed
curl -i -u admin:admin -X GET http://10.20.30.40:80/Storage/
Devices/0123456789/Jobs/FirmwareUpdate/
If the update was successful, the GET response body will show a completed status:
{
"Self": "http://10.20.30.40:80/Storage/Devices/0123456789/Jobs/
FirmwareUpdate/",
"ID": "FirmwareUpdate",
"PercentComplete": 100,
...
}
Step 6 : Using the Etag again, issue another PUT request, passing the key/value pair of
"FirmwareActivate":true
curl -v -u <username>:<password> -X PUT -H "If-
Match:783e532540dc6b3e4978604a2f3e0353" -H "Content-Type: application/json" -d
'{"FirmwareActivate":true}' http://10.20.30.40/Storage/Devices/0123456789/
A successful PUT request will result in a 202 response:
HTTP/1.1 202 Accepted
Content-Type: application/json
Location: http://10.20.30.40:80/Storage/Devices/0123456789/Jobs/
FirmwareActivate/
Date: Thu, 24 Sep 2020 22:04:07 GMT
Content-Length: 166
Step 7 : To verify a successful activation, issue a GET request to the listed
resource:
curl -i -u admin:admin -X GET http://10.20.30.40:80/Storage/
Devices/0123456789/Jobs/FirmwareActivate/
If the activation was successful, the GET response body will show a completed status:
{
"FirmwareUpdate":true
to activate the firmware:
4.5 Enclosure Firmware Update
to update the firmware:
FirmwareUpdate
4. Management
jobs resource:
jobs
FirmwareActivate
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Openflex data24Dcs0010

Table of Contents