Hello Experts,
After I created an Availability Group in Always On High Availability in SSMS, I was trying to create a listener in Availability Group Listeners. In the creation wizard after put in the name, select Static IP type in IP addresses and click OK, I got failure:
Creating availability group listener resulted in an error.
ADDITIONAL INFORMATION:
Create failed for Availability Group Listener ‘AG-test-A’. (Microsoft.SqlServer.Smo)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
The WSFC cluster could not bring the Network Name resource with DNS name 'AG-test-A' online. The DNS name may have been taken or have a conflict with existing name services, or the WSFC cluster service may not be running or may be inaccessible. Use a different DNS name to resolve name conflicts, or check the WSFC cluster log for more information.
The attempt to create the network name and IP address for the listener failed. If this is a WSFC availability group, the WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator. Otherwise, contact your primary support provider. (Microsoft SQL Server, Error: 19471)
I've researched on this error and can't get answer on the error in my case:
First of all, I read the Event Viewer with event ID = 1194: Status = Cannot complete this function
The text for the associated error code is: Cannot complete this function.
Please work with your domain administrator to ensure that:
- The cluster identity 'SQLAACtest$' has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity 'SQLAACtest$'.
- The quota for computer objects has not been reached.
- If there is an existing computer object, verify the Cluster Identity 'SQLAACtest$' has 'Full Control' permission to that computer object using the Active Directory Users and Computers tool.
From Cluster.log, I also got the error message:
[Verbose] 00001cf4.000009a8::2020/03/25-05:56:59.068 ERR [RES] Network Name: [NNLIB] Object SQLtest-A creation using LDAP failed on DC \\testserver.firm.mycompany.com. status = 1003
In command prompt type in Net helpmsg 1003, the result is the same: Cannot complete this function.
What is the reason to caused the listener creation failed? What should I do according to the message showing in the log files?
Thanks,
lw