Hyper-V 2012 Replica Windows Firewall Rule Monitor

Microsoft.Windows.HyperV.2012.ReplicaFirewallMonitor (UnitMonitor)

Monitors Hyper-V 2012 Replica Windows firewall rules configuration

Knowledge Base article:

Summary

For replication to work successfully, an entry should be available in the firewall which allows traffic on the configured port.

Causes

The Windows Firewall rule to allow replication traffic to the Replica site has not been enabled.

Resolutions

If you are using Windows Firewall, then enable the "Hyper-V Replica HTTPS Listener (TCP-In)" if you are using Kerberos based authentication and/or "Hyper-V Replica HTTP Listener (TCP-In)" if you are using certificate based authentication.

Element properties:

TargetMicrosoft.Windows.HyperV.2012.ServerRole
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.HyperV.2012.ReplicaFirewallMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Hyper-V 2012 Replica Windows Firewall Rule(s) is disabled.
Hyper-V 2012 Replica Windows Firewall Rule(s) is disabled. These Windows firewall rules are: "Hyper-V Replica HTTPS Listener (TCP-In)" and "Hyper-V Replica HTTP Listener (TCP-In)". Either Windows Firewall is not being used or is not configured properly
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.2012.ReplicaFirewallMonitor" Accessibility="Public" Enabled="false" Target="HVDisc!Microsoft.Windows.HyperV.2012.ServerRole" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.HyperV.2012.ReplicaFirewallMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.2012.ReplicaFirewallMonitor.Alert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ReplicaFirewallRulesPresent" MonitorTypeStateID="HostHealthy" HealthState="Success"/>
<OperationalState ID="ReplicaFirewallRulesAbsent" MonitorTypeStateID="HostCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>86400</IntervalSeconds>
<TimeoutSeconds>30</TimeoutSeconds>
</Configuration>
</UnitMonitor>