Start-VBRvCDCDPReplicaFailover
Short Description
Starts to perform failover to a Cloud Director CDP replica.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ToPointInTime (Default)Start-VBRvCDCDPReplicaFailover -Replica <VBRvCDCDPReplica> [-ToPointInTime <DateTime>] [-Reason <String>]
[-Commit] [-Retry] [-PowerOn] [-Force] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
-
RestorePointStart-VBRvCDCDPReplicaFailover -Replica <VBRvCDCDPReplica>
-LongTermRestorePoint <VBRvCDCDPLongTermRestorePoint> [-Reason <String>] [-Commit] [-Retry] [-PowerOn]
[-Force] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet starts to perform failover to a Cloud Director CDP replica. The replica must be in the Ready state.
Important |
|
Before you start to perform failover to Cloud Director CDP replicas we recommend to the run the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Commit |
Defines whether the cmdlet will perform permanent failover. If you provide this parameter, the cmdlet will switch from the original vApp to the replica and will set for the replica the role of the original vApp. If you do not provide this parameter, the cmdlet will not set for the replica the role of the original vApp after performing a failover. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will perform failover without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
LongTermRestorePoint |
Specifies a long-term restore point of a replica. The cmdlet will perform failover to this restore point.
Accepts the |
|
True |
Named |
False |
|
PowerOn |
Defines that the cmdlet will power on the replica after performing failover. If you do not want to power on the replica, set the parameter to
Default:
Note: If you provide this parameter with the |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing failover. |
|
False |
Named |
False |
|
Replica |
Specifies the replica to which you want to fail over.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Retry |
Defines that if failover does not complete successfully, the cmdlet will start to perform failover again. If you do not specify this parameter, the cmdlet will not start to perform failover if any vApps are in the incomplete state. |
|
False |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
ToPointInTime |
Specifies date and time when a restore point was created. The cmdlet will perform failover to the restore point created at the specified date and time. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
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.
Output Object
SessionId <Guid>
Examples
Example 1. Performing Failover to Restore Point Created at Specific Sate and Time
|
This example shows how to perform failover to a restore point created at a specific date and time.
Perform the following steps:
|
Example 2. Performing Failover to Specific Long-Term Restore Point Created 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.
Perform the following steps:
|
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-DateGet-VBRvCDCDPLongTermRestorePointReturns long-term restore points of a Cloud Director CDP replica.