ReconfigureConnection
This method reconfigures the RemoteSite object with connection information for remote
PSC node and propagates the changed values to the paired site.
Synopsis
@task void reconfigureConnection(RemoteSite site, ConnectionSpec spec)
This method returns the
drextapi.Task
to track the operation. For more information,
see SrmExtApiTask. ReconfigureConnection
has the following
parameters:
Field | Description |
---|---|
site | RemoteSite object to reconfigure. For more
information, see GetPairedSite. |
spec | The ConnectionSpec to use for
the remote PSC node connection. |
Task result contains the paired
drextapi.RemoteSite
. For more
information, see GetPairedSite.If the returned task fails, its error field may contain one of the following:
- drextapi.site.fault.SelfPairFault- If this SRM is already registered with the specified PSC/MGMT node.
- drextapi.site.fault.SitePairingFault- Contains the original error when a network connection cannot be established, there are invalid arguments, the remote site name or network connections policy is violated, either this SRM or the SRM registered with the given PSC/MGMT node is not paired with the other, another pair operation is in progress or there was other error while repairing sites.