Solved

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

Posted on 2016-07-18
2
61 Views
Last Modified: 2016-08-01
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
Comment
Question by:David Bogar
2 Comments
 
LVL 14

Accepted Solution

by:
Shabarinath Ramadasan earned 500 total points
ID: 41717375
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
 

Author Closing Comment

by:David Bogar
ID: 41738096
Thank you! This helped a lot.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now