Replace a storage pool device
Replaces a device in a 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}“Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| sourceId | String | Required |
The Slicestor device to be replaced in the storage pool. |
|
| destinationId | Long | Required |
The Slicestor device that is moving into the storage pool. This device cannot already be in a storage pool. |
|
| evacuationEnabled | Boolean | Optional |
Flag used to set if data evacuation should occur when the device replacement is executed. Setting to false means that device evacuation will not occur immediately upon replacement and must be enabled at a later time. |
|
| rateLimitEnabled | Boolean | Optional |
Flag if a rate limit should be enabled for the device evacuation, once it begins. |
|
| rateLimit | Integer | Optional |
Rate limit (in megabytes) to set for the evacuation from sourceId to destinationId. Use a rate limit to lower the impact that device data evacuation has on the rest of the system. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.