62
SuperStorage SSG-136R-N32JBF User's Manual
Reassigning a Drive
1.
To change drive assignment, you must first create a .txt file that includes your changes
in JSON format. For example:
{
"Endpoints": [
{
"@odata.id": "/redfish/v1/Fabrics/1/Endpoints/1"
},
{
"@odata.id": "/redfish/v1/Fabrics/1/Endpoints/7"
},
{
"@odata.id": "/redfish/v1/Fabrics/1/Endpoints/5"
}
]
}
In the above example, endpoint 19 (drive 23) was removed from zone 1, and endpoints 7
and 5 (drives 29 and 31) were added to zone 1.
2. In the command line interface, run the following command:
$ curl -k --http1.0 --user ADMIN:ADMIN -X PATCH -d @<text.txt>
https://<IP Address>/redfish/v1/Fabrics/1/Zones/1
For <IP Address>, use the IP address of the system (see Section C.5). For <text.txt>, use
the file name of the text file you saved. For "Zones/1" replace "1" with the zone number
corresponding to the host on which you are making drive assignment changes.
The following output indicates success:
{"Success":{"code":"Base.1.0.0.Success","Message":"Successfully
Completed Request."}}
3. To verify your changes, perform the "Getting Drive Information" procedure.