User Tools

Site Tools


windows:server_os:hyper-v

Hyper-V Replica

Enable firewall HTTP listener
netsh advfirewall firewall set rule name="Hyper-V Replica HTTP Listener (TCP-In)" new enable=yes

Planned failover

Primary host
$PrimaryVM1 = “Core”
Stop-VM $PrimaryVM1
Start-VMFailover -VMName $PrimaryVM1 –prepare
Secondary host
$ReplicaVM1 = “Core”
Start-VMFailover -VMName $ReplicaVM1
Start-VM $ReplicaVM1
Reverse replication
Set-VMReplication -reverse -VMName $ReplicaVM1
windows/server_os/hyper-v.txt · Last modified: 2017/08/10 11:00 (external edit)