BCV Copy session using a device group

Below are the steps to create and delete a BCV copy session using a Device Group( DG ).

1

Create a Regular Device Group.

symdg create TestDg -type regular

2

Add the standard device to the DG

symld -sid 1234 -g TestDg 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.

5

Estbalish

Establish the relationship between the STD(AAA - DEV001) and BCV(BBB - BCV001) device.

symmir -g TestDg establish -full

BCV device will become NotReady

6

Check the copying status.

symmir -g TestDg query

7

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.

8

Remove the relationship between the STD and BCV device.

symmir -g TestDg cancel

9

Disassociates/Remove the BCV device from DG

symbcv -g TestDg disassociate dev BBB

10

Remove the STD device the Device Group

symld -g TestDg remove DEV001

11

Delete DG

Now the DG should be empty.Remove the DG by following command.

symdg delete TestDg