2

We have a three node AG. Two nodes in a local data center, one in a different subnet DR site. Am I correct that the Cluster Name should have two IPs, just like the listener?

Also, is there a way to set the preferred owners of the Cluster Name and Witness so it won't try to fail over to the DR site if the primary nodes are up?

Additional Info: We had an outage from patching a secondary node, we couldn't figure out why a secondary rebooting caused the AG & Cluster to go down. We opened a support ticket with Microsoft and they recommended we change the possible owners of the Cluster Group to exclude DR. So what appears to have happened is the Cluster Group tried to fail over to the DR site, it couldn't come online because there was no subnet IP. That took just long enough that quorum was lost because the witness didn't come online, and the secondary was rebooting.

4
  • What database software is this about?
    – Joe W
    Commented Sep 5, 2019 at 14:02
  • @Joe SQL Server 2016 Availability Group Configuration. From what I've been able to find I'm guessing the only way to set preferred owners is with Powershell.
    – MrTCS
    Commented Sep 5, 2019 at 14:24
  • Have you set up DR as a synchronous replica with automatic failover? Commented Sep 5, 2019 at 14:56
  • No, the AG is set up Async and manual to DR. I'm going to update the question with some additional details.
    – MrTCS
    Commented Sep 5, 2019 at 15:04

1 Answer 1

1

Yes, you need to add a DR site IP address for the cluster name. It may not be critical if you aren't using the cluster name for anything, but it is certainly a best practice and considered the correct configuration.

You don't really need to be concerned about the core cluster resources (cluster name, fileshare witness, etc.) failing over to the DR site. The cluster will run just fine if that occurs, and if the network to the DR site is interrupted, the two nodes in the local data center will arbitrate for ownership of the core resources and one will bring them online. This will not cause the availability groups to go offline and come back online--that will only occur if the AG primary can't retain ownership of the AG resources.

Having said that, you can set the possible owners of the cluster name resource on the Advanced tab, but in the case where you need to fail over to the DR node, you would need to change it again in order for the resources to come online on the DR node.

1
  • Thank you, that's what I thought but wanted to make sure I was reading everything correctly. I'm going to request a new subnet IP be added to the cluster and set the preferred owners to the primary site nodes, just to be safe.
    – MrTCS
    Commented Sep 5, 2019 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.