Citrix Systems 5.5.0 Washer User Manual


 
XenServer Virtual Machine Installation Guide Installing Windows VMs 12
sysprep modifies the local computer SID to make it unique to each computer. The sysprep binaries are on
the Windows product CDs in the \support\tools\deploy.cab file.
The steps that you need to take to clone Windows VMs are:
Cloning Windows VMs
1. Create, install, and configure the Windows VM as desired.
2. Apply all relevant Service Packs and updates.
3. Install the Citrix Tools for Virtual Machines.
4. Install any applications and perform any other configuration.
5. Copy the contents of \support\tools\deploy.cab from the Windows product CD to a new
\sysprep folder in the VM.
6. Run sysprep. This will shut down the VM when it completes.
7. Using XenCenter convert the VM into a template.
8. Clone the newly created template into new VMs as required.
9. When the cloned VM starts, it will get a new SID and name, run a mini-setup to prompt for configuration
values as necessary, and finally restart, before being available for use.
Note
The original, sysprepped VM (the "source" VM) should not be restarted again after the sysprep stage, and
should be converted to a template immediately afterwards to prevent this. If the source VM is restarted,
sysprep must be run on it again before it can be safely used to make additional clones.
For more information on using sysprep, refer to the Microsoft TechNet page Windows System Preparation
Tool.
Time Handling in Windows VMs
For Windows guests, time is initially driven from the control domain clock, and is updated during VM lifecycle
operations such as suspend, reboot and so on. Citrix highly recommends running a reliable NTP service
in the control domain and all Windows VMs.
So if you manually set a VM to be 2 hours ahead of the control domain (e.g. using a time-zone offset within
the VM), then it will remember that. If you subsequently change the control domain time (either manually
or if it is automatically corrected by NTP), the VM will shift accordingly but maintain the 2 hour offset. Note
that changing the control domain time-zone does not affect VM time-zones or offset. It is only the hardware
clock setting which is used by XenServer to synchronize the guests.
When performing suspend/resume operations or live relocation using XenMotion, it is important to have
up-to-date Windows PV drivers installed, as they notify the Windows kernel that a time synchronization is
required after resuming (potentially on a different physical host).
Release Notes
There are many versions and variations of Windows with different levels of support for the features provided
by XenServer. This section lists notes and errata for the known differences.