Start-VBRHvReplicaFailover
Short Description
Fails over corrupted Hyper-V VMs to their replicas.
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Start-VBRHvReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [<CommonParameters>]
-
DefiniteStart-VBRHvReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [-Definite] [<CommonParameters>]
-
PlannedStart-VBRHvReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [-Planned] [<CommonParameters>]
Detailed Description
This cmdlet fails over a corrupted Hyper-V VM to its successfully created replica.
This cmdlet provides 3 parameter sets for the following operations:
- Failover
- Permanent failover
- Planned failover
Run the Start-VBRHvReplicaFailbackFails back Hyper-V VMs to production host. cmdlet to fail back to the original VM.
Run the Stop-VBRReplicaFailoverUndoes replica failover. cmdlet to undo failover. You can also undo planned failover.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Definite |
Defines that the failover is permanent. |
|
False |
Named |
False |
|
Planned |
Defines that the failover is planned. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing a failover. |
|
False |
Named |
False |
|
RestorePoint |
Specifies the replica restore point to which you want to fail over.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Performing Planned Failover to VM Replica
|
This example shows how to perform failover to the
Perform the following steps:
|
Example 2. Performing Permanent Failover to VM Replica
|
This example shows how to perform failover to the
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.