The ON-ERROR
remote copy parameter allows you to control how the storage system responds when part of the remote copy pair is no longer available (if the remote link or the source or target unit fails).
If the storage system with the source unit fails, this parameter has no effect. The application encounters an error (REMOUNT message) because neither the remote link nor the source or the target unit is available.
ON-ERROR=*CONTINUE
In the event of a failure, work continues with the remaining unit; the applications are not stopped. If the target unit fails, a subsequent switch to the target unit is not possible.
ON-ERROR=*HOLD
In the event of a failure (of the remote link or target unit), the storage system with the source units rejects all further writes; the applications are stopped and wait for a response.
A decision can then be made (automatically or by the user) as to whether to continue with the source unit alone or to suspend operation in order to preserve data consistency.
Enter the following commands to resume operation:
/MODIFY-REMOTE-COPY-PARAMETER ...,ON-ERROR=*CONTINUE /SET-REMOTE-COPY-ACCESS ...,TARGET-ACCESS=*BY-SOURCE
ON-ERROR=*HOLD
must not be specified for paging units. Otherwise it may be that no further SHC-OSD commands can be executed.
With the ON-ERROR=*HOLD
setting, suspension of remote copy mode by means of /HOLD-REMOTE-COPY
is rejected by default to prevent application interruption.