The /SHOW-REMOTE-COPY-STATUS
command indicates the remote copy status.
The remote copy status can be: ACTIVE
, ERROR
or IN-HOLD
.
The status depends on the availability of the physical 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 server.
A timestamp is stored in the storage system each time the remote copy status changes. This timestamp is output as the LAST-STA-CHNG
field in the /SHOW-REMOTE-COPY
command and displays the time (format DDDD.HH:MM:SS
) which has passed since the last time the remote replication function was halted or resumed.
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).
The remote copy status ACTIVE
is characterized by the following outputs:
Output | Output field | Command |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
/SHOW-REMOTE-COPY-STATUS UNIT=587C % --------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYN!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! !CH !-RA!R-C!R-C % =========================================================================== % 587C 5FA0 XXXX.0!ACTIVE SYNC BY-SRC! 47.11:58:12!AVAIL.!YES! 10!NO ! -
/SHOW-SYMMETRIX-DEVICE-CONFIG UNIT=8280,CONF=*REM-COPY-PAIRS,INF=*ALL % ----------------------------------------------------------------------------- % UNIT VOL TYPE CONTR-UNIT1 STA TIER- RAID REM- TIME- SIZE: % /SERIAL-NO TYPE /META COPY FINDER CURR./MAXIMUM % ============================================================================= % 8280 SMEC.0 D3435 8200 RDY FC 1/- S/- -/-/- 3840/ 3840 MB % 5280 D3435 5200 N-R FC 1/- T/- -/-/- - / 3840 MB % ---------------------------------------------------------------------------- % UNIT VOL !INTERNAL-DISK: PHYSICAL-INFORMATION % !TYPE PENDING DA-NO DISK STA !TYPE PENDING DA-NO DISK STA % ============================================================================ % 8280 SMEC.0!LOCAL : 0 MB 6C C9 READY!MIRROR: 0 MB 8A C9 READY % !REMOTE: 0 MB READY % 5280 !REMOTE: 0 MB READY!LOCAL : 0 MB 6C C9 READY % !MIRROR: 0 MB 8A C9 READY
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-AV
. The SYNCH
status is NO
if the source and the target units are no longer synchronized.
Example
/SHOW-REMOTE-COPY-STATUS UNIT=587C % --------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYN!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! !CH !-RA!R-C!R-C % =========================================================================== % 587C 5FA0 XXXX.0!ERROR SYNC NONE ! 0.01:38:12!NOT-AV!NO ! 10!NO ! -
IN-HOLD
The remote copy status is IN-HOLD
if /HOLD-REMOTE-COPY
has been executed. In this case, the status of the target unit is always ERROR
(can be displayed using /SHOW-REMOTE-COPY-STATUS
).
Example
/SHOW-REMOTE-COPY-STATUS UNIT=587C % --------------------------------------------------------------------------- % SRC TAR VOLUME!REMOTE-COPY TARGET!LAST-STA-CHNG!LINK !SYN!SRC!CON!CAS % UNIT UNIT !STATE MODE ACCESS!DDDD.HH:MM:SS! !CH !-RA!R-C!R-C % =========================================================================== % 587C 5FA0 XXXX.0!IN-HOLD SYNC BY-SRC! 1.10:58:54!AVAIL.!NO ! 10!NO ! -