The following scenario uses XRC commands to support migration mode. The scenario objective is to migrate a set of volumes from one site to another site, and ensure data consistency to a known point in time after the migration. The migration mode cannot be used for coupled sessions.
XSTART TUCSON SESSIONTYPE(MIGRATE) ERRORLEVEL(VOLUME) HLQ(NEW)
XADDPAIR TUCSON VOLUME(PRIM01,SECO01 PRIM02,SECO02)
The error response level defaults to what is specified on the XSTART command, which is VOLUME. (Normal data processing continues.)
XSUSPEND TUCSON DRAIN TIMEOUT(03.30.00)
The timeout duration of three hours and 30 minutes means that you plan to restart this session by an XSTART command before this timeout duration has passed.
XRECOVER TUCSON HLQ(NEW)
The migration is now complete with the secondary volumes consistent up to the time reported by the XRECOVER command.