set-databaseavailabilitygroup DAGname gives Dagname is not online.

Edward Ford 21 Reputation points
2020-10-12T12:18:11.037+00:00

set-databaseavailabilitygroup DAGname -WitnessServer computer3.test.com -WitnessDirectory c:\witnessshare -DatacenterActivationMode DagOnly gives error:: network name Dagname is not online. Please check that the IP address configuration for the database availability group is correct

Dagname is changed for this example.

any suggestions would be great

I do see the info in Microsoft Failover Cluster manager and can right click on it but when I click bring online it errors out.

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.
992 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Edward Ford 21 Reputation points
    2020-10-12T13:16:59.497+00:00

    I am getting DAG errors but it may be related to the Cluster being offline? I am getting Error Code: 0x80071736 The resource failed to come online due to the failure of one or more provider resources.

    0 comments No comments

  2. Xiaowei He 9,891 Reputation points
    2020-10-14T07:26:07.73+00:00

    Hi,

    Please check that the IP address configuration for the database availability group is correct

    Firstly, please use the following command to check if the DAG network settings are misconfigured:

    Get-DatabaseAvailabilityGroupNetwork | fl >c:\DAGnetwork.txt

    If the DAG network is correct, please check if the IP address resource can be online in the Cluster manager? Please provide the screenshot of the resource that can't be online in the cluster, and provide the error message when try to bring the failed resource online.

    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.


Your answer

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