When CDP is enabled for a volume, synchronization point snapshots can be created. In this case, a consistent snapshot will be created simultaneously in both the local and remote clusters, respectively.
Procedure
Run the following command on any node in the cluster:
zbs-meta snapshot create <pool_name> <volume_name> <snapshot_name> --as_cdp_sync_point [options]Output example
zbs-meta snapshot create pool1 vol1 snap1 --as_cdp_sync_pointOutput note
After successful execution, the information about the newly created snapshot will be returned.
Procedure
Run the following command on any node in the cluster:
zbs-iscsi snapshot create <target_name> <lun_id> <snapshot_name> --as_cdp_sync_point [options]Output example
zbs-iscsi snapshot create target1 1 snap1 --as_cdp_sync_pointOutput note
After successful execution, the information about the newly created snapshot will be returned.
Procedure
Run the following command on any node in the cluster:
zbs-meta snapshot batch_create --volumes <VOLUMES> --as_cdp_sync_pointOutput example
zbs-meta snapshot batch_create --volumes pool1/vol1:snap1,pool1/vol2:snap2 --as_cdp_sync_pointOutput note
After successful execution, the information about all the newly created snapshots will be listed.