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


Miscellaneous Operations : System Operations : Reset Instance Identifier

Reset Instance Identifier
Description
Reset and regenerate the BlackPearl system instance identifier. Resetting the instance identifier is only necessary in rare circumstances where there are two branches of an instance running at the same time. One of the two branches must have its instance identifier reset if the two instances are to replicate between each other. The most common occurrence of this is when one instance is initially configured with dual copy where one copy goes on one library and the other copy goes on the other, then a new BlackPearl system is added and one library and the new system moved to another physical location. In this case, both systems would start with the same database and each would have the persistence rule and storage domain for the remote library converted to a replication rule. This requires that one or both sites have their instance identifier reset first.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/instance_identifier/
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
   </DefaultVerifyDataPriorToImport>
   <Id>{
string}</Id>
   <InstanceId>{string}</InstanceId>
   <LastHeartbeat>YYYY-MM-DDThh:mm:ss.xxxZ</LastHeartbeat>
   <PartiallyVerifyLastPercentOfTape>
      {
32‑bit integer}
   </PartiallyVerifyLastPercentOfTape>
   <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 gets information about the data path backend.
PUT http://blackpearl-hostname/_rest_/instance_identifier/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Activated>TRUE</Activated>
   <AllowNewJobRequests>TRUE</AllowNewJobRequests>
   <AutoActivateTimeoutInMins>30</AutoActivateTimeoutInMins>
   <AutoInspect>DEFAULT</AutoInspect>
   <CacheAvailableRetryAfterInSeconds>
      300
   </CacheAvailableRetryAfterInSeconds
   <DefaultImportConflictResolutionMode>
      CANCEL
   </DefaultImportConflictResolutionMode>
   <DefaultVerifyDataAfterImport/>
   <DefaultVerifyDataPriorToImport>
      TRUE
   </DefaultVerifyDataPriorToImport>
   <Id>7d7601d0-4dba-47a4-8235-8a1ceefe91fa</Id>
   <InstanceId>11c2fc62-075c-4dd6-82b6-9b951638a95d</InstanceId>
   <LastHeartbeat>2016-01-21T18:53:55.000Z</LastHeartbeat>
   <PartiallyVerifyLastPercentOfTape>
      {
15}
   </PartiallyVerifyLastPercentOfTape>
   <UnavailableMediaPolicy>DISCOURAGED</UnavailableMediaPolicy>
   <UnavailablePoolMaxJobRetryInMins>
      20
   </UnavailablePoolMaxJobRetryInMins>
   <UnavailableTapePartitionMaxJobRetryInMins>
      20
   </UnavailableTapePartitionMaxJobRetryInMins>
</Data>