SRDF S Lab
SRDF S Lab
2. Display the local and remote arrays, their RDF directors, and RA groups connected in the open RDF
switch fabric.
symcfg list -ra all switched
or
symcfg sid 1234 list ra all switched
symcfg sid 5678 list ra all switched
3. Examine the output for both local and remote Symmetrix arrays to identify the best RDF connection
between the two arrays.
Best practice: Choose ports that are lightly populated for the RDF dynamic group assignment.
View the output to check if the Dynamic RDF Configuration State is Enabled or disabled.
If Dynamic RDF Configuration State is set to Disabled, proceed with below command.
2. symconfigure sid 1234 cmd set symmetrix dynamic_rdf=enabled;
Task 3: Verify the new devices are created and dynamic RDF enabled
1. Type the symdev sid SID list command to verify that the new devices were created.
For example:
symdev sid 1234 list - dynamic
symdev sid 1234 list dynamic -r1/-r2
Note: To show only R1 or R2 devices, include the r1 or r2 option in the command line.
Task 4: Find available addresses (Ldev IDs) for the director and port
1. To display available addresses for front-end director 04A port 0 on Symmetrix 1234:
symcfg sid 1234 list sa 04A p 0 -addresses available
VBUS, TID and LUN addresses associated with front-end director 04A, port 0,
Indicates the next available address in the run.
In the following output, there is a large run of available LUN addresses between 004 and 060:
04A
0001
0002
0003
0040
0041
0042
0043
-
AVAILABLE
/dev/rdsk/c1t0d1s2
/dev/rdsk/c1t0d2s2
/dev/rdsk/c1t0d3s2
AVAILABLE
/dev/rdsk/c1t0d96s2
/dev/rdsk/c1t0d97s2
/dev/rdsk/c1t0d98s2
/dev/rdsk/c1t0d99s2
AVAILABLE
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
000 *
001
002
003
004 *
060
061
062
063
064 *
vi map_dyn_devices.txt
map dev 091 to dir 04A:0,
map dev 092 to dir 04A:0,
map dev 093 to dir 04A:0,
map dev 094 to dir 04A:0,
map dev 095 to dir 04A:0,
map dev 096 to dir 04A:0,
lun=004;
lun=005;
lun=006;
lun=007;
lun=008;
lun=009;
2. Note which front-end director (for example, FA-4A) your host uses to reach the Symmetrix array.
The display lists the host WWNs and shows the devices masked to the corresponding HBAs.
Task 9: Create and map another set of devices on the remotely attached Symmetrix
1. Repeat Task 1: through Task 8: to create the same number of dynamic devices on the remotely
attached Symmetrix.
Note: You must perform the steps to mask devices (Task 7: and Task 8:) from a host that is local to the
remote Symmetrix.
Your dynamic R1 and R2 devices are now created mapped and masked.
5 Qeury
You can query the the pair to know the status by using the below command.
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt query
6 SPLIT pair
Suspends the replication, Enables writes on both Source R1s and Destination
R2s.
No replication in any direction after the split. To invoke a split, the SRDF
pair(s) must already be in synchronised/Suspended/R1 Updated status.
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt split
7 Delete pair
Once the devices are in split state , we can delete the relation and make
them as STD(Standard) devices.
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt deletepair
=====================================================
Using with Groups
Task 10: Add a dynamic SRDF device group
1. Display the SRDF groups already configured on the local and remote arrays.
symcfg list sid 709 rdfg all
symcfg list sid 774 rdfg all
2. Create local SRDF group 140 with label Group_140 on director 16d on local Symmetrix 709, remote
SRDF group 140 on director 16d on remote Symmetrix 774, using the Fibre Channel protocol:
symrdf addgrp label Group_140 sid 709 rdfg 140 dir 16d remote_sid 774
remote_dir 16d remote_rdfg 140 -fibre
Best practice
Optional arguments:
Note: Link limbo may be set after the group is created using the symrdf set command. The auto link
recovery and link domino parameters can only be set at group creation time
-link_domino Enabled | Disabled When enabled, if the last available link in the SRDF group
fails, the next host write to any R1 device in the SRDF group causes all R1 devices in the
SRDF group become Not Ready to their hosts. Link domino ensures that data on the source
(R1) and the target (R2) devices are always in sync.
The default is disabled.
-remote_link_domino Enabled | Disabled Enables/disables link domino at the remote
Symmetrix.
The default is disabled.
-auto_link_recovery Enabled | Disabled When enabled, if all SRDF links fail, the Symmetrix
array remembers the SRDF states of the affected SRDF devices and can automatically
restore the devices to these states once the SRDF links become operational.
Default is disabled.
-remote_auto_link_recovery Enabled | Disabled Enables/disables auto link recover ay the
remote Symmetrix.
-link_limbo Secs Sets the number of seconds for Enginuity to wait when a down link is
detected before updating the link status. If the link status is still not ready after the link limbo
time expires, devices are marked not ready to the link.
The default is 10 (seconds).
The range is 0 120 (seconds).
-rem_link_limbo Secs Sets link limbo timer for the remote link.
The default is 10 (seconds).
The range is 0 120 (seconds).
R D F
Remote
--------------------RA-Grp SymmID
--------------------140 (8B) 000190300774
G R O U P S
Group
----------------------Flags Dir
T
Name
LPDS Cfg
----------------------D Group_140
XX.. F-S
RDFA Info
----------------Flags Cycle
CSRM
time
Pri
----- ----- ---IS30
33
Source Devices: 0918 (DEV001), 0919 (DEV002), 091A (DEV003), 091B (DEV004) &
Remote Devices: 072B, 072C, 072D, 072D are created
symconfigure sid 709 cmd set dev 0918:091B attribute=dyn_rdf;
sid
sid
sid
sid
774
774
774
774
not_ready
not_ready
not_ready
not_ready
072B
072C
072D
072D
2. Use a text editor (NotePad, vi) to create a device file containing two columns, R1 devices in one
column, R2 devices in the other column.
All devices for one side of the SRDF pair must be in the first column, and all devices for the other
side of the SRDF pair must be in the second column. It does not matter which side (R1 or R2) is
in which column, because the type option of the symrdf createpair command determines which
columns is R1 or R2.
vi create_pair.txt
0918 072B
0919 072C
091A 072D
091B 072E
symrdf createpair file create_pair.txt type r1 sid 709 rdfg 140 invalidate r2
g dg_rdfg140
=====================================================================================
:
:
:
:
:
dg_rdfg140
RDF1
000190300709
000190300774
140 (8B)
MODES
----- ------------
DEV001
DEV002
DEV003
DEV004
C.D
C.D
C.D
C.D
0918
0919
091A
091B
Total
Track(s)
MB(s)
RW
RW
RW
RW
0
0
0
0
16500
16500
16500
16500
NR
NR
NR
NR
072B
072C
072D
072E
WD
WD
WD
WD
-------- -------0
66000
0.0
4125.0
0
0
0
0
16500
16500
16500
16500
RDF Pair
MDA
STATE
----- -----------Suspended
Suspended
Suspended
Suspended
-------- -------0
66000
0.0
4125.0
3. Check the output to verify that the devices in the group are now in adaptive copy disk mode.
2. Type the symrdf g GroupName establish full command to start the establish operation for the
specified device group.
To start the establish operation for group dg_rdfg140:
symrdf g dg_rdfg140 establish full noprompt
3. Type the symrdf g GroupName query command to monitor the progress of the establish operation.
Check the output of the query command to make sure the number of invalid tracks owed from the R1
to the R2 is decreasing. This value is in the R2 Inv Tracks column.