Convert VMware Virtual Machines to XenServer using XenConvert

Before you start converting VMware Virtual Machines to XenServer Virtual Machines you have to make sure you have:

- Administrator access to VMware VM to be converted

- Administrator access to XenServer or XenCenter

- XenConvert: You can download it here.

Install XenConvert.

Open your VMware Infrastructure Client

- Go to the VMware Virtual machine you want to export and uninstall te VMware Tools

- Make sure there are no snapshots located with the Virtual Machine. If there are, delete them

- If the VM is using a Windows operating System, enable automount

- Go to File -> Virtual Appliance -> Export (or in vSphere File -> Export ->Export OVF Template)

convert01

- Select the Directory to store the OVF files (in vSphere ensure that Optimized for: Web (OVF) is selected)

convert02

- Wait untill the export is complete and Open Citrix XenConvert

- Select From: VMware Virtual Hard Disk (VMDK) and To: XenServer and press Next

convert03

- Press Browse and Select the exported file

convert04

- Enter the name of the XenServer, username, password and Workspace you wish to use for the conversion

convert05

- Optionally edit the properties of your Xenserver VM

convert06

- Press Convert to proceed

convert07

- Press Finish when the conversion is successful

The machine should now be in you XenServer. Change the name to whatever you want it to be and fire it up.

VI client command line options

Here are some handy command line options for VI Client:

-u (username)
-s (servername)
-p (password)

Example:

“C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -u YOURUSERNAME -s SERVERIPADDRESS -p YOURPASSWORD

If you’re lazy, you can also edit your shortcut to VI Client:

“C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -passthroughAuth -s SERVERIPADDRESS

Of course, for non 64bit systems this is:
“C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -passthroughAuth -s SERVERIPADDRESS

This allows you to passthrough your logged-on username credentials.