6.2

Table Of Contents
n
View Administrator shows that a desktop machine or an RDS host is stuck in a deleting state.
n
You cannot delete a desktop pool or an automated farm.
n
You cannot delete a desktop machine or an RDS host.
n
In View Administrator's Inventory tab, the status of a desktop machine or an RDS host is missing.
In situations where database inconsistencies cause a desktop machine or an RDS host 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 farms and automated desktop pools of full virtual machines as well as
View Composer linked clones.
n
When you want to remove a machine, ViewDbChk performs a health check on the machine and prompts
you for additional confirmation if 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 desktop virtual machine, ViewDbChk removes the virtual
machine from inventory but does not delete it from disk. For a linked-clone desktop 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 desktop machines or RDS hosts in a manual farm.
ViewDbChk Syntax
ViewDbChk --findDesktop --desktopName <desktop pool or farm name> [--verbose]
ViewDbChk --enableDesktop --desktopName <desktop pool or farm name> [--verbose]
ViewDbChk --disableDesktop --desktopName <desktop pool or farm name> [--verbose]
ViewDbChk --findMachine --desktopName <desktop pool or farm name> --machineName <machine name>
[--verbose]
ViewDbChk --removeMachine --machineName <machine name> [--desktopName <desktop pool or farm
name>] [--force] [--noErrorCheck] [--verbose]
ViewDbChk --scanMachines [--desktopName <desktop pool or farm name>] [--limit <maximum deletes>]
[--force] [--verbose]
ViewDbChk --help [--commandName] [--verbose]
ViewDbChk Parameters
Parameter Description
--findDesktop Finds a desktop pool or farm.
--enableDesktop Enables a desktop pool or farm.
Setting Up Desktop and Application Pools in View
308 VMware, Inc.