Conducting hot P2V migrations with VMware Converter
- Install
the Converter application on the server being migrated. If you are using
the Enterprise version you can do this remotely, but my preference is to
install Converter direcly on to the server a potential complication caused
by introducing another PC in the conversion process. If you have many
machines to convert this is not always practical. The Converter
application consists of two parts, the Agent component (Windows service)
and the Manager component (front end GUI). If you are running this on the
server directly you need both components. Otherwise if you are running it
remotely only the Agent component is needed.
- Once you
install the application on the server a reboot will be required if the
server OS is Windows NT 4.0 or 2000. This is because a special driver is
installed for the cloning process on those OS's, Windows XP and 2003
utilize the Volume Shadow Copy service instead. Also, it's best to use a
local administrator account when logging into the server to install the
application.
- The
following Windows services must be running for Converter to work properly:
Workstation, Server, TCP/IP Netbios Helper and Volume Shadow Copy (Windows
XP/2003, can be set to manual, just not disabled). Also, disable Windows
Simple File Sharing if your source server is running Windows XP.
- Make sure
the VMware Converter Windows service is running.
- Ensure you
have at least 200 MB free on your source server's C drive. Mirrored or
striped volumes across multiple disks should be broken; hardware RAID is
OK since it is transparent to the operating system. Converter sometimes
has issues converting dynamic disks, if you experience problems with them,
then cold clone instead.
- Disable
any antivirus software running on the source server.
- Shutdown
any applications that are not needed on the server.
- Run chkdsk
and defragment your source server's hard disks.
- Clean-up
any temporary and unnecessary files on the source server. The less data
that needs to be copied the better. This only applies when utilizing file
level cloning (more on that later).
- Keep users
off the server while cloning. Disable remote desktop and any shares if
possible.
- Ensure
required TCP/UDP ports are opened between the source server and
VirtualCenter (VC) and VMware ESX. Even if you select VirtualCenter as
your destination, the ports still need to be opened to the ESX server you
choose. The source server first contacts VC to create the VM and then ESX
to transfer the data to. Required ports are 443 and 902 (source to ESX/VC)
and 445 and 139 (converter to source and source to Workstation/Server).
These ports need to be opened on both OS firewalls and any network
firewalls sitting between your source and destination servers.
- Ensure
your network adapter speed/duplex matches your physical switch setting.
This can have a dramatic effect on your conversion speed. When cold
cloning it's best to set your physical switch port to Auto/Auto since this
is what the Windows PE ISO will default to.
- If
importing a VM or physical image the Windows version of the server running
Converter must be equal to or greater then the source. So, if your source
is Windows 2003, the server running Converter cannot be Windows 2000.
- For cold
cloning, the minimum memory requirements is 264 MB (will not work with
less then this amount), the recommended memory is 364 MB. Converter also
utilizes a RAM disk if you have at least 296 MB of memory available.
With these steps complete, we're ready to get started. Start the Converter Manager application and click the Import Machine button to start the Converter Wizard. Select your Source server, in this example we will choose Physical Computer. Select This Local Machine if running Converter on the source server, otherwise enter the hostname/IP and login information of the server to be converted. At the Source Data screen you have the option to select your disk volumes and re-size then larger or smaller if needed. Make sure you do not select any small utility partitions created by your hardware installation. What you decide here will determine which disk cloning method is used to copy your source data. If you do not change your drive sizes or increase them, then a block-level clone will be performed. If you decrease the size of your drives by any amount then a file-level clone will be performed instead.