This post is more than 5 years old
2 Intern
•
138 Posts
1
7952
April 30th, 2013 06:00
How do I "remove" an SRDF Group, link and GBCVs?
I know how to create a new SRDF link from source to target array, but I don't know how to remove a link that we don't need anymore. We use SRDF/A. I guess that it's somehting like this:
# symrdf -g rdfg54 split
# symrdf -g rdfg54 deletepair
# symrdf -g rdfg54 removegrp
I also have Gold BCVs (GBCVs). I want them to "go away" as well. So I would need some commands like this, right, and I probably want to do them first:
# symmir -g rdfg54 split -rdf
# symmir -g rdfg54 cancel
Not only do I want to remove the group, but I want all of the R1s, R2s and GBCVs to be available for "re-use". I want to break all the "interralationships" between all of the Devices.
Then I want to "destroy" the RDF DGs, which I know how to do.
How do I do that? What commands do it use? Do I have to remove SRDF/A from "Consistent" state?
Stuart


seancummins
2 Intern
•
226 Posts
0
May 1st, 2013 13:00
Stuart,
I'm guessing you have tolerance mode off (SRDF/A session consistency) for this RDFG -- try disabling session consistency with "symrdf -g disable", and then issue the deletepair again. If that doesn't work, try setting the mode to adaptive copy before the deletepair. You can do this with "symrdf -g set mode acp_disk".
Thanks,
- Sean
seancummins
2 Intern
•
226 Posts
1
April 30th, 2013 18:00
Stuart,
You've pretty much got it.
You'll want to suspend the rdf group instead of splitting (symrdf -g rdfg54 suspend), but your deletepair looks good. Suspending the devices in the DG will take the devices out of a "Consistent" state. For removing the dynamic group, use "symrdf -sid -label ".
You can get a list of your RDFG labels with "symcfg -sid -rdfg all list".
Your TimeFinder remote BCV commands should work, assuming you're using TF/Mirror on DMX or you're using Clone Emulation (symmir) on VMAX. And yes, you'll want to remove the remote BCVs before removing the SRDF relationships -- otherwise you'll need to do the BCV work from a management host on the remote Symmetrix.
Hope that helps,
- Sean
StuartA58
2 Intern
•
138 Posts
0
May 1st, 2013 13:00
Sean:
I did the suspend as you suggested and then I went to do the "deletepair" and the command told me that:
"The device doesnt' have a valid RDF Consistency state for this operation"
StuartA58
2 Intern
•
138 Posts
2
May 2nd, 2013 12:00
Here is the correct sequence of commands:
1. Remove GBCVs from RDFG:
# symmir -g rdfg54 cancel -rdf
2. Remove the R1-R2 relationships:
# symcfg -sid 1668 list -rdfg all
# symrdf -g rdfg54 query
# symrdf -g rdfg54 disable
# symrdf -g rdfg54 query
# symrdf -g rdfg54 suspend
# symrdf -g rdfg54 deletepair -force
# symrdf -g rdfg54 query
3. Remove the RDFG
# symrdf -sid 1668 removegrp -rdfg 54
# symcfg -sid 1668 list -rdfg all
4. Remove DG:
# symdg delete rdfg54 -force