Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This procedure describes how to perform basic SRDF failover and failback operations between
the source (R1) devices and the target (R2) devices located at separate Symmetrix sites (A and
B).
Done
In a period of scheduled downtime for maintenance, or after a serious system problem which
has rendered either the host or Symmetrix array containing the source (R1) devices
unreachable, no read/write operations can occur on the source (R1) device. In this situation, a
failover operation should be initiated to make the target (R2) devices read/write enabled to their
local host(s) at site B.
After resolution of any system problems or completion of scheduled maintenance tasks, a
failback operation is performed to resume normal SRDF operations by initiating read/write
operations on the source (R1) devices, and stopping read/write operations on the target (R2)
devices. The target (R2) devices become read-only to their local host(s) while the source (R1)
devices are read/write enabled back to their local host(s).
These instructions use the Solutions Enabler SYMCLI command line interface to manage
devices by a device group. The user should be familiar with the concepts of SRDF, and have
some experience using Solutions Enabler SYMCLI commands before attempting this procedure.
This procedure is based on contents from the following EMC manuals:
These documents can be obtained from the EMC Powerlink website at:
http://Powerlink.EMC.com
1.
For example, to perform a failover on all the RDF pairs in the prod device group, enter:
symrdfgprodfailover
To perform a failover on one RDF pair with device DEV001 in the prod device group, enter:
symrdfgprodfailoverDEV001
To perform a failover on a list of RDF pairs in the device group prod, enter:
symrdfgprodfailoverDEV001DEV002
Note: To invoke a failover, the RDF pair(s) must already be in one of the following states:
Synchronized
Suspended
R1 Updated
srdfFailoverandFailback_sym001
Partitioned (when you are invoking this operation from the target side)
Transmit Idle (with the immediate option if this operation is on the target side)
Note: This operation will be rejected if any of the device pairs are in the following states
without specifying the force option:
Split
SyncInProg
R1 UpdInProg
Invalid
When a failover is performed for each specified RDF pair in a device group:
If the source (R1) device is operational, the SRDF links are suspended.
If the source side is operational, the source (R1) device is Write Disabled to its local
host(s).
The target (R2) device is Read/Write Enabled to its local host(s).
Note: This operation will be rejected if any of the following occur:
The source has invalid remote (R2) tracks without specifying the symforce option.
The target has invalid local (R2) tracks without specifying the symforce option.
Consistency is enabled and the force option is not specified.
2.
DeviceGroup(DG)Name:prod
DG'sType:RDF1
DG'sSymmetrixID:000000003264
Source(R1)ViewTarget(R2)ViewMODES
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDASTATE
DEV001009CWD
00NR0054RW
00S..FailedOver
DEV002009DWD
00NR0055RW
00S..FailedOver
Total
Track(s)0000
MB(s)0.00.00.00.0
LegendforMODES:
M(odeofOperation):A=Async,S=Sync,E=Semisync,C=AdaptiveCopy
D(omino):X=Enabled,.=Disabled
A(daptiveCopy):D=DiskMode,W=WPMode,.=ACpoff
3.
function of the update operation is to minimize downtime when issuing a failback command,
which write disables the R2. While the R2 side remains accessible for reads and writes, the
symrdf update command from the local host takes a one-time snapshot of the remote (R1)
invalid tracks on the target (R2) side for each device in the group (16385 in each case) and
copies those tracks to the R1 side.
symrdfgprodnopromptupdate
AnRDF'UpdateR1'operationexecutionisinprogressfordevicegroup
'Rdf1Grp'.
Pleasewait...
SuspendRDFlink(s).......................................Done.
Mergedevicetracktablesbetweensourceandtarget.......Started.
Device:009C............................................Merged.
Device:009D............................................Merged.
Mergedevicetracktablesbetweensourceandtarget.......Done.
ResumeRDFlink(s)........................................Done.
TheRDF'UpdateR1'operationsuccessfullyinitiatedfordevicegroup'prod'.
4.
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDASTATE
Note: As the update progresses, the number of local (R1) invalid tracks as viewed on the
source (R1) side keep decreasing because the tracks are being counted down from the
original snapshot taken at the beginning of the update process. Meanwhile, the remote (R1)
invalid tracks on the target (R2) side continue to be incremented as new writes are executed
there.
srdfFailoverandFailback_sym001
5.
For example, to initiate a failback on all the RDF pairs in the prod device group, enter:
symrdfgprodfailback
To initiate a failback on one RDF pair, DEV001, in the prod device group, enter:
symrdfgprodfailbackDEV001
To initiate a failback on a list of RDF pairs in the device group prod, enter:
symrdfgprodfailbackDEV001DEV002
Note: To invoke a failback, the RDF pair(s) must already be in one of the following states:
Failed Over
Suspended and Write Disabled at the source
Suspended and Not Ready at the source
R1 Updated
R1 UpdInProg
The invalid tracks on the source (R1) side are refreshed from the target R2 side.
The track tables are merged between the R1 and R2 sides.
Traffic is resumed on the SRDF links.
The source (R1) device is Read/Write Enabled to its local host(s).
srdfFailoverandFailback_sym001