Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Topic
Managing SRDF using Solutions Enabler SYMCLI
Selections
Select a task: Managing SRDF/A
Select task(s): Starting a session
REPORT PROBLEMS
If you find any errors in this procedure or have comments regarding this application, send email to
Procedure Generators@emc.com
EMC CONFIDENTIAL
version: 3.2.0
1 of 12
Contents
EMC CONFIDENTIAL
version: 3.2.0
2 of 12
srdfaStart_sym001
1. Identify source (R1) and target (R2) devices on the Symmetrix arrays
In this step all components in the replication environment are identified, and application details
including the number and size of devices are determined.
Using the example provided, determine the Symmetrix device types for the candidate R1
EMC CONFIDENTIAL
version: 3.2.0
3 of 12
STATUSMODESRDFSTATES
SymRDFR1InvR2Inv
DevRDevTyp:GSARALNKMDATracksTracksDevRDevPair
00F200E6R1:3RWRWRWS..00RWWDSynchronized
00F300E7R1:3RWRWRWS..00RWWDSynchronized
00F400E8R1:3RWRWRWS..00RWWDSynchronized
00F500E9R1:3RWRWRWS..00RWWDSynchronized
00F600EAR1:3RWRWRWS..00RWWDSynchronized
00F700EBR1:3RWRWRWS..00RWWDSynchronized
00F800ECR1:3RWRWRWS..00RWWDSynchronized
00F900EDR1:3RWRWRWS..00RWWDSynchronized
00FA00EER1:3RWRWRWS..00RWWDSynchronized
00FB00EFR1:3RWRWRWS..00RWWDSynchronized
00FC0104R1:3RWRWRWS..00RWWDSynchronized
00FD0105R1:3RWRWRWS..00RWWDSynchronized
00FE0106R1:3RWRWRWS..00RWWDSynchronized
00FF0107R1:3RWRWRWS..00RWWDSynchronized
01000108R1:3RWRWRWS..00RWWDSynchronized
01010109R1:3RWRWRWS..00RWWDSynchronized
Total
Track(s)00
MB(s)0.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
The above output shows that RDF (RA) group 3 has been configured to provide SRDF/A
operations. Devices in this type of RDF group must be either R1 or R2 devices. You can not
mix device types in the same group.
Before creating a device group and adding devices to it, examine the devices on the local
EMC CONFIDENTIAL
version: 3.2.0
4 of 12
Symmetrix array to determine which ones are source devices (SymDev), which are remote
target devices (RDev), and whether a device is an R1 or an R2 type device. The symrdf list
command displays this information, as well as other relevant data, such as RDF group (G),
replication method (column M), pair state, invalid tracks, and the state of each device and the
RDF links that connect them. The ellipsis () represents truncated output.
symrdflist
SymmetrixID:000000003264
LocalDeviceView
STATUSMODESRDFSTATES
SymRDFR1InvR2Inv
DevRDevTyp:GSARALNKMDATracksTracksDevRDevPair
00450045R2:2RWWDNRS..049500WDRWSuspended
00460046R2:2??WDNRS..033000WDRWSuspended
00470047R2:2??WDNRS..00WDRWSuspended
009C0054R1:2RWRWRWS..00RWNRSynchronized
009D0055R1:2RWRWRWS..00RWNRSynchronized
009E0056R1:2RWRWRWS..00RWNRSynchronized
009F0057R1:2RWRWRWS..00RWNRSynchronized
00A00058R1:2RWRWRWA.W00RWNRSynchronized
00A10059R1:2RWRWRWA.W00RWNRSynchronized
00A2005AR1:2RWRWRWA.W00RWNRSynchronized
00A3005BR1:2RWRWRWA.W00RWNRSynchronized
...
The symdev list command with the r1 option displays all R1 devices. Those R1 devices that
are not already part of a device group are displayed as N/Grpd, which means they are
available to be added to a new RDF1 device group.
symdevlistr1
SymmetrixID:000000003264
DeviceNameDirectorsDevice
Cap
SymPhysicalSA:PDA:ITConfigAttributeSts(MB)
009C/dev/rdsk/emcpower84c16B:101A:C0RDF1N/Grp'dRW516
009D/dev/rdsk/emcpower85c16B:102B:D3RDF1N/Grp'dRW516
009E/dev/rdsk/emcpower90c16B:102A:C0RDF1N/Grp'dRW516
009F/dev/rdsk/emcpower91c16B:101B:D3RDF1N/Grp'dRW516
00A0/dev/rdsk/emcpower92c16B:101B:C0RDF1N/Grp'dRW516
00A1/dev/rdsk/emcpower93c16B:102A:D3RDF1Grp'dRW516
00A2/dev/rdsk/emcpower94c16B:102B:C0RDF1N/Grp'dRW516
...
Using the above SYMCLI examples, identify and create a list of the SRDF devices that will be
added to your device group for the SRDF/A session.
2. Identify or create a device group to manage the SRDF/A session and add the devices
EMC CONFIDENTIAL
version: 3.2.0
5 of 12
The symdg list command with the Symmetrix ID number can be used to identify existing
device groups on a particular Symmetrix array.
symdglistsid3264
After identifying SRDF-capable devices and selecting the required number needed, devices
are added into a Symmetrix device group. The SRDF/A session created using this procedure
will be managed by a single device group, rather than individual devices.
For example, to create a device group named pocsun100data using devices 00e1 through
00e4 on Symmetrix 000187461501, enter the following commands:
symdgcreatepocsun100data
symldgpocsun100dataaddalldevrange00e1:00e4sid502
Note: For additional information on how to display and manage device groups using the symdg
command, refer to the EMC Solutions Enabler Symmetrix Array Management CLI Product
Guide.
Using the previous example, identify or create a device group to manage your SRDF/A session
and add the devices you selected in the previous step.
3. Verify device group details
After creating the device group, confirm and verify the device group details by using the symdg
list and show commands.
symdglist
DEVICEGROUPS
Numberof
NameTypeValidSymmetrixIDDevsGKsBCVsVDEVs
pocsun100dataRDF1Yes0001874615024000
You can display detailed information about a device group using the symdg show command.
symdgshowpocsun100data
GroupName:pocsun100data
GroupType:RDF1
DeviceGroupinGNS:Yes
Valid:Yes
SymmetrixID:000187461502
GroupCreationTime:SatMar1821:57:122006
VendorID:EMCCorp
ApplicationID:SMC
NumberofSTDDevicesinGroup:4
NumberofAssociatedGK's:0
NumberofLocallyassociatedBCV's:0
NumberofLocallyassociatedVDEV's:0
NumberofRemotelyassociatedVDEV's(STDRDF):0
NumberofRemotelyassociatedBCV's(STDRDF):0
NumberofRemotelyassociatedBCV's(BCVRDF):0
NumberofRemotelyassoc'dRBCV's(RBCVRDF):0
EMC CONFIDENTIAL
version: 3.2.0
6 of 12
Standard(STD)Devices(4):
{
SymCap
LdevNamePdevNameDevAtt.Sts(MB)
DEV001N/A00E1RW4315
DEV002N/A00E2RW4315
DEV003N/A00E3RW4315
DEV004N/A00E4RW4315
}
The previous example identifies devices that are used by the application. Always make sure
this information matches the information provided by your application administrator.
4. Change the SRDF mode to adaptive copy disk mode
Now that you have identified your SRDF pairs and added them to a device group, the SRDF
mode should be changed to adaptive copy disk mode ( acp_disk). This transitional step allows
you to copy the local data across the SRDF link to the remote site as efficiently as possible. If
you allowed the SRDF establish to start in synchronous mode, you could create serious I/O
latency issues for the host application.
In adaptive copy disk mode, the host does not have any I/O performance impact. This is the
added benefit of using acp_disk mode. By specifying acp_disk rather than adaptive copy
write pending (acp_wp), you do not waste valuable cache resources on the local Symmetrix
array during the SRDF establish. This further reduces the risk of performance impact if there is
production occurring on the local Symmetrix array.
To set the SRDF mode to acp_disk, use the symrdf set mode command. For example, set
the mode for the pocsun100data device group as follows:
symrdfgpocsun100datasetmodeacp_disknop
AnRDFSet'ACpDiskModeON'operationexecutionisin
progressfordevicegroup'pocsun100data'.Pleasewait...
TheRDFSet'ACpDiskModeON'operationsuccessfullyexecuted
fordevicegroup'pocsun100data'.
After setting the SRDF mode, run a symrdf query command against the device group to
verify that it is in adaptive copy disk mode.
symrdfgpocsun100dataquery
DeviceGroup(DG)Name:pocsun100data
DG'sType:RDF1
DG'sSymmetrixID:000187461502
Source(R1)ViewTarget(R2)ViewMODES
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDASTATE
DEV00100E1RW0138090NR00E1WD00C.DSuspended
DEV00200E2RW0138090NR00E2WD00C.DSuspended
DEV00300E3RW0138090NR00E3WD00C.DSuspended
EMC CONFIDENTIAL
version: 3.2.0
7 of 12
DEV00400E4RW0138090NR00E4WD00C.DSuspended
Total
Track(s)055236000
MB(s)0.017261.30.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
This example shows the RDF pair state is still suspended. The operation has changed only the
mode from synchronous to acp_disk (C.D). When you set the SRDF mode to adaptive copy
disk, the Symmetrix array acknowledges all writes to source (R1) devices as if they were local
devices. New data accumulates on the source (R1) device and is marked by the source (R1)
side as invalid tracks until it is subsequently transferred to the target (R2) device. The remote
director transfers each write to the target (R2) device whenever link paths become available. In
addition, tracks are read from the physical disk for transfer to the R2.
5. Perform a full establish on the SRDF pairs
Once the device groups are in adaptive copy disk mode, start the initial full SRDF establish for
each device group. The establish operation can take a long time. It is best to launch this during
nonpeak hours to minimize traffic over the RDF link.
symrdfgpocsun100dataestablishfullnop
AnRDF'FullEstablish'operationexecutionis
inprogressfordevicegroup'pocsun100data'.Pleasewait...
SuspendRDFlink(s).......................................Done.
Mergedevicetracktablesbetweensourceandtarget.......Started.
Devices:00E100E4......................................Merged.
Mergedevicetracktablesbetweensourceandtarget.......Done.
ResumeRDFlink(s)........................................Started.
ResumeRDFlink(s)........................................Done.
TheRDF'FullEstablish'operationsuccessfullyinitiatedfor
devicegroup'pocsun100data'.
The establish operation begins by merging the track tables between the R1 and R2 devices. It
then enables the RDF link (makes it enabled for read and write requests) and begins the copy
of data from the source device to the device which was designated as invalid. In this case the
data flow is from the R1 device to the R2 device. Again, this is because the example specified
the invalidate R2 option when it created the pairing. Had it specified invalidate R1, it would
be overwriting the R1 data from the R2.
6. Query device group status
Periodically, query the progress of the initial SRDF establish. Check to make sure the amount
of invalid tracks owed from the R1 to the R2 is decreasing. This value is visible in the R2 Inv
Tracks column.
symrdfgpocsun100dataquery
DeviceGroup(DG)Name:pocsun100data
DG'sType:RDF1
DG'sSymmetrixID:000187461502
EMC CONFIDENTIAL
version: 3.2.0
8 of 12
Source(R1)ViewTarget(R2)ViewMODES
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDASTATE
DEV00100E1RW0113166RW00E1WD00C.DSyncInProg
DEV00200E2RW0110506RW00E2WD00C.DSyncInProg
DEV00300E3RW0114995RW00E3WD00C.DSyncInProg
DEV00400E4RW0114888RW00E4WD00C.DSyncInProg
Total
Track(s)045355500
MB(s)0.014173.60.00.0
Synchronizationrate:33.0MB/S
Estimatedtimetocompletion:00:07:10
LegendforMODES:
M(odeofOperation):A=Async,S=Sync,E=Semisync,C=AdaptiveCopy
D(omino):X=Enabled,.=Disabled
A(daptiveCopy):D=DiskMode,W=WPMode,.=ACpoff
Periodically examine the output from the symrdf query command and verify the following:
The R2 invalid tracks have been calculated and are now being copied. Verify that this
value is greater than zero and that the number of tracks are decreasing as the establish
continues.
EMC CONFIDENTIAL
version: 3.2.0
9 of 12
Source(R1)ViewTarget(R2)ViewMODES
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDASTATE
DEV00100E1RW025891RW00E1WD00C.DSyncInProg
DEV00200E2RW00RW00E2WD00C.DSynchronized
DEV00300E3RW00RW00E3WD00C.DSynchronized
DEV00400E4RW00RW00E4WD00C.DSynchronized
Total
Track(s)02589100
MB(s)0.0809.10.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
The R2 invalid track columns in this example show that the amount of invalid tracks has fallen
below 30,000. Device group pocsun100data has 25,891 invalid tracks. This means that it
takes just one SRDF/A cycle switch to make the RDF pairs consistent for both device groups.
9. Change the SRDF mode to asynchronous
To change to asynchronous mode, use the symrdf set mode async command.
symrdfgpocsun100datasetmodeasyncnop
AnRDFSet'AsynchronousMode'operationexecutionisin
progressfordevicegroup'pocsun100data'.Pleasewait...
TheRDFSet'AsynchronousMode'operationsuccessfullyexecuted
fordevicegroup'pocsun100data'.
version: 3.2.0
10 of 12
becomes NR on the link, the SRDF/A group will not drop. This breaks the guarantee of R2
consistency until tolerance mode is turned off again.
To enable SRDF/A consistency protection, use the symrdf enable command.
symrdfgpocsun100dataenablenop
AnRDF'Enable'operationexecutionis
inprogressfordevicegroup'pocsun100data'.Pleasewait...
TheRDF'Enable'operationsuccessfullyexecutedfor
devicegroup'pocsun100data'.
Source(R1)ViewTarget(R2)ViewMODES
STLIST
StandardANA
LogicalTR1InvR2InvKTR1InvR2InvRDFPair
DeviceDevETracksTracksSDevETracksTracksMDACSTATE
DEV00100E1RW00RW00E1WD00A..XConsistent
DEV00200E2RW00RW00E2WD00A..XConsistent
DEV00300E3RW00RW00E3WD00A..XConsistent
DEV00400E4RW00RW00E4WD00A..XConsistent
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
EMC CONFIDENTIAL
version: 3.2.0
11 of 12
A(daptiveCopy):D=DiskMode,W=WPMode,.=ACpoff
C(onsistencyState):X=Enabled,.=Disabled,=N/A
This example represents a device group running in normal SRDF/A operations. In the
example, the Symmetrix has assigned an SRDF/A session number of 34 with a session priority
of 33. The SRDF/A session status for device group pocsun100data is active. If you performed
the same query on a device group that was in an RDF mode other than asynchronous, this
value would say inactive because there would be no running SRDF/A session associated with
it.
Other values to examine in your output are the cycle time statistics. Here you can get the
configurable parameter minimum cycle time, average cycle time, and the actual duration time
of the last cycle. The example device group shown is using a minimum cycle time of 30
seconds. This is the default value for SRDF/A. Recalling that the R2 devices are two cycle sets
behind the R1, you would assume that the R2 devices should be approximately behind the R1
device by 60 seconds. The output can verify this in the Time that R2 is behind R1 value.
These values are snapshots and should be considered approximate numbers.
If you look at the current SRDF modes, you can see that the example session is operating in
asynchronous mode (A) and that RDFA consistency protection is enabled (X) by the output of
A..X. You can also see that the RDF pair state is consistent. The consistent state signifies the
normal state of operation for device pairs operating in asynchronous mode.
Table of Contents
EMC CONFIDENTIAL
version: 3.2.0
12 of 12