The /SHOW-REMOTE-COPY-STATUS
command indicates the remote copy status.
The remote copy status can be: ACTIVE, ERROR, IN-HOLD
or BROKEN
.
The status depends on the availability of the source units, target units and (at least one) remote link. The physical volumes containing the source or target unit must therefore be ready. It is not sufficient that the source or target unit can be addressed from the system.
ACTIVE
If the source unit and target unit are ready and there is a link between the local and remote storage systems, the remote copy status is ACTIVE
(normal status in remote copy mode).
The remote copy status ACTIVE
is characterized by the following outputs:
Output | Output field | Command |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The output field LAST-STA-CHNG
is not supplied with information.
Examples
/SHOW-REMOTE-COPY-STATUS UNIT=9A01 % ----------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYNC!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! ! !-RA!R-C!R-C % ============================================================================= % 9A01 9C01 S351.1!ACTIVE SYNC BY-SRC! - !AVAIL.!100%! - !NO ! -
/SHOW-STORAGE-DEVICE-CONFIG UNIT=9A01,CONF=*REM-COPY-PAIRS,INF=*ALL % ----------------------------------------------------------------------------- % UNIT VOL TYPE SERIAL-NO LOG- STA TIER RAID REM LOC SIZE: % VOLUME TYPE COPY CURR/MAX. % ============================================================================= % 9A01 S351.1 D3435 4621347002 000C3 RDY SAS 5 S -/- 14/ 14 GB % 9C01 D3435 4621349005 000C3 N-R SAS 5 T -/- - / 14 GB % ------------------------------------------------------ % UNIT VOL !HOST-LUN! POOL-NAME !OWNING-CONTR % ====================================================== % 9A01 S351.1! 1 ! RG900_04 !CM00 % 9C01 ! 1 ! RG900_04 !CM00
ERROR
If one of the units or the last remote link fails, the remote copy status is ERROR
. You can use /SHOW-REMOTE-COPY-STATUS
to display the failed component: one or more components of the remote copy pair will have the status ERROR
or NOT-AVAIL
. The SYNC
status displays a value under 100% if the source and the target units are no longer synchronized.
The output field LAST-STA-CHNG
is not supplied with information.
Example
/SHOW-REMOTE-COPY-STATUS UNIT=9A01 % ----------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYNC!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! ! !-RA!R-C!R-C % ============================================================================= % 9A01 9C01 S351.1!ERROR SYNC BY-SRC! - !NOT-AV!100%! - !NO ! -
IN-HOLD
When remote copy mode is halted from the outside but the source unit, target unit and also the remote links are physically available, the remote copy status is IN-HOLD
. In this case you can use the /RESUME-REMOTE-COPY
command to resume operation.
The output field LAST-STA-CHNG
displays how much time has elapsed since remote mirroring was halted (format <days>:HH:MM:SS
).
The remote copy status IN-HOLD
is also displayed if the target units were released following the failure of the source units. This is also the case when the source unit and remote link are not yet available again. In this case the RESUME-REMOTE-COPY
command is rejected.
Example
/SHOW-REMOTE-COPY-STATUS UNIT=9A02 % ----------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYNC!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! ! !-RA!R-C!R-C % ============================================================================= % 9A02 9C02 S351.2!IN-HOLD SYNC DIRECT! 0.06:13:48!NOT-AV!100%! - !NO ! -
BROKEN
The remote copy status BROKEN occurs when remote copy mode fails because of a serious problem and cannot be restored, e.g. when one of the storage systems involved needs to be completely replaced. Owing to the problem, only the source unit or only the target unit is available. In this case the remote copy pair can only be canceled with /STOP-REMOTE-COPY.