Differences
This shows you the differences between two versions of the page.
— | windows:server_os:hyper-v [2019/10/31 09:06] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Hyper-V Replica ====== | ||
+ | <code cmd Enable firewall HTTP listener> | ||
+ | Planned failover | ||
+ | <code powershell Primary host> | ||
+ | $PrimaryVM1 = “Core” | ||
+ | Stop-VM $PrimaryVM1 | ||
+ | Start-VMFailover -VMName $PrimaryVM1 –prepare | ||
+ | </ | ||
+ | <code powershell Secondary host> | ||
+ | $ReplicaVM1 = “Core” | ||
+ | Start-VMFailover -VMName $ReplicaVM1 | ||
+ | Start-VM $ReplicaVM1 | ||
+ | </ | ||
+ | |||
+ | <code powershell Reverse replication> | ||
+ | Set-VMReplication -reverse -VMName $ReplicaVM1 | ||
+ | </ |