This command can be used to:
-
Deactivate a protected path. This pauses snapshots and replication according to the protection policy associated with the protected path.
-
Activate a protected path if it was previously deactivated. This resumes snapshots and replication according to the protection policy associated with the protected path.
-
Initiate a failover in a native replication scenario. This must be done from the destination peer's VMS.
-
Abort a graceful failover during the first phase of the failover when the protected data is read-only on both peers.
-
Change the name of a protected path.
In native replication, where the protected path is mirrored on the destination peer, activation/deactivation can be done from either peer. Failover is initiated from the destination peer.
Usage - Name Change
protectedpath modify --id ID [--name NAME] [--activate] [--deactivate] [--modify-replication-state] [--abort-modify-replication-state] [--graceful] [--ungraceful]
Required Parameters
Options
|
Changes the name of the protected path. |
|
Activates a protected path if previously deactivated. |
|
Deactivates a protected path. |
|
Initiates a failover. Must be run from the destination peer and used with either |
|
Aborts a failover. Must be run from the destination peer. The abort operation is supported for graceful failovers during the read-only phase. |
|
Specifies failover type as graceful. Use in addition to |
|
Specifies failover type as ungraceful. Use in addition to |
Example
This example suspends a protected path whose ID is 1.
vcli: admin> protectedpath modify --id 1 --deactivate
This example starts a graceful failover on protected path with ID 3.
vcli: admin> protectedpath modify --id 3 --modify-replication-state --graceful
Comments
0 comments
Article is closed for comments.