Replace a storage pool device

Replaces a device in a storage pool.

Note: Data evacuation will start shortly after a successful request, if vaults on the storage pool exist.

Request

Security

Table 1. Roles capable of executing the Replace Storage Pool Device (replaceStoragePoolDevice) API method
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

Table 2. Request Parameters for Replace Storage Pool Device (replaceStoragePoolDevice) API method
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.