Share via

Storage replicate flapping in case of failure of the SR Network Constraint network in the Hyper-V cluster

Yone Louis 0 Reputation points
2026-04-08T13:57:40.2+00:00

I'm running a stretched Hyper-V cluster on Windows Server 2022 with Storage Replica. I've restricted replication traffic to a specific cluster network using Set-SRNetworkConstraint. When this network fails, replication constantly switches between "connected" and "disconnected" (Event IDs 5015/5014). Without the constraint, failover over other networks works without issue. Is this behavior normal, or is there a configuration error?

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments

2 answers

Sort by: Most helpful
  1. Tracy Le 5,445 Reputation points Independent Advisor
    2026-04-09T14:30:07.05+00:00

    Hi Yone Louis,

    I just wanted to follow up and see if you had the opportunity to adjust the replication configuration on your Hyper-V cluster based on the information above. Were you able to successfully remove the Set-SRNetworkConstraint to stop the constant connected/disconnected flapping during a network failure? If you decided to implement New-SmbMultichannelConstraint to prioritize your high-speed NICs instead and need any assistance verifying the SMB traffic routing, please do not hesitate to reach out. I am always here to help ensure your storage high availability is rock solid!

    Tracy.

    0 comments No comments

  2. Tracy Le 5,445 Reputation points Independent Advisor
    2026-04-08T14:35:16.2333333+00:00

    Hi Yone Louis,

    This behavior is completely normal and expected. It is not a configuration error, but rather the strict, intended design of how network constraints function within Storage Replica.

    When you apply Set-SRNetworkConstraint, you are explicitly commanding the Storage Replica engine to never use any other network path for replication under any circumstances. When that specific network goes offline, the underlying SMB connection drops. Because SR is aggressively programmed to maintain data sync, it continuously attempts to reconnect. However, since it is hard-locked to the dead interface and forbidden from failing over to healthy networks, it gets stuck in an infinite retry loop. This loop generates the constant "connected/disconnected" flapping Event IDs (5015 and 5014) you are experiencing in your logs.

    To resolve this and achieve true high availability, you must remove the SR network constraint. If your goal is to prioritize replication traffic over a specific high-speed NIC while still allowing failover to other networks, do not use Set-SRNetworkConstraint. Instead, simply allow the cluster to use all available networks and let SMB Multichannel handle the traffic routing naturally, or use New-SmbMultichannelConstraint to guide the traffic without creating a hard-locked single point of failure.

    I hope this clarifies the architecture and helps you stabilize your Hyper-V cluster. If it did, please click "Accept Answer". Should you have any questions about configuring SMB constraints instead, feel free to leave a comment!

    TL.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.