Start-VBRvCDReplicaFailover
Short Description
Starts to perform failover to a vCD replica.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides cmdlet sets that allow you to:
- Start to perform failover to a vCD replica. In this scenario, if failover does not complete successfully, Veeam Backup & Replication will start to perform failover to a CDP replica again.
Start-VBRvCDReplicaFailover -RestorePoint <COib> [-Retry] [-Reason <string>] [-PowerOn] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
- Start to perform permanent failover to a vCD replica.
Start-VBRvCDReplicaFailover -RestorePoint <COib> [-Definitive] [-Retry] [-Reason <string>] [-PowerOn] [-RunAsync][-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet starts to perform failover to a vCD replica.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
RestorePoint | Specifies a restore point of a vCD replica to which you want to perform failover. | Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. | True | Named | True (ByValue, ByPropertyName) |
Definitive | Defines that the cmdlet will perform a permanent failover of a vCD replica. If you do not specify this parameter, the cmdlet will not switch permanently from the original vApp to a vCD replica. | SwitchParameter | False | Named | False |
Retry | Defines that if failover does not complete successfully, Veeam Backup & Replication will start to perform failover to a vDC replica again. If you do not specify this parameter, the cmdlet will not start to perform failover to a vDC replica if some VMs are in the incomplete state. | SwitchParameter | False | Named | False |
Reason | Specifies the reason for performing failover. | SwitchParameter | False | Named | False |
PowerOn | If set, the replica VM will be powered on after the failback. Otherwise, you will need to power the VM on manually. | SwitchParameter | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | False |
Force | Defines that the cmdlet will perform failover without showing warnings in the PowerShell console. | SwitchParameter | 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. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if you want to continue running the command. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
Guid.
Examples
Example 1. Performing Failover to vCD Replica
This example shows how to perform failover to the WebServer vCD replica.
Perform the following steps:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the forth restore point in the array).
|
Example 2. Performing Failover to vCD Replica with Retry Option
This example shows how to perform failover to the WebServer vCD replica. If failover does not complete successfully, Veeam Backup & Replication will start to perform failover to a vCD replica again.
Perform the following steps:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the forth restore point in the array).
|
Example 3. Performing Permanent Failover to vCD Replica
This example shows how to perform a permanent failover to the WebServer vCD replica.
Perform the following steps:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the forth restore point in the array).
|
Related Commands