Stop-VBRvCDCDPReplicaFailover
Short Description
Stops Cloud Director CDP replica failover.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRvCDCDPReplicaFailover -Replica <VBRvCDCDPReplica> [-ForceFailover] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet stops Cloud Director CDP replica failover, that is, performs failover undo.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will undo a failover without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
ForceFailover |
Defines that the cmdlet will force the undo failover operation. If you do not provide this parameter, the cmdlet will not be able to undo failover in case the host on which the replica resides is not available. |
|
False |
Named |
False |
|
Replica |
Specifies the replica of the vApp for which you want to undo failover.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Performing Failover Undo of Cloud Director CDP Replica
This example shows how to perform failover to a specific long-term restore point of a Cloud Director CDP replica.
|
$replica = Get-VBRCDPReplica -Name "Win07" Stop-VBRvCDCDPReplicaFailover -Replica $replica |
Perform the following steps:
- Run the
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$replicavariable. - Run the
Stop-VBRvCDCDPReplicaFailovercmdlet. Set the$replicavariable as theReplicaparameter value.
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.