HP StoreEver ESL G3 Tape Libraries User Manual
Page 29
Response: application/xml and application/json
Parameters
N/A
Response Code
200, 401, 404, and 500
Method
PUT
Description
Update the control path settings on the requested drives.
See the XML REQUEST DATA examples below for more
details:
Example 1. Configure a Standard CP drive, no CPF. The
controlPath type must be 2 and primary must be set to true.
Example 2. Remove a CP drive, the controlPath type must
be set to 1. This is also used if you want to disable Control
Path in the case where there are CPF drives configured. You
only need to specify the CP drive to disable.
Example 3. Configure Basic CP/CPF pair. The controlPath
type must be set to 3 and one of the drives must have
primary set to true.
Example 4: Set the CP/CPF pair to advanced mode. The
controlPath type must be set to 4.
Example 5: Remove a CPF drive from a CP/CPF pair. The
CPF drive controlPath type must be set to 1 and the CP drive
controlPath type must be set to 2.
Example 6. Add a basic CPF drive to an existing CP drive.
Both drives must have their controlPath type set to 3.
Example 7: Add an advanced CPF drive to an existing ACPF
cluster.
Media Type
Request: application/xml and application/json
Response: application/xml and application/json
Parameters
The query parameters are takePartitionOffline. The valid
values for the query parameters are as follows:
takePartitionOffline
—true or false
This parameter allows you to take the partition offline before
the operation is performed. The partition will be taken online
when the operation has completed. If the partition was
already offline before the operation was performed, it will
be left in that state.
Response Code
200, 401, 403, 404, and 500
XML Request Data (Example 1)
standalone="yes"?>
URI: aml/partition/{name}/controlPath
29