CLI Guide

Table Of Contents
[-g|--consistency-group consistency-group
[-f|--force]
Arguments
Required arguments
[-c|--cluster] cluster - * The cluster whose data image will be used as the source for resynchronizing the data images on both
clusters.
[-g|--consistency-group] consistency-group - * The consistency group on which to resolve the conflicting detach.
Optional arguments
[-f|--force] - Do not prompt for confirmation. Allows this command to be run using a non-interactive script.
* - argument is positional.
Description
CAUTION: This command results in data loss at the losing cluster.
During an inter-cluster link failure, an administrator may permit I/O to continue at both clusters. When I/O continues at both
clusters:
The data images at the clusters diverge.
Legs of distributed volumes are logically separate.
When the inter-cluster link is restored, the clusters learn that I/O has proceeded independently.
I/O continues at both clusters until the administrator picks a winning cluster whose data image will be used as the source to
synchronize the data images.
Use this command to pick the winning cluster. For the distributed volumes in the consistency group:
I/O at the losing cluster is suspended (there is an impending data change)
The administrator stops applications running at the losing cluster.
Any dirty cache data at the losing cluster is discarded
The legs of distributed volumes rebuild, using the legs at the winning cluster as the rebuild source.
When the applications at the losing cluster are shut down, use the consistency-group resume-after-data-loss-
failure command to allow the system to service I/O at that cluster again.
Example
Select cluster-1 as the winning cluster for consistency group TestCG from the TestCG context:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> resolve-conflicting-detach
This will cause I/O to suspend at clusters in conflict with cluster cluster-1, allowing
you to stop applications at those clusters. Continue? (Yes/No) yes
Select cluster-1 as the winning cluster for consistency group TestCG from the root context:
VPlexcli:/> consistency-group resolve-conflicting-detach --cluster cluster-1 --
consistency-group /clusters/cluster-1/consistency-groups/TestCG
This will cause I/O to suspend at clusters in conflict with cluster cluster-1, allowing
you to stop applications at those clusters. Continue? (Yes/No) Yes
In the following example, I/O has resumed at both clusters during an inter-cluster link outage. When the inter-cluster link is
restored, the two clusters will come back into contact and learn that they have each detached the other and carried on I/O.
100
Commands