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


Advanced Bucket Management Operations : Storage Domain Operations : Get Storage Domain Members

Get Storage Domain Members
Description
Get information about all storage domain members. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/storage_domain_member[?last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&pool_partition_id={string}][&state={string}][&storage_domain_id={string}][&tape_partition_id={string}][&tape_type=LTO5|LTO6|LTO7|LTO8|LTOM8|LTO_CLEANING_TAPE|TS_JC| TS_JY| TS_JK|TS_JD|TS_JZ|TS_JL|TS_CLEANING_TAPE|UNKNOWN|FORBIDDEN][&write_preference=HIGH|NORMAL|LOW|NEVER_SELECT]
Request Parameters 
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
§
NORMAL — The storage domain member is included normally.
The tape media type.
Values:
LTO5, LTO6, LTO7, LTO8, LTOM8, LTO_CLEANING_TAPE, TS_JC, TS_JY, TS_JK, TS_JD, TS_JZ, TS_JL, TS_CLEANING_TAPE, UNKNOWN, FORBIDDEN
The preferred usage of the tape 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
Responses
Response Elements
<Data>
   <StorageDomainMember>
      <Id>{
string}</Id>
      <PoolPartitionId>{string}</PoolPartitionId>
      <State>NORMAL</State>
      <StorageDomainId>{string}</StorageDomainId>
      <TapePartitionId>{string}</TapePartitionId>
      <TapeType>{string}</TapeType>
      <WritePreference>
         HIGH|NORMAL|LOW|NEVER_SELECT
      </WritePreference>
   </StorageDomainMember>
   ...
</Data>
where the response elements are defined as follows:
§
NORMAL — The storage domain member is included normally.
Values: LTO5, LTO6, LTO7, LTO8, LTOM8, LTO_CLEANING_TAPE, TS_JC, TS_JY, TS_JK, TS_JD, TS_JZ, TS_JL, TS_CLEANING_TAPE, UNKNOWN, FORBIDDEN
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 gets information about all storage domain members on the BlackPearl system.
GET http://blackpearl-hostname/_rest_/storage_domain_member/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <StorageDomainMember>
      <Id>c3e680ac-8426-4424-bdcc-e5a6b0d66638</Id>
      <PoolPartitionId>
         f58631f4-db97-4686-850f-5db17d509625
      </PoolPartitionId>
      <State>NORMAL</State>
      <StorageDomainId>
         aca7aecf-5bf6-4b03-bb7d-996df3963f39
      </StorageDomainId>
      <TapePartitionId/>
      <TapeType/>
      <WritePreference>NORMAL</WritePreference>
   </StorageDomainMember>
   <StorageDomainMember>
      <Id>d9a2f5c6-19b8-4818-9b89-495190a4b0f3</Id>
      <PoolPartitionId/>
      <State>NORMAL</State>
      <StorageDomainId>
         a3f0888c-9d0c-455c-ae8c-050970c2dab9
      </StorageDomainId>
      <TapePartitionId>
         8fff1c7e-8a3e-4e00-8b16-8585b130300f
      </TapePartitionId>
      <TapeType>LTO5</TapeType>
      <WritePreference>HIGH</WritePreference>
   </StorageDomainMember>
</Data>