Linked Clones, Instant Clones keep coming back in deleting (missing) or Error (missing) state
I were testing FsLogix for profile redirection. During the
testing phase, I had to delete and recreate the desktop pools. Since, I
was initiating multiple tasks, some of the tasks got stuck, thus affecting the
connection server operations.
After proper troubleshooting, I was able to figure out the
machine didn’t exist in vCenter, however the affected machines were still
present in ADAM database.
To resolve this database inconsistency, I performed the below mentioned steps and I was successfully able to remove the stale machines.
· Remove the virtual machines from the ADAM Database on the connection server.
· Remove all affected computer objects from Active Directory.
Removing the virtual machine from the ADAM database on the connection server
Important: Prior to starting these steps, using the View Administrator, disable provisioning on the pool from which you are deleting the machine.
Ø Connect to the View ADAM database
Ø Right-click the Connection View ADAM Database [localhost: 389], and click New > Query.
Ø Provide a query name such as VM Search.
Ø Under Root of Search, click Browse and select the Servers organizational unit.
Ø Click OK.
In the Query String, paste this search string:
(&(objectClass=pae-VM)(pae-displayname=VirtualMachineName))
Where VirtualMachineName is the name of the virtual machine for which you are
trying to locate the GUID.
Ø Click OK to create the query.
Ø Click the query in the left pane. The virtual machines that match the search are displayed in the right pane.
Check the properties of the items returned by the query to confirm the correct virtual machine(s) were found, and delete the pae-VM object(s) to remove them from the database.
Removing the virtual machine from Active Directory
To remove the virtual machine from Active Directory:
- Log in to the Domain Controller as Administrator.
- Navigate to Start > Administrative Tools > Active Directory Users and Computers.
- Remove the virtual machine from Computers.
No comments:
Post a Comment