Stretch Hyper-V cluster, storage replica - Set-SRNetworkConstraint

Piotr Ziemiański 0 Reputation points
2023-10-06T07:39:47.41+00:00

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.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,635 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,636 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
979 questions
0 comments No comments
{count} votes