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: 2019/10/31 09:06
  • by 127.0.0.1