Remote copy mode must be interrupted because the local storage system must remain ready for operation during the tests.
Actions on the local system
Before remote copy mode is interrupted, the
/MODIFY-REMOTE-COPY-PARAMETER
command must be specified withON-ERROR=*CONTINUE
. Otherwise the source unit will reject all writes./MODIFY-REMOTE-COPY-PARAMETER UNIT=<MN of source unit> / *BY-VOLUME(VOLUME=<vsn>) / *BY-PUBSET(PUBSET=<cat-id>) / *BY-SYMMETRIX(SERIAL-NUMBER= <serialnumber of controller with source unit> ,LOGICAL-VOLUME=*ALL-SOURCES / <internal device number>) ,ON-ERROR=*CONTINUE
It is important to specify the
ON-ERROR=*CONTINUE
operand.The source unit and target unit must be synchronized or be consistent. The processing mode must therefore be set to
SYNCH
orASYNCH
because pending writes could be noted inADAPTIVE-COPY
processing mode./MODIFY-REMOTE-COPY-PARAMETER UNIT=<MN of source unit> / *BY-VOLUME(VOLUME=<vsn>) / *BY-PUBSET(PUBSET=<cat-id>) / *BY-SYMMETRIX(SERIAL-NUMBER= <serialnumber of controller with source unit> ,LOGICAL-VOLUME=*ALL-SOURCES / <internal device number>) ,COPY-MODE=*SYNCH / *ASYNCH
It is important to specify the
COPY-MODE=*SYNCH
operand for synchronous remote copy pairs orCOPY-MODE=*ASYNCH
for consistent remote copy pairs.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 (formatDDDD.HH:MM:SS
) which has passed since the last time the remote replication function was halted or resumed.Terminate applications, if necessary, to maintain data consistency on the source and target units.
Check whether the source and target units are synchronized or are consistent.
For
COPY-MODE=*SYNCH
:Global check:
YES
is shown in theSYNCH
field/SHOW-REMOTE-COPY-STATUS UNIT=587C,INFORMATION=*SUMMARY % --------------------------------------------------------------------------- % 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:38!AVAIL.!YES! 10!NO ! -
/SHOW-SYMMETRIX-DEVICE-CONFIG UNIT=<MN der Source-Unit> / <MN of target unit> ,CONFIGURATION=*REMOTE-COPY-PAIRS ,INFORMATION=*PHYSICAL
Detailed check: The number of pending writes for the target unit must be 0 (see the grayed field in the example below).
Example[Targets detached!]
/SHOW-SYMMETRIX-DEVICE-CONFIG UNIT=(28AA),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 % ============================================================================= % 28AA XXXX.0 D3435 000190100207 RDY - 5/- S/- -/-/- 3984/ 3984 MB % 5FA0 D3435 000287400368 N-R - 5/- T/- -/-/- - / 3984 MB % ---------------------------------------------------------------------------- % UNIT VOL !INTERNAL-DISK: PHYSICAL-INFORMATION % !TYPE PENDING DA-NO DISK STA !TYPE PENDING DA-NO DISK STA % ============================================================================ % 28AA XXXX.0!REMOTE: 0 MB READY % !RAID5 : 16C C7 READY!RAID5 : 2C C7 READY % !RAID5 : 1D C7 READY!RAID5 : 15D C7 READY % 5FA0 !REMOTE: 0 MB READY % !RAID5 : 16A D8 READY!RAID5 : 16B C8 READY % !RAID5 : 1C C8 READY!RAID5 : 1D D8 READY
For
COPY-MODE=*ASYNCH
(SRDF/A):Global check:
Y
is shown in theTARGET-UNIT
:CONS
field/SHOW-REMOTE-COPY-STATUS UNIT=3AAB,INFORMATION=*ASYNCHRONOUS-SESSION % ------------------------------------------------------------------------- % SRC TARG !SRDF/A-SESSION: !TARGET-UNIT: % UNIT UNIT !ACT NUM CYCL# #DEV T-PEND CYCL-T!PEND LAG-T CONS PROT % ========================================================================= % 3AAB 38AB ! Y 0 6 29 0 MB 00:29! 0 MB 00:50 Y DIS % -------------------------------------------------------------------------
Interrupt remote copy mode.
/HOLD-REMOTE-COPY UNIT=<MN of source unit> / *BY-VOLUME(VOLUME=<vsn>) / *BY-PUBSET(PUBSET=<cat-id>) / *BY-SYMMETRIX(SERIAL-NUMBER=<ser-no>, LOGICAL-VOLUME=*ALL-SOURCE-UNITS(RA-GROUP=<no>))
The local system continues processing using only the source units.
Example/SHOW-REMOTE-COPY-STATUS UNIT=587C,INFORMATION=*SUMMARY % --------------------------------------------------------------------------- % 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! 47.11:58:38!AVAIL.!YES! 10!NO ! -
The information output reflects the view on the remote copy pair and not on an individual unit. The
/SHOW-SYMMETRIX-DEVICE-CONFIG
command (see "SHOW-SYMMETRIX-DEVICE-CONFIG Displays the device configuration (Symmetrix/VMAX3)") supplies detailed information on a unit.
Actions on the standby system
The remote links need not be deactivated as long as remote copy mode is interrupted. This can be done by the recovery procedures. Before you start the test, you should therefore ensure that no other unit is using these remote links.
Enable the target path by setting the target units to
READY
./SET-REMOTE-COPY-ACCESS UNIT=<MN of target unit> / *BY-VOLUME(VOLUME=<vsn>) / *BY-PUBSET(PUBSET=<cat-id>) / *BY-SYMMETRIX(SERIAL-NUMBER=<target serialnumber> ,LOGICAL-VOLUME=*ALL-TARGET-UNITS(RA-GROUP=<no>)) ,TARGET-ACCESS=*DIRECT
The standby system can access the target units once this command has been executed. The recovery procedures can now be tested. The local system continues to access the source units because the
/SET-REMOTE-COPY-ACCESS
command does not affect on the source units if/HOLD-REMOTE-COPY
was issued beforehand.The
*BY-VOLUME
operand may only be used if the target unit wasREAD-ONLY
and is unique, or if the source unit was accessible, i.e. VSN was readable on the unit.The
*BY-PUBSET
operand can be only used if the source unit was accessible and the pubset is imported on this server.If the source unit and target unit were not fully synchronized before
/HOLD-REMOTE-COPY
was issued, and ifPENDING-UPDATES
are not allowed, transition of the target unit toREADY
is rejected. This prevents the use of invalid data. This can be overridden by the following command./SET-REMOTE-COPY-ACCESS UNIT=<MN of target unit> / *BY-VOLUME(VOLUME=<vsn>) / *BY-PUBSET(PUBSET=<cat-id>) / *BY-SYMMETRIX(SERIAL-NUMBER=<target serialnumber> ,LOGICAL-VOLUME=*ALL-TARGET-UNITS(RA-GROUP=<no>)) ,TARGET-ACCESS=*DIRECT(ALLOW-PEND-UPDATES=*YES)
Example/SHOW-REMOTE-COPY-STATUS UNIT=587C,INFORMATION=*SUMMARY % --------------------------------------------------------------------------- % 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 DIRECT! 47.11:58:38!AVAIL.!NO ! 10!NO ! - % --------------------------------------------------------------------------
The information output reflects the view on the remote copy pair and not on an individual unit. The
/SHOW-SYMMETRIX-DEVICE-CONFIG
command (see "SHOW-SYMMETRIX-DEVICE-CONFIG Displays the device configuration (Symmetrix/VMAX3)") supplies detailed information on a unit.