Creates ReplicatedArrayPair object for a given pair of storage arrays.
Synopsis
@task ReplicatedArrayPair addArrayPair(String arrayId, String peerArrayId)
addArrayPair returns task instance to monitor the asynchronous operation of this method.
ReplicatedArrayPair
object is returned as task result.
addArrayPair has the following parameters:
Field | Description |
---|---|
arrayId | Array identifier of the local storage |
peerArrayId | Identifier of the storage array at the remote site |
If a task fails, its error field may contain one of the following:
- drextapi.fault.ArrayNotFound - if array with ID arrayId cannot be found at local site, or if array with ID peerArrayId cannot be found at remote site.
- drextapi.fault.ReplicatedArrayPairAlreadyExists - if an array pair involving same arrayId and peerArrayId already exists.
- drextapi.fault.PeerArrayNotFound - if peerArrayId is not a valid peer of array pointed by arrayId on local site, or if arrayId is not a valid peer of array pointed by peerArrayId on remote site.
- drextapi.fault.ConnectionDownFault - if the other site involved in the operation could not be reached.
Faults
- RemoteSiteNotEnabled
- RuntimeFault
- TaskInProgress
- vim.fault.InvalidArgument
See Faults in Site Recovery Manager API for more details.