Linux – vmware conversion linux physical machine

linuxphysical-to-virtualvmware-converter

I have a linux box at www.linode.com

I am wondering if I can backup the linux box with rsync and then convert it into a vmware machine using vmware converter? could something like rdiff also be used instead?

I would like to be able to keep a local version of my server for testing, but to be able to use it in vmware.

If this is possible, is it also possible to backup the local copy of vmware and install to the linode?

Im a bit confused by how all this works and have read up for quite a while.

Any help is much appreciated.

Cheers
Ke

Best Answer

You've got two options:

1) With VMware Converter (many prerequisites):

It depends on the version of Linux running at Linode and the type of destination you are using.

If your destination is an ESX/ESXi host, you're in luck. If you're wanting to use VMware Server, VMware Workstation, or VMware Player you're out of luck due to how the Linux P2V process works by using a helper VM.

If you're still on board, you need to have a supported source OS. LILO is not supported. LVM volumes will be converted to basic volumes.

You need to have port 22 and 443 on your source open and your destination (a helper VM) will need to have it available to connect over the internet or a VPN.

See the VMware vCenter Converter Standalone 4.x User's Guide

Without VMware Converter (no point and click GUI, no support):

Set up a VM with identical specs to your Linode box in terms of vCPUs, RAM, disk layout, and OS.

Do a netcat/block copy of your Linode box devices.

Destination:

nc -l -p 9001 | dd of=/dev/sda

Source:

dd if=/dev/sda | nc <target-system-ip> 9001

The Conshell Linux P2V is a good resource for problems, preparation and other advice using this method.

I've had success with both methods.

Related Topic