Dynamic Vs Static SRDF Pairing


Steps to establish Dynamic and Static SRDF pairing

Dynamic SRDF Pairing

We have the below 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 the dynamic bit for source devices

Run the below symconfigure script in 1234

set dev A00 attribute=dyn_rdf;
set dev A01 attribute=dyn_rdf;
set dev A02 attribute=dyn_rdf;

2

set the dynamic bit for target devices

Run the below symconfigure script in 5678

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 and Establish

Create the SRDF pairing between source and target devices and start a full copy from R1 to R2.

symrdf -sid 1234 -rdfg 50 -type rdf1 -file pair_1234_to_5678_Dg50.txt createpair -establish

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

Split the pairs using following command to make both R1 and R2 RW(ReadWrite).

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



Static SRDF Pairing

We have the below 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 the below symconfigure script in 1234 to make the devices as SRDF Paired.

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 the following commands to delete the pair and make them STD Devices.

convert dev a00 to RAID-5;
convert dev a01 to RAID-5;
convert dev a02 to RAID-5;