5.2

Table Of Contents
For linked clones, resolve errors in the parent virtual machine and take a new snapshot.
n
If many desktops are in an Error state, use the new snapshot or template to recreate the pool.
n
If
most desktops are healthy, select the desktop pool in View Administrator, click Edit, select the vCenter
Settings tab, select the new snapshot as a default base image, and save your edits.
New linked-clone desktops are created using the new snapshot.
For full clones, resolve errors in the virtual machine, generate a new template, and recreate the pool.
Troubleshooting QuickPrep Customization Problems
A View Composer QuickPrep customization script can fail for a variety of reasons.
Problem
A QuickPrep post-synchronization or power-off script does not execute. In some cases, a script might complete
successfully on some linked clones, but fail on others.
Cause
A few common causes exist for QuickPrep script failures:
n
The script times out
n
The script path refers to a script that requires an interpreter
n
The account under which the script runs does not have sufficient permission to execute a script task
Solution
n
Examine the customization script log.
QuickPrep customization information is written to a log file in Windows temp directory:
C:\Windows\Temp\vmware-viewcomposer-ga-new.log
n
Determine if the script timed out.
View Composer terminates a customization script that takes longer than 20 seconds. The log file displays
a message showing that the script has started and a later message indicating the timeout:
2010-02-21 21:05:47,687 [1500] INFO Ready -
[Ready.cpp, 102] Running the PostSync script: cmd /c
C:\temp\build\composer.bat
2010-02-21 21:06:07,348 [1500] FATAL Guest -
[Guest.cpp, 428] script cmd /c
C:\temp\build\composer.bat timed out
To solve a timeout problem, increase the timeout limit for the script and run it again.
n
Determine if the script path is valid.
If you use a scripting language that needs an interpreter to execute the script, the script path must start
with the interpreter binary.
For example, if you specify the path C:\script\myvb.vbs as a QuickPrep customization script, View
Composer Agent cannot execute the script. You must specify a path that starts with the interpreter binary
path:
C:\windows\system32\cscript.exe c:\script\myvb.vbs
Chapter 16 Troubleshooting View Components
VMware, Inc. 399