ADVERTISEMENT

Simple Clone Operations

Steps to create and delete a Clone copy session using a Device Group (DG).

1

Create a Regular Device Group

Copied
symdg create TestDg -type regular
2

Add devices to Device Group

Add the standard devices AAA( source ) and AAB( Target )to the DG.Assume this will add as DEV001 and DEV002.

Copied
symld -sid 1234 -g TestDg add dev AAA
symld -sid 1234 -g TestDg add dev AAB
3

Create Clone Session

Copied
symclone -g TestDg create DEV001 sym ld DEV002

The above command will create a clone session and also make the target device in NotReady( NR ) state.You can also add the -precopy option to start a background copy from source to target device, prior to the activation.

Copied
symclone -g TestDg create DEV001 sym ld DEV002 -precopy
4

Activate Session

Copied
symclone -g TestDg activate DEV001 sym ld DEV002

The above command will start the copy operation from sorce device to target.And also make the target device to Read/Write,thus accessable to the host.

5

Check status of Copy operation

Copied
symclone -g TestDg query

Once the the source device is fully copied from source to target , the state of the pair will change from 'CopyInProg' to 'Copied'.

6

Break or Terminate Session

Copied
symclone -g TestDg terminate DEV001 sym ld DEV002

This will terminate the clone copy session , deletes the pairing information from the storage array and removes any hold on target device.You have to 'Terminate' while the pair in 'Copied' state to get a fully valid data.