First, I doubt this procedure is supported. Second, if you follow these steps, you do so at your own risk. It worked for me, but your mileage may vary.
Ok, so let’s say that you have a pool of full desktops – no linked clones – using dedicated assignment. It has become necessary to split the desktops in the pool into two smaller pools for some reason. We don’t want to actually change the desktop VM itself in any way, just move it to a new pool.
Prerequisites:
- Source and Destination Pools – full desktops, dedicated assignment
- The names from View administrator of the desktops you want to move
- Administrative rights on a View Connection Server
Steps:
- Logon to a View Connection Server as an administrator
- Follow the steps here to open the View ADAM database in ADSIEdit
- Get the GUID for the Desktop VM
- Right-click the Connection View ADAM Database [localhost:389], and click New > Query.
- 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))
WhereVirtualMachineName
is the name of the virtual machine for which you are trying to locate the GUID. You may use * or ? as wildcards to match multiple desktops. - 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.
- Record the GUID in
cn=<GUID>
.
- Expand View ADAM Database [localhost]
- Expand DC=vdi,dc=vmware,dc=int
- Click on OU=Server Groups. Confirm that all your Desktop Pools appear on the right.
- Right-click the Server Group Object corresponding to your source desktop pool and choose Properties.
- In the Attribute Editor, scroll down to the “pae-memberDN” attribute. Double-click to open it.
- This is the list of VMs currently in the pool. Locate the GUID(s) matching the distinguished named and click “remove” to remove them from the pool. I strongly suggest copying the removed value to notepad so you can paste it back it accurately in the coming steps.
- When finished removing the appropriate objects from the pae-memberDN attribute, click OK twice to close the attribute and the Server Group object
- Right-click the Server Group Object corresponding to your destination desktop pool and choose Properties.
- In the Attribute Editor, scroll down to the “pae-memberDN” attribute. Double-click to open it.
- Paste the distinguished name value for the desktop GUID int the “Value to add” text box and click “Add”. Repeat for additional desktops
- When finished adding records to the pae-memberDN attribute, click OK twice to close the attribute and the Server Group object
- Close ADSIEdit and launch View Administrator to see the results.
Good Luck, please let me know if you try this.
References:
VMware KB 1008658
VMware KB 2012377