Deployment using the API
Replace Storage Pool Device
Replaces a device in a storage pool.
Note: Data evacuation will start shortly after a successful request, if there are vaults on
the storage pool.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP Method
POST /manager/api/{apiResponseType}/1.0/replaceStoragePoolDevice.adm HTTP/1.1
Host:{manager.dsnet}
sourceId={deviceId}&destinationId={destinationId}
Curl Method
curl -u {admin}:{password} -k
"https://{manager.dsnet}/manager/api/json/1.0/replaceStoragePoolDevice.adm" -d
"sourceId={deviceId}&destinationId={destinationId}"
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| sourceId | Long | Required | Slicestor device ID to be replaced in Storage Pool. | |
| destinationId | Long | Required |
|
|
| evacuationEnabled | Boolean | Optional | Start (true) data evacuation immediately after the device is replaced or enable data evacuation later (false). | |
| rateLimitEnabled | Boolean | Optional | false | Enable (true) or disable (false) a
transfer bandwidth rate limit for the evacuation.
|
| rateLimit | Optional | Optional |
|
Response
Returns success or failure status.
JSON Response Example
The default JSON success or failure response is shown in Default JSON Success Response and Default JSON Failure Response.
Parameters
None other than the default response parameters are shown in the Common Response Parameters.