Windows Server 2019 Failover Clustering Resources ownership problem

Eina 1 Reputation point
2020-11-05T18:02:30.89+00:00

Hello,

we have a Windows Server 2019 Failover Cluster which we use with Hyper-V. Its architecture is as follows (identic to used in this article https://learn.microsoft.com/en-us/windows-server/storage/storage-replica/stretch-cluster-replication-using-shared-storage):

storage_sr_stretchclusterexample.png

We have a problem with CSV possible owners, I keep changing owners with powershell, that every node would have a possibility to be a resource owner, but it keeps changing automatically - one or other site nodes are removed automatically, it looks like that:

PS C:\Windows\system32> Get-ClusterResource -Cluster "xxxCLUSTER" | Get-ClusterOwnerNode  
  
ClusterObject                        OwnerNodes  
-------------                        ----------  
21ea45d2-e7b5-4d1b-b5df-a50538dcc985 {xxx003, xxx004}  
acb881f4-0363-4aff-9a20-ba30219dbfbf {xxx001, xxx002, xxx003, xxx004}  

That would not be a problem, but sometimes I cannot move CSV role to other site nodes (it fails with Error Code: 0x80071398
The operation failed because either the specified cluster node is not the owner of the group, or the node is not a possible owner of the group), and when primary Ssite goes offline it refuses to change ownership automatically which leads to errors when VM's are starting at secondary site.
If I set owners manually that every host could be owner of those resources (get-clusterresource | Set-ClusterOwnerNode -owners xxx001, xxx002, xxx003, xxx004), after moving CSV to other site, owners are removed automatically again.
How can I prevent those automatic changes and keep all resources available for all nodes?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,536 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.
957 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaowei He 9,871 Reputation points
    2020-11-06T07:33:51.5+00:00

    Hi,

    I'd like to check if the CSV only connected to two nodes? For example, CSV 1 only connecting to node 1 and node 2, and you would like to set the possible owner of the CSV to be node 1, node 2, node 3, node 4?

    If the CSV only connect to node 1 and node 2, it's recommended to set the owner nodes to be node 1 and node 2, since it won't online nodes not connecting.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.