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