Windows Server 2016 – Configure a Hyper-V server as replica

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.

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

Click Replication Configuration at the right. Select “Enable this computer as a Replica server” and select type of authentication you prefer.

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

The select Allow replication from any server and click OK.

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

You can also enable the server as Hyper-V replica with PowerShell:

set-vmreplicationserver -replicationenabled $true -allowedauthenticationtype kerberos -replicationallowedfromanyserver $true -defaultstoragelocation c:\HyperVreplica

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

 

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

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

To enable the rule just click on the right Enable Rule

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

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)"

, <span>Windows Server 2016 – Configure a Hyper-V server as replica</span>, KandZ

 

 

33120cookie-checkWindows Server 2016 – Configure a Hyper-V server as replicaWindows Server 2016 – Configure a Hyper-V server as replica

Related posts