SQL Server – Cluster Network Name Resource ‘SQL Network Name’ Failed to Create Its Associated Computer Object in Domain
A frequent issue that I’ve encountered while performing an installation of a SQL Server failover cluster is “The cluster resource ‘SQL Server (MSSQLSERVER)’ could not be brought online due to an error bringing the dependency resource ‘SQL Network Name (SQL2012CLS)’ online.” Upon checking the cluster events in the Failover Cluster Manager, you will find the below error.
Failover Cluster Manager Response
Cluster network name resource ‘SQL Network Name (SQL2012CLS)’ failed to create its associated computer object in domain ‘AD.DOMAINNAME.ORG’ for the following reason: Resource online.
The associated error code is: -1073741790
Please work with your domain administrator to ensure that:
– The cluster identity ‘WIN2012CLS$’ can create computer objects. By default, all computer objects are created in the ‘Computers’ container; consult the domain administrator if this location has been changed.
– The quota for computer objects has not been reached.
– If there is an existing computer object, verify the Cluster Identity ‘ WIN2012CLS$’ has ‘Full Control’ permission to that computer object using the Active Directory Users and Computers tool.
The cause to this error is that the ‘SQL2012CLS’ was not created, or properly “pre-staged,” within AD, and ‘WIN2012CLS’ doesn’t possess the required permissions to create the object.
In a cluster, the SQL Server Database Engine is dependent upon the SQL Server Network Name resource, so a failure in the Network Name will result in a failure in the SQL Server resource.
There are two resolutions to this issue.
One resolution is a preventative action that can be done prior to beginning the installation of the SQL Server Failover Cluster, and the other resolution is reactionary to the issue experienced during installation to be able to continue. Both resolutions require access and permissions to AD.
The resolution that will prevent this issue on future installations is to “pre-stage” the VCO.
- Log in as a user with permissions to create computer objects in the domain.
- Under Active Directory Users and Computers, create a “New Computer” object within the desired AD Container for the VCO (this will be your SQL Server Network Name).
- Once the object has been created, you can then add the CNO (this will be your WSFC Name) to the security of the VCO with “Full Control” over the VCO.
To achieve the resolution that will be reactive for your current errors, you need to grant the proper permissions to the CNO.
- Log in as a user with administrative permissions in the domain.
- Under Active Directory Users and Computers, grant the CNO (this will be your WSFC Name) “Create Computer Objects” permissions.
After doing this, you can retry your previously failed installation, and it should be successful. To verify if this issue was corrected, you can navigate within the SQL Server (MSSQLSERVER) Cluster group and attempt to bring the Server Name resource online. If the resource is able to be brought online successfully, your issue is resolved.