I am trying to set up Cluster Aware Updating, but it always fails with the following error:
Add-CauClusterRole : Unable to create the CAU clustered role because a Network Name resource could not be created.
This can occur if a computer account (virtual computer object) for the role could not be created in the domain. Check
the event log for more information. If the cluster name account does not have permissions to create the object, you
can pre-stage a computer account in Active Directory. Then, use the Add-CauClusterRole Windows PowerShell cmdlet with
the VirtualComputerObjectName parameter to create the CAU clustered role. For more information about pre-staging
computer accounts, see http://go.microsoft.com/fwlink/p/?LinkId=237624.
At line:1 char:1
+ Add-CauClusterRole -ClusterName cluster -Force -CauPluginName Microsoft.Win ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (:) [Add-CauClusterRole], ClusterUpdateException
+ FullyQualifiedErrorId : CouldNotFindVcoName,Microsoft.ClusterAwareUpdating.Commands.AddCauClusterRoleCommand
Here is the PowerShell command I am using
Add-CauClusterRole -ClusterName cluster -Force -CauPluginName Microsoft.WindowsUpdatePlugin -MaxRetriesPerNode 3 -CauPluginArguments @{ 'IncludeRecommendedUpdates' = 'False' } -StartDate "7/17/2013 3:00:00 AM" -DaysOfWeek 16 -WeeksOfMonth @(2) -VirtualComputerObjectName cau -EnableFirewallRules;
I've prestaged the 'cau' computer object in Active Directory, and given full control to the 'cluster' object.
However, when I run the command, it still tries to create a computer object with a random name, seemingly completely ignoring the VirtualComputerObjectName param. Any thoughts?