Spectra Logic
1-800-833-1132 : 1-303-449-6400


Advanced Bucket Management Operations : Storage Domain Operations : Create Pool Storage Domain Member

Create Pool Storage Domain Member
Description
Adds the specified pool partition as a member of the specified storage domain.
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/storage_domain_member?pool_partition_id={string}&storage_domain_id={string}[&write_preference=HIGH|NORMAL|LOW|NEVER_SELECT]
Request Parameters 
Determines the preferred usage of the pool partition when additional capacity is needed. The BlackPearl system uses a partition with HIGH write_preference before a partition with a NORMAL write_preference, and so on. Use NEVER_SELECT to indicate that the partition is read-only.
Values: HIGH, NORMAL (default), LOW, NEVER_SELECT
Responses
Response Elements
<Data>
   <Id>{
string}</Id>
   <PoolPartitionId>{string}</PoolPartitionId>
   <State>NORMAL</State>
   <StorageDomainId>{string}</StorageDomainId>
   <TapePartitionId/>
   <TapeType/>
   <WritePreference>HIGH|NORMAL|LOW|NEVER_SELECT</WritePreference>
</Data>
where the response elements are defined as follows:
§
NORMAL — The storage domain member is included normally.
The preferred usage of the pool partition when additional capacity is needed. The BlackPearl system uses a partition with HIGH write_preference before a partition with a NORMAL write_preference, and so on. A value of NEVER_SELECT indicates that the partition is read-only.
Values: HIGH, NORMAL, LOW, NEVER_SELECT
Example
Sample Request
This request creates a pool storage domain member for the pool partition with the UUID a541c709-cceb-4d86-a23c-1998858ae854 in the storage domain with the UUID 9b186102-c116-496f-a6a3-fb392c0060b6.
POST http[s]://blackpearl-hostname/_rest_/storage_domain_member?pool_partition_id=a541c709-cceb-4d86-a23c-1998858ae854&storage_domain_id=9b186102-c116-496f-a6a3-fb392c0060b} HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <Id>c2d066b1-2563-4db9-a452-f681d57110c6</Id>
   <PoolPartitionId>
      a541c709-cceb-4d86-a23c-1998858ae854
   </PoolPartitionId>
   <State>NORMAL</State>
   <StorageDomainId>
      9b186102-c116-496f-a6a3-fb392c0060b6
   </StorageDomainId>
   <TapePartitionId/>
   <TapeType/>
   <WritePreference>HIGH</WritePreference>
</Data>