DiscoverArrays

Discovers storage arrays configured for replication by executing SRA command discoverArrays. Ids of discovered array must be unique across all array managers that use the same SRA.

Synopsis

@task ArrayInfo[] discoverArrays()
discoverArrays
returns a task instance to monitor the asynchronous operation of this method. Array of
ArrayInfo
objects is returned as task result.
ArrayInfo
class describes storage array configured for replication. For more information, see GetArrayInfo.
If a task fails, its error field may contain one of the following:
  • drextapi.fault.CommandFailed
    - if SRA failed to execute discoverArrays command.
  • drextapi.fault.StorageAdapterNotFound
    - if SRA was not found for this array manager.
  • drextapi.fault.DuplicateArray
    - if an array, which is already discovered by another array manager with the same SRA, was discovered.
  • drextapi.fault.ArrayPairNotFound
    - if arrays are not found for already configured array pair.

Faults

  • RuntimeFault
  • TaskInProgress