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


Spectra BlackPearl Converged Storage System : Hardware Operations : Tape Library and Component Operations : Eject Storage Domain Blobs

Eject Storage Domain Blobs
Description
Ejects all tapes that are eligible to be ejected within the specified storage domain for the included blob payload. Tapes are not eligible for ejection if secure_media_allocation=true for the storage domain (see secure_media_ allocation). If a tape is in use, it is ejected once it is no longer in use.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/tape?operation=EJECT&blobs&bucket_id={string}&storage_domain_id={string}][&eject_label={string}]​[&eject_location={string}]
Request Parameters
Request Elements
An XML payload, formatted as follows, must be sent to specify object parts to eject:
<Objects>
   <Object Name="{
string}" Version_Id="{string}/>
</Objects>
where the parameters are defined as follows:
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
§
Example
Sample Request
This request queues all eligible tapes in the storage domain with UUID 2a48ae2c-5c0e-47c4-a800-ec54aa4f7abc, assigned to “bucket1” and containing pieces of the object “Object1”, to be ejected.
PUT http://blackpearl-hostname/_rest_/tape?operation=EJECT&blobs&bucket_id=bucket1&storage_domain_id=2a48ae2c-5c0e-47c4-a800-ec54aa4f7abc HTTP/1.1
<Objects>
   <Object Name="Object1">
</Objects>
Sample Response
HTTP/1.1 204 No Content