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.
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
To remove multiple virtual volumes with a single command, separate the volumes using commas:
VPlexcli:/> consistency-group remove-virtual-volumes /clusters/cluster-1/virtual-
volumes/TestDDevice-2_vol, /clusters/cluster-1/virtual-volumes/TestDDevice-3_vol --
consistency-group /clusters/cluster-1/consistency-groups/TestCG
Remove two virtual volumes from the target consistency group context:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> remove-virtual-volumes
TestDDevice-2_vol, TestDDevice-3_vol
3. Use the ls command to display the change.
Modifying consistency group properties
About this task
Use the consistency group set-detach rules to modify the Detach-rule applied to a consistency group:
Consistency Groups
73