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.)
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;
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;
Create a pair file , pair_1234_to_5678_Dg50.txt as below
a00 b00
a01 b01
a02 b02
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
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
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
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 and saved in the Symmetrix configuration file , usually at the time of array configuartion. )
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;
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;
