How to failover rdf replication?
symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt failover
This will make the R1 devices Write Disabled , R2 Write Enabled to host , and logical connections between R1 to R2 in to Not Ready state.
You may also interested to know..
symrdf -sid 000000001234 -label dynagrp100 -dir 3h,4h,13h,14h -rdfg 100 -remote_sid 000000005678 -remote_dir 7h,8h,9h,10h -remote_rdfg 100 addgrpThis command will create a dynamic rdf group 100 on array 1234( RA Port-3h,4h,13h,14h ) pairing remote array 5678( RA Port 7h,8h,9h,10h ) with label 'dynagrp100'.
symrdf -sid 1234 -rdfg 3 -file rdf.txt deletepair -forceDelete the srdf pairing between R1/R2 and return them to stanadard.
symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt createpair -establish -rdf_mode syncEstablish the SRDF relation between the devices given in the file rdf.txt from array 1234(R1) and remote box according to the rdf group .This command start copying between R1 and R2 in SYNC mode.( default is acp_disk mode )
symrdf -sid 1234 -rdfg 3 -file rdf.txt movepair -new_rdfg 4Moves the SRDF devices from rdf group 3 to 4.We need to split the pair before doing this operation.
symrdf -sid 1234 -rdfg 3 -file rdf.txt set mode acp_diskChange the current SRDF mode of the pair file devices to Adaptive disk mode.