Adding volumes to a consistency group
A maximum number of 1000 volumes can be added to a consistency group.
About this task
All volumes used by the same application should be grouped together in a consistency group.
Only local volumes can be added to synchronous consistency groups with visibility and storage-at-cluster set to the local cluster.
Remote volumes can be added to synchronous consistency groups with visibility set to both clusters and storage-at-cluster set to one cluster.
Distributed volumes can be added to synchronous consistency groups with visibility set to both clusters and storage-at-cluster set to both clusters.
To add virtual volumes to an existing consistency group, do the following:
Steps
-
Navigate to the target consistency group’s context:
VPlexcli:/> cd clusters/cluster-1/consistency-groups/TestCG
-
Use the
consistency-group list-eligible-virtual-volumes command to display virtual volumes that are eligible to be added to the consistency group:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> consistency-group list-eligible-virtual-volumes
[TestDDevice-1_vol, TestDDevice-2_vol, TestDDevice-3_vol, TestDDevice-4_vol, TestDDevice-5_vol]
-
Use the
add-virtual-volumes command to add virtual volumes to the consistency group.
To add a single virtual volume:
VPlexcli:/clusters/cluster-2/consistency-groups/TestCG> add-virtual-volumes --virtual-volumes TestDDevice-2_vol
NOTE:The full path is not required if the volume name is unique in the metro node.
To add multiple volumes using a single command, separate virtual volumes by commas:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> add-virtual-volumes TestDDevice-1_vol,TestDDevice-2_vol
-
Use the
ll command to display the change.