Stretch Hyper-V cluster, storage replica - Set-SRNetworkConstraint
Hi,
I have a stretch Hyper-V cluster, configured on Windows Server 2022 Data Center.
I use the Storage Replica functionality. I have limited network interfaces for a replica (Set-SRNetworkConstraint), for one cluster network.
When I testing this configuration, I receive incorrect behavior after disconnecting the network defined in SRNetworkConstraint in all cluster nodes. Replication alternates between disconnections and connections in other available cluster networks. The logs in this situation show:
04.10.2023 17:33:27 5015 Information Successfully established a connection to a partner replica....
04.10.2023 17:33:27 5014 Error Connection lost to the share hosting the partner replica....
04.10.2023 17:33:26 5015 Information Successfully established a connection to a partner replica....
04.10.2023 17:33:26 5014 Error Connection lost to the share hosting the partner replica....
04.10.2023 17:33:16 5015 Information Successfully established a connection to a partner replica....
04.10.2023 17:33:16 5014 Error Connection lost to the share hosting the partner replica....
04.10.2023 17:33:15 5015 Information Successfully established a connection to a partner replica....
04.10.2023 17:33:15 5014 Error Connection lost to the share hosting the partner replica....
04.10.2023 17:33:14 5015 Information Successfully established a connection to a partner replica...
In Performance counter I can also see that the status of the replica changes over and over again from correct to incorrect.
If I do not have SRNetworkConstraint defined, after disconnecting one of the cluster networks, the replica works correctly - its disconnects and connects to other available cluster networks.