Dynamic Vs Static SRDF Pairing
Steps to establish Dynamic and Static SRDF pairing
1.Dynamic SRDF Pairing
We have the below details
source array - 1234
Target array - 5678
source devices - a00,a01,a02
target devices - b00,b01,b02
rdf group for 1234 <=> 5678 is 50
a) 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;
b) 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;
c) create a pair file , pair_1234_to_5678_Dg50.txt as below
a00 b00
a01 b01
a02 b02
d) 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
e) 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
f) 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
g) 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
2.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
a) 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;
b) 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;