ADVERTISEMENT

Dynamic Vs Static SRDF Pairing

Dell EMC SRDF Pairing

Dynamic SRDF Pairing

Details:

source array - 1234
Target array - 5678

source devices - a00,a01,a02
target devices - b00,b01,b02

dynamic rdf group for 1234 <=> 5678 is 50
( Created and controlled through EMC host-based SRDF software[ symcfg ], stored in Symmetrix cache.)

1

Set dynamic bit for the source devices

Run the below symconfigure script in 1234
Copied
set dev A00 attribute=dyn_rdf;
set dev A01 attribute=dyn_rdf;
set dev A02 attribute=dyn_rdf;
2

Set dynamic bit for the target devices

Run the below symconfigure script in 5678
Copied
set dev B00 attribute=dyn_rdf;
set dev B01 attribute=dyn_rdf;
set dev B02 attribute=dyn_rdf;
3

Create a pair file , pair_1234_to_5678_Dg50.txt as below

a00   b00
a01   b01
a02   b02

4

Create Pair and Establish

Create the SRDF pairing between source and target devices and start a full copy from R1 to R2.
Copied
symrdf -sid 1234 -rdfg 50 -type rdf1 -file pair_1234_to_5678_Dg50.txt createpair -establish
5

QUERY Pair

You can query pair to know the status by using below command.
Copied
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt query
6

SPLIT Pair

Split pairs using the following command to make both R1 and R2 RW(ReadWrite).
Copied
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt split
7

Delete Pair

Once devices are in split state, we can delete the relation and make them as STD(Standard) devices.
Copied
symrdf -sid 1234 -rdfg 50 -file pair_1234_to_5678_Dg50.txt deletepair


ADVERTISEMENT

Static SRDF Pairing


Details:

source array - 1234
Target array - 5678

source devices - a00,a01,a02 ( RAID-5 devices )
target devices - b00,b01,b02 ( RAID-5 devices )

rdf group for 1234 <=> 5678 is 1
(Created through bin file)

1

Create and Establish

Run below symconfigure script in 1234 to make the devices as SRDF Paired.
Copied
convert dev a00 to RDF1+R5 ra_group=1 , remote_dev=b00 , invalidate=R2 , start_copy=YES;
convert dev a01 to RDF1+R5 ra_group=1 , remote_dev=b01 , invalidate=R2 , start_copy=YES;
convert dev a02 to RDF1+R5 ra_group=1 , remote_dev=b02 , invalidate=R2 , start_copy=YES;
2

Delete Pairing

Use following commands to delete the pair and make them STD Devices.
Copied
convert dev a00 to RAID-5;
convert dev a01 to RAID-5;
convert dev a02 to RAID-5;