Stop-VBRvCDReplicaFailover
Short Description
Stops Cloud Director replica failover.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRvCDReplicaFailover -RestorePoint <COib> [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet stops Cloud Director replica failover.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will perform failover without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point of a production vApp. The cmdlet will stop failover to this vApp.
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
Undoing Failover
This example shows how to undo failover of the WebServer Cloud Director replica.
|
$restorepoint = Get-VBRRestorePoint -Name "WebServer" Stop-VBRvCDReplicaFailover -RestorePoint $restorepoint[3] -RunAsync |
Perform the following steps:
- Run the
Get-VBRRestorePointReturns restore points. cmdlet. Specify theNameparameter value. Save the result to the$restorepointvariable.The
Get-VBRRestorePointcmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the fourth restore point in the array). - Run the
Stop-VBRvCDReplicaFailovercmdlet. Set the$restorepointvariable as theRestorePointparameter value. Provide theRunAsyncparameter.
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.