Citrix Xenconvert Guide
Citrix Xenconvert Guide
XenConvert 2.3
Revision 1
December 16, 2010
XenConvert Copyright and Trademark Notices
Use of the product documented herein is subject to your prior acceptance of the End User License Agreement. A
printable copy of the End User License Agreement is included with your installation media.
Information in this document is subject to change without notice. Companies, names, and data used in examples herein
are fictitious unless otherwise noted. No part of this document may be reproduced or transmitted in any form or by any
means, electronic or mechanical, for any purpose, without the express written permission of Citrix Systems, Inc.
© 2010 Citrix Systems, Inc. All rights reserved.
The following are trademarks of Citrix Systems, Inc. and/or one or more of its subsidiaries, and may be registered in the
United States Patent and Trademark Office and in other countries:
Branch Repeater™, Citrix®, Citrix Access Essentials™, Citrix Access Gateway™, Citrix Desktop
Receiver™, Citrix Desktop Server™, Citrix EasyCall™, Citrix Essentials™, Citrix Merchandising
Server™, Citrix Provisioning Services™, Citrix Receiver™, Citrix Repeater™, Citrix Streaming
Server™, Citrix Subscription Advantage™, Citrix Workflow Studio™, Citrix XenApp™, Dazzle™,
EdgeSight®,HDX™, ICA®, NetScaler®,Request Switching®, StorageLink™, VPX™, WANScaler™,
XenDesktop™, XenServer™, Xen Data Center™, Xen Source™
All other trademarks and registered trademarks are the property of their respective owners.
Document Code: December 16, 2010
Legal Notices
XML-RPC.NET: Copyright © 2001-2006 Charles Cook. SharpZipLib: Copyright © 2000-2007 IC#Code
([email protected]).
SharpZipLib is released under the GPL with the Classpath exception. To learn more about the GPL, please visit http://
www.opensource.org/licenses/gpl-license.php.
All schemas sourced from schemas.dmtf.org: Copyright © 2009 Distributed Management Task Force, Inc. (DMTF). All rights
reserved.
DMTF is a not-for-profit association of industry members dedicated to promoting enterprise and systems management and
interoperability. Members and non-members may reproduce DMTF specifications and documents for uses consistent with this
purpose, provided that correct attribution is given. As DMTF specifications may be revised from time to time, the particular
version and release date should always be noted.
Implementation of certain elements of this standard or proposed standard may be subject to third-party patent rights, including
provisional patent rights (herein "patent rights"). DMTF makes no representations to users of the standard as to the existence of
such rights, and is not responsible to recognize, disclose, or identify any or all such third party patent right, owners or claimants,
nor for any incomplete or inaccurate identification or disclosure of such rights, owners or claimants. DMTF shall have no
liability to any party, in any manner or circumstance, under any legal theory whatsoever, for failure to recognize, disclose, or
identify any such third-party patent rights, or for such party's reliance on the standard or incorporation thereof in its product,
protocols or testing procedures. DMTF shall have no liability to any party implementing such standard, whether such
implementation is foreseeable or not, nor to any patent owner or claimant, and shall have no liability or responsibility for costs
or losses incurred if a standard is withdrawn or modified after publication, and shall be indemnified and held harmless by any
party implementing the standard from any and all claims of infringement by a patent owner for such implementations.
(C) 1995-2004 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use
this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
C ONTENTS
Contents
Chapter 1 Introduction
About This Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Related Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
About XenConvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
About Compatible Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
XenServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Provisioning Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
About Virtualization Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
About XVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
About OVF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
About Converting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Choosing the Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Choosing the Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Starting XenConvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Reviewing the Log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Introduction
Related Information
Additional information about Citrix XenServer and Citrix Provisioning Services
may also be required during installation and use of this product. This information
can be found at the following locations:
• XenServer: http://support.citrix.com/product/xens/
• Provisioning Services: http://support.citrix.com/product/provsvr/
6 Citrix XenConvert Guide
About XenConvert
Citrix XenConvert is both a physical-to-virtual (P2V) and virtual-to-virtual
(V2V) conversion tool.
As a P2V tool, XenConvert can convert a server or desktop workload from an
online physical machine running Windows, to a virtual machine for use with
XenServer or a virtual disk for use with Provisioning Services.
As a V2V tool, XenConvert can convert a server or desktop workload from an
virtual appliance or disk, containing any guest operating systems including
Windows and Linux, to a XenServer virtual machine.
Installing the Provisioning Services Target Device software before converting
enables the provisioning of a workload for streaming to a physical machine or
XenServer virtual machine.
XenServer
Citrix® XenServer™ is a complete server virtualization platform, optimized for
both Windows and Linux virtual servers, with all the capabilities required to
create and manage a virtual infrastructure. XenServer is, essentially, a control
program or hypervisor, that runs on the physical or host server to provide a
simulated computer environment. XenServer works by virtualizing the hardware.
Hardware virtualization abstracts characteristics, such as hard drives, resources,
or ports, of the system from the hardware and allocates it to the virtualized
computer(s) running on it. These virtualized "computers," are known as virtual
machines. They run operating systems and applications that are often referred to
as guest software.
XenServer lets you create virtual machines (VMs), take VM disk snapshots, and
manage VM workloads. XenServer runs directly on server hardware without
requiring an additional underlying operating system. XenServer can be managed
through XenCenter, a Windows administration tool, or via a command line
interface (CLI) running on Linux or Windows.
Chapter 1 Introduction 7
Provisioning Services
The Provisioning-Services solution’s infrastructure is based on software-
streaming technology. Using Provisioning Services, administrators prepare a
device (master target device) for imaging by installing any required software on
that device. A vDisk (virtual disk image) is then created from the master target
device’s hard drive and saved to the network (on a Provisioning Server or storage
device). After the vDisk is available from the network, the target device no longer
needs its local hard drive to operate; it boots directly across the network. The
Provisioning Server streams the contents of the vDisk to the target device on
demand, in real time. The target device behaves as if it is running from its local
drive. Unlike thin-client technology, processing takes place on the target device.
About XVA
XVA is the original format of a Xen Virtual Appliance. There are two versions of
XVA, which are referred to as XVA V1 and XVA V2 in this document. XVA V1
includes the following files and folders.
• ova.xml; meta-data file defining the properties of a Xen VM
• hda; folder containing one or more compressed ‘chunks’ of a virtual hard
disk.
XVA 2 format is a single file archive of files that comprise a Xen Virtual
Appliance. XenCenter can import both formats but only exports in XVA V2.
XenConvert can convert XVA V2 to OVF.
8 Citrix XenConvert Guide
About OVF
OVF is the Open Virtualization Format. It is a standard defined by the Distributed
Management Task Force (DMTF) that describes virtual machines in the form of
an OVF Package or Open Virtualization Appliance (OVA) Package.
An OVF Package consists of a descriptor file (*.ovf) and any other files
representing the following attributes of the package:
Signature
Digital signature used by a public key certificate in the X.509 format to
authenticate the producer of the package.
Manifest
SHA-1 digest of every file in the package to verify its contents by detecting any
corruption.
Virtual disks
Files comprising virtual disks in the format defined by the virtualization product
that exported the virtual disks. VMware products export a virtual disk in the
Stream-Optimized VMDK format for an OVF Package. XenServer products
export a virtual disk in the Dynamic VHD format for an OVF Package..
An OVA package is a single archive file, in the Tape Archive (tar) format,
containing the files that comprise an OVF Package.
Refer to the following documents for more information about OVF:
• Overview of the Open Virtualization Format (http://support.citrix.com/
article/CTX121652)
• Open Virtualization Format Specification (http://www.dmtf.org/sites/
default/files/standards/documents/DSP0243_1.1.0.pdf)
About Converting
Converting with XenConvert consists of the following steps:
1. “Choosing the Source”
2. “Choosing the Destination”
3. “Starting XenConvert”
4. “Reviewing the Log File”
Chapter 1 Introduction 9
Starting XenConvert
To start XenConvert in attended mode using the wizard, from the Windows Start
menu, click All Programs > Citrix > XenConvert . The Citrix XenConvert
Welcome screen appears. Refer to “Using XenConvert” chapter for details.
To start XenConvert in an unattended mode from a console shell, from the
XenConvert installation directory, type XenConvert.exe followed by the
name, parameters, and options of a conversion in the following order:
start /b /wait XenConvert <Conversion Name> <Parameters>
[<Options>]
Note Only one instance of the XenConvert wizard can run at a time. More than
one instance of XenConvert can run at a time when started from the command
line. However, it is impractical to run more than one conversion from a physical
machine at a time. This is especially true on Windows Vista and Server 2008 and
later because XenConvert uses snapshots.
Release Notes
Interoperability
This release of XenConvert works with XenServer 5.6, XenServer 5.6 FP1,
Provisioning Services 5.6, and Provisioning Services 5.6 SP1.
Note: XenConvert 2.3 encodes the OVF file in UTF-16. However, the XenServer
5.6 Appliance Import feature only decodes an OVF file in UTF-8. To import an
OVF file produced by XenConvert 2.3 into XenServer 5.6, first change the
encoding from UTF-16 to UTF-8. One method that can be used includes the
following:
1. Open the OVF file in Notepad.
2. Edit the file to change the encoding attribute from utf-16 to utf-8.
3. Select Save As... from the File menu.
4. Select UTF-8 from the Encoding pull down menu.
5. Click Save.
Support for Windows 2000 is deprecated in this release
14 Citrix XenConvert Guide
Known Limitations
This section describes known limitations for XenConvert.
Proxy Server
XenConvert communicates with a XenServer using HTTP, a web protocol.
However, it cannot communicate through a proxy server. To workaround this
limitation, disable the use of a proxy server on the machine that is running
XenConvert before converting to XenServer.
Open Files
XenConvert cannot copy a file in use by another application or service on
Windows 2000, Windows XP and Windows Server 2003. To ensure that the file is
included in the conversion, stop the respective service before starting the
conversion. It is not recommended to convert a workload executing a critical
service that keeps critical files open that cannot be stopped (such as a Domain
Controller with Active Directory service).
Chapter 2 Release Notes 15
File Systems
XenConvert only supports converting from a volume formatted with NTFS.
However, XenConvert does not reproduce the following optional attributes of a
file from its source volume to the target volume.
Data Streams
XenConvert converts only the default data streams but not named data streams.
Hard Links
XenConvert does not create hard links on the target volume. Instead, it
reproduces the file(s) referenced by the hard link. Consequently, the target
volume may require more free space than the source volume.
Compression
XenConvert does not configure NTFS to compress a file on the target volume that
had the compression attribute on the source volume. Consequently, the target
volume may require more free space than the source volume
Encryption
XenConvert does not configure NTFS to encrypt a file on the target volume that
had the encryption attribute on the source volume.
Known Issues
This section describes known issues for XenConvert. Wherever possible, a
workaround for the problem is included.
Network Drives
XenConvert cannot mount a VHD when a network drive was mapped to the next
available drive letter after the last local drive.
To workaround this limitation, remap the network drive to a drive letter other than
the lowest one available. For information about a similar issue, see http://
support.microsoft.com/kb/297694/. While this article pertains to Windows XP,
the problem also affects Windows Server 2003 when automount is enabled.
16 Citrix XenConvert Guide
Installing XenConvert
Download the XenConvert installer from the download page for XenServer or
from the download page for Provisioning Services (http://www.citrix.com).
System Requirements
The tables that follow provide the system requirements for:
• Host machine used to perform conversions (“Host Machine
Requirements”).
• Virtual machine or virtual disk being converted (“Virtual Machine or
Virtual Disk Requirements”).
18 XenConvert Installation Guide
32-bit
Windows Server 2003; Standard, Enterprise SP1/SP2
Windows Server 2003 R2; Standard, Enterprise SP1/SP2
Windows Small Business Server 2003 SP1/SP2
Windows XP SP1/SP2/SP3
Windows 2000 SP4
Windows Server 2008; SP1/SP2
Windows Vista; SP1/SP2
Windows 7
Note: For Windows 2000, the Microsoft Security Patch must be installed
(refer to KB 835732).
2. Start the appropriate installation wizard:
• XenConvert_Install.exe
• XenConvert_Install_64.exe
3. Click Next on the Welcome page. The License Agreement screen appears.
4. Click to select any of the following options:
• Print (optional) to print a copy of the License Agreement.
• I accept..... , then Next to continue the installation.
• I do not accept to terminate the installation.
The Destination Folder screen appears.
5. Click Next to install XenConvert in the default directory or click Change
to change the directory.
6. Click Next. The Ready to Install the Program screen appears.
22 XenConvert Installation Guide
Configuring XenConvert
Exclude
The exclude section is a list of files to exclude from the conversion.
Mode
The mode section affects the lists of source and destination types shown in the
wizard. To limit the types only applicable to Provisioning Services, add the
following line to the mode section:
PVS=
24 Citrix XenConvert Guide
Parameters
The parameters section can contain zero or more of the parameters shown in
the following table:
Name Description
AutoDismountTimeoutAs Number of milliseconds to wait before retrying to
Ms automatically dismount a VHD. Default is 60
seconds.
Default is 60000 (60 seconds).
VhdPluginTimeoutAsMs Number of milliseconds to wait for a VHD to
mount.
Default is 600000 (10 minutes).
PartitionOffsetBase The absolute offset, measured in bytes, to place the
first partition. Use this parameter to align the first
partition on a boundary that is optimal for a storage
device.
For example, for some SANs, virtual disk access is
optimal when the offset is 1 MB.
For Provisioning Services, an offset that is a multiple
of the cluster size of the NTFS that stores a
Provisioning Services virtual disk.
Default is 258048 (63 * 4096) bytes for use with
Provisioning Services virtual disks on an NTFS with
a 4096 cluster size.
ServerClusterSize The number of bytes in a file system cluster on the
system serving a vDisk. Set this parameter to
optimize access of the vDisk by a system serving the
vDisk from a simple file, such as Provisioning
Services.
For example:
If a vDisk resides in a Provisioning Services store
that is located on an NTFS volume with a cluster
size of 16384, set the ServerClusterSize to 16384.
Default is 4095.
WindowsFreePercentage The percentage of free space to reserve in the
volume on the vDisk that will contain the Windows
operating system.
Default is 25%.
C HAPTER 5
Using XenConvert
This chapter describes how to convert a workload from the following sources:
• “Converting From a Physical Machine”
• “Converting From VMware”
• “Converting From an OVF Package”
• “Converting from a VHD”
• “Converting From XVA V2 to an OVF Package”
• “Converting a Single Volume”
All conversions from a physical machine have the following steps in common.
• “Preparing the Source Machine”
• “Choosing Volumes”
Choosing Volumes
When converting from a physical machine to a virtual machine or virtual disk,
XenConvert provides the options to:
• Select up to four volumes to include
• Resize those volumes in the virtual disk by changing the amount of free
space.
• Resize the entire virtual disk by changing the unallocated space (for
conversions to destinations other than Provisioning Services)
These options become available after the wizard’s Welcome page displays.
The tables that follow describe the properties and options of source and
destination volumes.
Chapter 5 Using XenConvert 27
Source
Destination
Disk
Note During the conversion process, if the Windows boot volume (contains the
Windows folder) and Windows system volume (contains the boot configuration
data) reside on separate partitions, XenConvert combines them onto the same
partition. Refer to http://support.microsoft.com/kb/314470 for
the definitions of the Windows boot and system volumes.
Note Windows Vista and later, will display a format dialog for every partition
being created. Cancel all format dialogs requests. XenConvert will automatically
format each partition.
Hostname
Simple host name, fully qualified domain name, or IP address of a
standalone XenServer or the XenServer Pool Master.
User name
Name of the account with import privileges. Consult the XenServer product
documentation for information on account requirements.
Password
The password that is associated with User name.
Workspace
Path of the folder to store intermediate files such as OVF and VHD files.
6. Click Next
7. Optional. Check the Log name of converted files checkbox to log the
name of each copied file to XenConvert.txt
8. Verify that the source and destination conversion information is correct,
then click Convert. The conversion is complete when the progress bar
reaches 100% and the Status field indicates if the conversion was
successful or not.
9. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
5. Choose a folder to store the OVF Package by typing or browsing for the
appropriate location.
6. Optional. Choose a EULA to include in the OVF Package by typing or
browsing for the appropriate location.
7. Optional, check:
Create Open Virtual Appliance (OVA)
Check this box to create an OVA Package from the OVF Package for
distribution.
Compress Open Virtual Appliance (OVA)
Check this box to reduce the size of the OVA. This option is only available
if the Create Open Virtual Appliance box is checked.
Encrypt
Select this option to encrypt the OVF Package. If the Create Open Virtual
Appliance (OVA) is selected, encryption occurs before creating the OVA.
Enter the passphrase with which to encrypt, in the Passphrase text box.
Confirm the passphrase by entering it again in the Confirm text box.
Sign with Certificate
Check this box to sign this OVF Package with a certificate in the X.509
format.
• Browse for the appropriate file to include using the File... button
• Enter the password in the Password textbox.
• Click View to view certificate information.
8. Click Next.
9. Optional. Edit the name of your new VM in the Name textbox. The OVF
Package will be given the same name as the VM.
10. Click Next.
11. Optional. Check the Log name of converted files checkbox to log the
name of each copied file to XenConvert.txt
12. Verify that the conversion information entered is correct, then click
Convert. The conversion is complete when the progress bar reaches 100%
and the Status field indicates that if conversion was successful or not.
13. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
34 Citrix XenConvert Guide
Important Remove all virtualization software from the source machine before
performing a conversion.
To convert from VMware, consider the following strategies in the order shown.
• “Converting From VMware using OVF”
• “Converting From VMware like a Physical Machine”
• “Converting From VMware using VMDK”
OVF is preferred because it is faster and can be simpler for a workloads
consisting of multiple virtual disks. You’ll need a tool, such as one of the
following, to create an OVF from VMware.
• Virtual Center 2.5 / ESX 3.5 Update 3
• Ovftool
• “VMDK to VHD”
Note When selecting a VMDK descriptor file for conversion, do not select files
that include flat, ddddd, or dddd in the file name. For example:
example-flat.vmdk
example-dddd.vmdk
example-dddd.vmdk
VMDK to XenServer
Select this method to convert a single VMDK to XenServer.
1. Start XenConvert.
2. On the Welcome to Citrix XenConvert dialog, choose the following
conversion options, then click Next:
From
VMware Virtual Hard Drive (VMDK)
To
XenServer
3. Browse for the VMDK descriptor file to include in this conversion, then
click Next.
4. Provide the following conversion information, then click Next:
Hostname
Simple host name, fully qualified domain name, or IP address of the
XenServer.
User name
Name of the account with import privileges. Consult the XenServer product
documentation for information on account requirements.
Password
The password that is associated with User name.
36 Citrix XenConvert Guide
Workspace
Type or browse for the folder in which intermediate files should be stored.
5. Optional. Edit the name of your new XenServer VM in the Name textbox.
6. Click Next.
7. Verify that the conversion information entered is correct, then click
Convert. The conversion is complete when the progress bar reaches 100%
and the Status field indicates that the conversion was successful.
8. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
VMDK to VHD
Select this method to convert a single VMDK to a VHD.
1. Start XenConvert.
2. On the Welcome to Citrix XenConvert dialog, choose the following
conversion options, then click Next:
From
VMware Virtual Hard Disk (VMDK)
To
XenServer Virtual Hard Disk (VHD)
3. Browse for the VMDK file that contains the descriptor. Since some VMDK
types can consist of multiple files with the same .vmdk extension, it isn’t
obvious which file contains the descriptor. The following table lists the
types of VMDKs that can be converted, the number of files that comprise
those types, and their respective naming convention, which follow the
general convention: DiskName[-suffix].vmdk. The file without a
suffix in its name is usually the descriptor file:
Click Next:
4. Enter or browse for the folder where this VHD is to be stored, then click
Next.
5. Verify that the conversion information entered is correct, then click
Convert. The conversion is complete when the progress bar reaches 100%
and the Status field indicates that if the conversion was successful or not.
6. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
Important Remove all virtualization software from the source machine before
exporting it to an OVF Package.
Important Remove all virtualization software from the source machine before
performing a conversion.
38 Citrix XenConvert Guide
VHD to OVF
Select this method to convert a single VHD to an OVF Package.
1. Start the XenConvert Wizard
2. On the Welcome to Citrix XenConvert dialog, choose the following
conversion options, then click Next:
From
Microsoft Virtual Hard Disk (VHD)
To
Open Virtualization Format (OVF)
3. Browse for the VHD to include in this conversion, then click Next.
4. Optional. Choose a EULA to include in the OVF Package by typing or
browsing for the appropriate location.
5. Optional, check:
Create Open Virtual Appliance (OVA)
Check this box to create an OVA Package from the OVF Package for
distribution.
Compress Open Virtual Appliance (OVA)
Check this box to reduce the size of the OVA. This option is only available
if the Create Open Virtual Appliance box is checked.
40 Citrix XenConvert Guide
Encrypt
Select this option to encrypt the OVF Package. If the Create Open Virtual
Appliance (OVA) is selected, encryption occurs before creating the OVA.
Enter the passphrase with which to encrypt, in the Passphrase text box.
Confirm the passphrase by entering it again in the Confirm text box.
Sign with Certificate
Check this box to sign this OVF Package with a certificate in the X.509
format.
• Browse for the appropriate file to include using the File... button
• Enter the password in the Password textbox.
• Click View to view certificate information.
6. Optional. Edit the name of your new XenServer VM in the Name textbox.
The OVF Package is given the same name as the XenServer VM.
7. Verify that the conversion information entered is correct, then click
Convert. The conversion is complete when the progress bar reaches 100%
and the Status field indicates if the conversion was successful or not.
8. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
VHD to XenServer
Convert a single VHD to a XenServer. This conversion requires a XenServer
accessible on the network and a valid account on that XenServer. The conversion
creates an intermediate OVF that remains on the host.
1. Start the XenConvert Wizard.
2. On the Welcome to Citrix XenConvert dialog, choose the following
conversion options, then click Next:
From
Microsoft Virtual Hard Disk
To
XenServer
3. Browse for the VHD to include in this conversion, then click Next.
4. Provide the following conversion information, then click Next:
Hostname
Chapter 5 Using XenConvert 41
Check this box to reduce the size of the OVA. This option is only available
if the Create Open Virtual Appliance box is checked.
Sign with Certificate
Check this textbox to sign this OVF Package with a certificate in the X.509
format.
• Browse for the appropriate file to include using the File... button
• Enter the password in the Password textbox.
• Click View to view certificate information.
Encrypt
Select this option to encrypt the OVF Package. If the Create Open Virtual
Appliance (OVA) is selected, encryption occurs before creating the OVA.
Enter the passphrase with which to encrypt in the Passphrase text box.
Confirm the passphrase by entering it again in the Confirm text box.
5. Click Next.
6. Optionally edit the name of your new XenServer VM in the Name textbox.
7. Verify that the conversion information entered is correct, then click
Convert. The conversion is complete when the progress bar reaches 100%
and the Status field indicates if the conversion was successful or not.
8. Click Finish to exit XenConvert (this button displays after the conversion
completes or after cancelling the conversion process), or click Log to
display the conversion log file in Notepad.
Note The active Windows Boot Volume cannot be the destination volume.
When the source volume is a Windows boot volume, the destination volume is
configured as a Windows boot volume.
1. Start the XenConvert Wizard.
Chapter 5 Using XenConvert 43
Troubleshooting a Conversion
Some features, such as those that follow, of Windows and other software can
interfere with a conversion.
Windows AutoPlay
Windows AutoPlay (also termed AutoRun), can prevent XenConvert from
dismounting a VHD or formatting a volume that it creates.
Consider disabling AutoPlay before converting. This procedure can vary by
Windows versions. Please refer to the Microsoft article for details:
Article ID: 967715 - Last Review: May 6, 2009 - Revision: 3.0
How to disable the autorun functionality in Windows
Windows Automount
The Windows Automount feature must be enabled for XenConvert to discover
volumes that it creates on a VHD and Provisioning Services vDisk. This feature is
disabled by default on the Enterprise Edition of Windows Server 2003, Windows
Server 2008, and Windows Server 2008 R2.
To Enable Automount
Security Services
Security software such as antivirus and endpoint protection services can
sometimes interfere with a conversion. If disabling Windows AutoPlay does not
resolve the problem when XenConvert fails to dismount a VHD or format a
volume that it creates, consider stopping the security software.
Before stopping security services, you should also disconnect from the network,
unless converting to XenServer, which requires the network.