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


Hardware Operations : Pool Operations : Get Pools

Get Pools
Description
Get a list of all pools. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/pool[?assigned_to_storage_domain=TRUE|FALSE][&bucket_id={string}][&health=OK|DEGRADED][&last_page][&name={string}][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&partition_id={string}][&powered_on=TRUE|FALSE][&state=NORMAL|FOREIGN|IMPORT_IN_PROGRESS|IMPORT_PENDING|LOST][&storage_domain_id={string}][&type=NEARLINE|ONLINE]
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.
Whether the pool is powered on. This is always TRUE for pools with type=ONLINE. Values: TRUE, FALSE
The status of the pool. Values: BLANK, NORMAL, FOREIGN, IMPORT_IN_PROGRESS, IMPORT_PENDING, LOST. State.
The type of pool.
Values:
NEARLINE (ArcticBlue), ONLINE (SAS)
a.
Responses
Response Elements
<Data>
   <Pool>
      <AssignedToStorageDomain>
         TRUE|FALSE
      </AssignedToStorageDomain>
      <AvailableCapacity>{
64‑bit integer}</AvailableCapacity>
      <BucketId>{string}</BucketId>
      <Guid>{string}</Guid>
      <Health>OK|DEGRADED</Health>
      <Id>{string}</Id>
      <LastAccessed>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastAccessed>
      <LastModified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastModified>
      <LastVerified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastVerified>
      <Mountpoint>/{string}</Mountpoint>
      <Name>{string}</Name>
      <PartitionId>{string}</PartitionId>
      <PoweredOn>TRUE|FALSE</PoweredOn>
      <Quiesced>NO|PENDING|YES</Quiesced>
      <ReservedCapacity>{64‑bit integer}</ReservedCapacity>
      <State>
         NORMAL|FOREIGN|IMPORT_IN_PROGRESS|IMPORT_PENDING|LOST
      </State>
      <StorageDomainId>{string}</StorageDomainId>
      <TotalCapacity>{64‑bit integer}</TotalCapacity>
      <Type>NEARLINE|ONLINE</Type>
      <UsedCapacity>{64‑bit integer}</UsedCapacity>
   </Pool>
   ...
</Data>
where the response elements are defined as follows:
The status of the pool. Values: BLANK, NORMAL, FOREIGN, IMPORT_IN_PROGRESS, IMPORT_PENDING, LOST. State.
The type of pool.
Values:
NEARLINE (ArcticBlue), ONLINE (SAS)
Example
Sample Request
This request retrieves information about all pools associated with the BlackPearl Converged Storage System.
GET http://blackpearl-hostname/_rest_/pool/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Pool>
      <AssignedToStorageDomain>FALSE</AssignedToStorageDomain>
      <AvailableCapacity>10000</AvailableCapacity>
      <BucketId/>
      <Guid>6a0a51b0-8318-4945-a67a-c890c0ab92de</Guid>
      <Health>OK</Health>
      <Id>a124e769-be69-4ae5-8846-9a58f40d28f1</Id>
      <LastAccessed/>
      <LastModified/>
      <LastVerified/>
      <Mountpoint>/mountpoint-0</Mountpoint>
      <Name>pool0</Name>
      <PartitionId/>
      <PoweredOn>TRUE</PoweredOn>
      <Quiesced>NO</Quiesced>
      <ReservedCapacity>0</ReservedCapacity>
      <State>NORMAL</State>
      <StorageDomainId/>
      <TotalCapacity>30000</TotalCapacity>
      <Type>NEARLINE</Type>
      <UsedCapacity>20000</UsedCapacity>
   </Pool>
   ...
</Data>