SQL AG: Cluster IP address resource cannot be brought online because a duplicate IP address was detected on the network. Please ensure all IP addresses are unique.

Sue_8827 81 Reputation points
2022-11-04T04:34:58.6+00:00

I built a SQL Cluster with always on availability groups, I am seeing the following error on the events

Cluster IP address resource cannot be brought online because a duplicate IP address was detected on the network. Please ensure all IP addresses are unique.

Cluster IP 10.1.10.91
257049-image1.png

256989-image2.png

You see in the image 2 that shows roles, the cluster IP is popping up under AG resource and its failing to bring it online. Can I remove this?

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
568 questions
Windows for business | Windows Server | Storage high availability | Clustering and high availability
SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. YufeiShao-msft 7,146 Reputation points
    2022-11-04T06:40:10.813+00:00

    Hi @Sue_8827

    As the error message said, the virtual IP of the cluster should be unique, please check your virtual IP address, if the IP address is duplicated, you can consider changing the IP address, right-click the IP address, choose Properties, you can see the Static IP address and change it to make sure this new IP is unique on the network, if you change any of the settings, try to bring the resource online first
    https://www.mssqltips.com/sqlservertip/4220/change-the-virtual-ip-address-for-a-sql-server-failover-cluster/

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

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    0 comments No comments

  2. Olaf Helper 47,441 Reputation points
    2022-11-04T07:41:50.963+00:00

    cannot be brought online because a duplicate IP address was detected on the network

    You get a clear error message, so check your network if the IP address is used elsewhere, e.g. ping the IP address with resolving to machine name.

    0 comments No comments

  3. Bjoern Peters 8,921 Reputation points
    2022-11-04T12:10:03.123+00:00

    Hi @Sue_8827

    No, you can't just delete the IP address on the AG role.

    But you can remove the IP address from the listener of the AG and add another free IP address to the listener.

    0 comments No comments

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.