CLI Guide

Table Of Contents
consistency-group set-detach-rule no-automatic-
winner
Sets or changes the detach-rule for one or more asynchronous consistency groups to no-automatic-winner.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is set-detach-rule no-automatic-
winner.
Syntax
consistency-group set-detach-rule no-automatic-winner
[-g|--consistency-group] consistency-group, consistency-group,...
[-f|--force]
Arguments
Required arguments
[-g|--consistency-group]
consistency-group, consistency-group, ...
The consistency groups on which to apply the no-automatic-winner detach rule.
Optional arguments
[-f|--force]
Force the operation to continue without confirmation. Allows this command to
be run from non-interactive scripts.
Description
Applies the no-automatic-winner detach rule to one or more specified consistency groups.
NOTE: This command requires user confirmation unless you use the --force argument.
This detach rule dictates no automatic detaches occur in the event of an inter-cluster link failure.
In the event of a cluster failure or departure, this rule-set results in I/O being suspended at all clusters whether or not metro
node Witness is deployed. To resume I/O, use either the consistency-group choose-winner or consistency-group
resume-after-rollback commands to designate the winning cluster.
Examples
Set the detach-rule for a single consistency group from the groups context:
VPlexcli:/clusters/cluster-1/consistency-groups/TestCG> set-detach-rule no-automatic-
winner
Set the detach-rule for two consistency groups from the root context:
VPlexcli:/> consistency-group set-detach-rule no-automatic-winner -g /clusters/cluster-1/
consistency-groups/TestCG,/clusters/cluster-1/consistency -groups/TestCG2
104
Commands