Remove an isolated host and desktop pool from VMWARE VIEW
Due to a problem with the vCenter database, and then re-installed the database, the Dynamic Desktop pool of the VIEW is lost. So today, I want to delete a desktop pool and create a new one. I suspect that the database may be faulty, so I cannot execute it. Therefore, I manually deleted the folder of the virtual machine. Then it's a tragedy .. The desktop pool and all virtual machines under the pool show "deleting (missing)", and the operational items are gray.
Www.2cto.com checked some information and finally found a solution: delete data in two steps: 1. First, delete data from the database layer. 1. log on to the server where composer is installed as an administrator. 2. Open CMD and enter the installation directory of composer. For example: c: \ Program Files (x86) \ VMware View Composer3, run SVICONFIG
Www.2cto.com this tool requires parameters. Here we will explain it to the instance. For other parameters, refer to sviconfig-operation = removesviclone-Vmname = your vm name (name of the vm to be deleted)
-AdminUser = Administrator (Super Administrator Account)-AdminPassword = password (your password) Note that do not wrap the command. Shows that the deletion is successful. At this time, you can go in from the VCS background and find that the desktop and pool are still there. Don't worry. Check the SVI_SIM_CLONE table in the view composer database and delete it, wait until you see me in the second part of the VCS. Step 2: delete from ADSI. 1. log on to ADSI. The following is the method provided on the official website. Just do it.
Windows Server 2003To connect to the View ADAM database: Log in to one of the View Connection Servers as the domain administrator. click Start> Programs> adam adsi Edit. in the console window, right-click adam adsi Edit and click Connect. under Connection name, type View ADAM Database. under Server name, make sure localhost is selected. under Port, make sure 389 is entered. under Connect to th E following node, select Distinguished name (DN) or naming context. in the field below, type dc = vdi, dc = vmware, dc = intClick OK. click View ADAM Database [localhost: 389] to expand. click DC = vdi, dc = vmware, dc = int to expand. windows Server 2008To connect to the View ADAM database: start -- run -- adsiedit. msc, and then enter Log in to one of the View Connection Servers as the domain administrator. click Start> Administrativ E Tools> ADSI Edit. in the console window, right-click ADSI Edit and click Connect. in the Name field type: View ADAM DatabaseSelect Select or type a Distinguished Name or Naming Context. in the field below, type dc = vdi, dc = vmware, dc = intSelect Select or type a domain or server. in the field below, type localhostClick OK. click View ADAM Database [localhost] to expand. click DC = vdi, dc = vmware, dc = int Expand.2. Find the desktop pool to be deleted under OU = Applications and OU = Server Groups. Delete it. 3. Check out your VCS. Isn't it? 3. If you have defined a permanent disk, You need to delete it in one more step... If you do not delete the disk space, the disk space will be deleted long ago.