If you want high availability in Hyper-V then you have to configure the destination server as a Hyper-V Replica. How you to that:
Open Hyper-V manager and in the Actions panel, click Hyper-V settings.
Click Replication Configuration at the right. Select “Enable this computer as a Replica server” and select type of authentication you prefer.
The select Allow replication from any server and click OK.
You can also enable the server as Hyper-V replica with PowerShell:
set-vmreplicationserver -replicationenabled $true -allowedauthenticationtype kerberos -replicationallowedfromanyserver $true -defaultstoragelocation c:\HyperVreplica
If you enabled the server a replica from the Hyper-V manager then you should have received a message saying that you should configure the firewall. Open Windows Firewall with Advanced security, select Inbound Rules from the left and enable one for the following:
- Hyper-V Replica HTTP Listener if you selected to use Kerberos as authentication type
- Hyper-V Replica HTTPS Listener if you selected to use certificate-based Authentication as authentication type
To enable the rule just click on the right Enable Rule
You can also enable the firewall rule with PowerShell.
enable-netfirewallrule -displayname "hyper-v replica http listener (tcp-in)" enable-netfirewallrule -displayname "hyper-v replica https listener (tcp-in)"