Setting Up Desktop and Application Pools in View

Table Of Contents
n
You cannot delete a desktop machine.
n
In View Administrator's Inventory tab, the status of a desktop machine is missing.
In situations where database inconsistencies cause a desktop machine to be in an unrecoverable error state
or prevent a View Administrator task from completing successfully, you can use the ViewDbChk command to
resolve the inconsistencies. The ViewDbChk command has the following characteristics:
n
ViewDbChk is automatically installed when you install View Standard Server or View Replica Server. The
utility is not installed when you install View Security Server.
n
ViewDbChk is a command that you can run from the Windows Command Prompt or from a script.
n
ViewDbChk supports automated desktop pools of full virtual machines as well as View Composer linked
clones.
n
When you want to remove a virtual machine, ViewDbChk performs a health check on the machine and
prompts you for additional confirmation it the machine looks healthy.
n
ViewDbChk can delete erroneous or incomplete LDAP entries.
n
ViewDbChk supports input and output using I18N character sets.
n
ViewDbChk does not remove user data. For a full virtual machine, ViewDbChk removes the virtual machine
from inventory but does not delete it from disk. For a linked clone virtual machine, ViewDbChk deletes
the virtual machine and archives the user disks to the root folder in the case of VMFS datastores or to a
sub-folder named archiveUDD in the case of Virtual SAN and Virtual Volumes datastores..
n
ViewDbChk does not support unmanaged machines.
ViewDbChk Syntax
ViewDbChk --findDesktop --desktopName <desktop name> [--verbose]
ViewDbChk --enableDesktop --desktopName <desktop name> [--verbose]
ViewDbChk --disableDesktop --desktopName <desktop name> [--verbose]
ViewDbChk --findMachine --desktopName <desktop name> --machineName <machine name> [--verbose]
ViewDbChk --removeMachine --machineName <machine name> [--desktopName <desktop name>] [--force]
[--noErrorCheck] [--verbose]
ViewDbChk --scanMachines [--desktopName <desktop name>] [--limit <maximum deletes>] [--force] [--
verbose]
ViewDbChk --help [--commandName] [--verbose]
ViewDbChk Parameters
Parameter Description
--findDesktop Finds a desktop pool.
--enableDesktop Enables a desktop pool.
--disableDesktop Disables a desktop pool.
--findMachine Finds a machine.
--removeMachine
Removes a machine from a desktop pool. Before removing a machine, ViewDbChk
prompts the user to disable the desktop pool. After removing the machine,
ViewDbChk prompts the user to re-enable the desktop pool.
Setting Up Desktop and Application Pools in View
298 VMware, Inc.