Administrator Guide

Table Of Contents
Steps
1. Navigate to the target consistency groups context:
VPlexcli:/> cd clusters/cluster-1/consistency-groups/TestCG
2. 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]
3. 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
4. Use the ll command to display the change.
Removing volumes from a consistency group
To remove one or more virtual volumes from a consistency group:
Steps
1. Use the ll command to display the virtual volumes in the target consistency group:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> ll
Attributes:
Name Value
------------------- ----------------------------------------------------------
active-clusters []
cache-mode synchronous
detach-rule winner cluster-1 10s
operational-status [(cluster-1,{ summary:: ok, details:: [] }), (cluster-2,{
summary:: ok, details:: [] })]
passive-clusters [cluster-1, cluster-2]
recoverpoint-enabled false
storage-at-clusters [cluster-1, cluster-2]
virtual-volumes [TestDDevice-1_vol, TestDDevice-2_vol,
TestDDevice-3_vol,TestDDevice-4_vol,
TestDDevice-5_vol]
visibility [cluster-1, cluster-2]
Contexts:
Name Description
------------ -----------
advanced -
recoverpoint -
2. Use the consistency-group remove-virtual-volumes command to remove one or more virtual volumes.
VPlexcli:/> consistency-group remove-virtual-volumes /clusters/cluster-1/virtual-
volumes/TestDDevice-2_vol, --consistency-group /clusters/cluster-1/consistency-groups/
TestCG
68
Consistency Groups