BCV Copy Session Using a Device Group
Steps to create and delete a BCV copy session using a Device Group( DG ).
Create a Regular Device Group.
symdg create TestDg -type regular
Add the standard device to the DG
symld -sid 1234 -g TestDg add dev AAA
Associate/Add the BCV device BBB with the DG
symbcv -sid 1234 -g TestDg associate dev BBB
Check the DG
symdg show TestDg
The LdevName for STD device must be DEV001 and BCV001 will be for the BCV device.
Establish the relationship between the STD(AAA - DEV001) and BCV(BBB - BCV001) device.
symmir -g TestDg establish -full
BCV device will become NotReady
Check the copying status.
symmir -g TestDg query
SPLIT the pair
Once the copy status become "Synchronized" split the relation ship.
symmir -g TestDg split
This will make the BCV device in ready state.
Remove the relationship between the STD and BCV device.
symmir -g TestDg cancel
Disassociates/Remove the BCV device from DG
symbcv -g TestDg disassociate dev BBB
Remove the STD device the Device Group
symld -g TestDg remove DEV001
Now the DG should be empty.Remove the DG by following command.
symdg delete TestDg