• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

Trying to remove the Cluster Aware Update Role - error missing from AD

Let me know if anyone has any insight: When trying to remove the CAU role from the SOFS server we get this error. The root cause is that the VCNO object is missing from AD…how do we recover? I had hoped uninstalling and reinstalling would fix it.
 
PS C:\Windows\system32> Remove-CauClusterRole -Cluster FileCluster -Force
 
Add-CauClusterRole : Could not get the state of resource "CAUFileC3n8Resource": (Win32Exception) The cluster resource could not be found
At line:1 char:1
0
David Bogar
Asked:
David Bogar
1 Solution
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
Issue:
When Cluster-Aware Updating (CAU) is enabled, the CAU feature creates two resources (a Distributed Network Name resource and a ClusterAwareUpdatingResource resource).
 
If you use the following Windows PowerShell cmdlets to delete these resources, you can no longer add or remove the CAU role.

Remove-ClusterResource <CauResourceName>
Remove-ClusterResourceType “ClusterAwareUpdatingResource”
For example, if you run the cmdlets Remove-CauClusterRole or Add-CauClusterRole, you receive the error message:
 
Could not get the state of resource “<CauResourceName>”: (Win32Exception) The cluster resource could not be found.

Cause:
The deletion of CAU cluster resource type or resource instance by using clustering cmdlets is not supported. Because the resources and resource type are deleted, the Remove-CauClusterRole and Add-CauClusterRole cmdlets cannot remove or add the CAU cluster role as these cmdlets continue to look for the deleted resources.

Resolution:
If you have accidently deleted the CAU resource or resource type for the CAU clustered role by using clustering cmdlets, follow these steps to delete all references so that you can remove or add the CAU role:

Start Windows PowerShell (as an administrator). Check for cluster parameters with the names CauResourceName and CauVCOName. To do this, run the following command:
 
Get-Cluster <clustername> |  Get-ClusterParameter
If the parameter values exist, note the values.

Delete the virtual computer object (VCO) from Active Directory Domain Services. The name of the VCO is the value of the CauVCOName parameter that you determined in step 1. By default, the VCO is located in the Computers container in Active Directory Users and Computers.
Using Windows PowerShell (as an administrator), delete the cluster parameters with the names CauResourceName and CAUVCOName. To do this, run the following commands:
Get-Cluster <Clustername> | Set-ClusterParameter "CauResourceName" -Delete
Get-Cluster <Clustername> | Set-ClusterParameter "CauVCOName" -Delete

Tip   The recommended way to delete the CAU cluster resource is to use the Remove-CauClusterRole cmdlet.

 



https://social.technet.microsoft.com/wiki/contents/articles/13590.known-issues-windows-server-2012-failover-clustering.aspx


Hope that helps !

Good Luck.
0
 
David BogarIT ManagerAuthor Commented:
Thank you! This helped a lot.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now