CLI Guide

Table Of Contents
Examples
Select cluster-2 as the winner for consistency group TestCG:
VPlexcli:/clusters/cluster-2/consistency-groups/TestCG> choose-winner --cluster cluster-2
WARNING: This can cause data divergence and lead to data loss. Ensure the other cluster
is not serving I/O for this consistency group before continuing. Continue? (Yes/No) Yes
In the following example:
l The two ls commands show a consistency group my_cg1 when an inter-cluster link outage has occurred. The detach-rule
is no-automatic-winner, so I/O stops at both clusters, the status summary is suspended (showing that I/O has
stopped), and the status details contain cluster-departure, indicating that I/O has stopped because the clusters can
no longer communicate with one another.
The choose winner command forces cluster-1 to detach cluster-2.
The ls command displays the change at cluster-1.
Cluster-1 status is suspended.
Cluster-2, is still suspended, cluster-departure.
Cluster-1 is the winner, so it detached cluster-2.
I/O at cluster-1 remains suspended, waiting for the administrator.
VPlexcli:/> ll /clusters/cluster-2/consistency-groups/
my_cg1/
/clusters/cluster-2/consistency-groups/my_cg1:
Attributes:
Name Value
-------------------- ---------------------------------------------------------
active-clusters []
cache-mode synchronous
detach-rule no-automatic-winner
operational-status [(cluster-1,{ summary:: suspended, details::
[cluster-departure, rebuilding-across-clusters,
restore-link-or-choose-winner] }), (cluster-2,{ summary::
suspended, details:: [cluster-departure,
restore-link-or-choose-winner] })]
passive-clusters []
read-only false
recoverpoint-enabled false
storage-at-clusters []
virtual-volumes [dr1_read_write_latency_0000_12_vol]
visibility [cluster-1, cluster-2]
Contexts:
Name Description
------------ -----------
advanced -
recoverpoint -
VPlexcli:/clusters/cluster-2/consistency-groups/my_cg1> choose-winner -c
cluster-2
WARNING: This can cause data divergence and lead to data loss. Ensure the other cluster
is not serving I/O for this consistency group before continuing. Continue? (Yes/No) yes
VPlexcli:/clusters/cluster-2/consistency-groups/my_cg1>
ls
Attributes:
Name Value
-------------------- ---------------------------------------------------------
active-clusters []
cache-mode synchronous
detach-rule no-automatic-winner
92
Commands