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


Miscellaneous Operations : Data Planner Operations : Modify Data Path Backend

Modify Data Path Backend
Description
Activate the data path or configure automatic data path activation. Setting the auto activation timeout to null disables auto activation. If a tape partition is connected to more than one BlackPearl system, for example, for failover purposes, it is critical that at most one system attached to the same tape partition, is active at a time. Otherwise, multiple BlackPearl systems may issue conflicting requests to robots and tape drives. This can cause data corruption or data loss. If your configuration has only one BlackPearl system, it is safe to increase the auto activate timeout. If your configuration has multiple BlackPearl systems attached to the same tape partition, consider modifying the auto activate timeout to null in order to guarantee that both systems cannot be auto-activated at the same time.
*
Note:
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/data_path_backend[?activated=TRUE|FALSE]{&allow_new_job_requests=TRUE|FALSE} [&auto_activate_timeout_in_mins={32‑bit integer}][&auto_inspect=NEVER|MINIMAL|DEFAULT][&cache_available_retry_after_in_seconds={32-bit integer}][&default_import_conflict_resolution_mode=ACCEPT_EXISTING|ACCEPT_MOST_RECENT|CANCEL][&default_verify_data_after_import=CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND][&default_verify_data_prior_to_import=TRUE|FALSE][&partially_verify_last_percent_of_tapes={32-bit integer}][&unavailable_media_policy=ALLOW|DISCOURAGED|DISALLOW][&unavailable_pool_max_job_retry_in_mins={32‑bit integer}][&unavailable_tape_partition_max_job_retry_in_mins={32‑bit integer}]
Request Parameters
§
DEFAULT — Tapes have inspections scheduled for them if an inspection is necessary given the tape's current state, as well as every time the data path starts up.
§
MINIMAL — Tapes have inspections scheduled for them if an inspection is necessary given the tape's current state.
§
NEVER — Tapes are not automatically scheduled for inspection.
§
ACCEPT_EXISTING — Keep the file currently in the BlackPearl database.
§
ACCEPT_MOST_RECENT — Keep the file with the most recent creation date.
§
CANCEL (default) — Cancel the import process.
The priority for verifying the data after import. This determines the resources assigned and the processing order. Tasks with priority URGENT can use up all of the resources and prevent other jobs from making progress. Use this priority sparingly.
Values: URGENT, HIGH, NORMAL, LOW
§
ALLOW —New job requests for unavailable media are allowed and will retry for the duration of the unavailable_pool_max_job_retry_in_mins or unavailable_tape_partition_max_job_retry_in_mins.
§
DISCOURAGE (default) — Unavailable partitions can be used, but only if no other media is available.
§
DISALLOW — New job requests for unavailable media will fail.
Responses
Response Elements
<Data>
   <Activated>TRUE|FALSE</Activated>
   <AllowNewJobRequests>TRUE|FALSE</AllowNewJobRequests>
   <AutoActivateTimeoutInMins>
      {
32‑bit integer}
   </AutoActivateTimeoutInMins>
   <AutoInspect>DEFAULT|MINIMAL|NEVER</AutoInspect>
   <CacheAvailableRetryAfterInSeconds>
      {
32‑bit integer}
   </CacheAvailableRetryAfterInSeconds>
   <DefaultImportConflictResolutionMode>
      ACCEPT_EXISTING|ACCEPT_MOST_RECENT|CANCEL
   </DefaultImportConflictResolutionMode>
   <DefaultVerifyDataAfterImport>
      URGENT|HIGH|NORMAL|LOW
   </DefaultVerifyDataAfterImport>
   <DefaultVerifyDataPriorToImport>
      TRUE|FALSE
   <PartiallyVerifyLastPercentOfTape>
      {
32‑bit integer}
   </PartiallyVerifyLastPercentOfTape>
   </DefaultVerifyDataPriorToImport>
   <Id>{string}</Id>
   <LastHeartbeat>YYYY-MM-DDThh:mm:ss.xxxZ</LastHeartbeat>
   <UnavailableMediaPolicy>
       ALLOW|DISCOURAGED|DISALLOW
   </UnavailableMediaPolicy>
   <UnavailablePoolMaxJobRetryInMins>
      {32‑bit integer}
   </UnavailablePoolMaxJobRetryInMins>
   <UnavailableTapePartitionMaxJobRetryInMins>
      {32‑bit integer}
   </UnavailableTapePartitionMaxJobRetryInMins>
</Data>
where the response elements are defined as follows:
Values: ACCEPT_EXISTING, ACCEPT_MOST_RECENT, CANCEL
Values: URGENT, HIGH, NORMAL, LOW
Values: ALLOW, DISCOURAGE, DISALLOW
Example
Sample Request
This request activates the data path backend.
PUT http://blackpearl-hostname/_rest_/data_path_backend?activated=TRUE HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Activated>TRUE</Activated>
   <AllowNewJobRequests>TRUE</AllowNewJobRequests>
   <AutoActivateTimeoutInMins>44</AutoActivateTimeoutInMins>
   <AutoInspect>DEFAULT</AutoInspect>
   <CacheAvailableRetryAfterInSeconds>
      300
   </CacheAvailableRetryAfterInSeconds
   <DefaultImportConflictResolutionMode>
      CANCEL
   </DefaultImportConflictResolutionMode>
   <DefaultVerifyDataAfterImport/>
   <DefaultVerifyDataPriorToImport>
      TRUE
   </DefaultVerifyDataPriorToImport>
   <PartiallyVerifyLastPercentOfTape>
      
15
   </PartiallyVerifyLastPercentOfTape>
   <Id>c9cebae2-a312-489e-b92c-84030957983a</Id>
   <LastHeartbeat>2016-01-21T18:53:55.000Z</LastHeartbeat>
   <UnavailableMediaPolicy>DISCOURAGED</UnavailableMediaPolicy>
   <UnavailablePoolMaxJobRetryInMins>
      20
   </UnavailablePoolMaxJobRetryInMins>
   <UnavailableTapePartitionMaxJobRetryInMins>
      20
   </UnavailableTapePartitionMaxJobRetryInMins>
</Data>