I have to create virtual copy of existing server (for testing purpose).
I have two (physical host) hosts:
- main - this one will be used as source for virtual machine disk image. It has standard Ubuntu 10.04 installation. It uses LVM.
- second - this one will be used as hypervisor host. It's also vanilla Ubuntu 10.04 installation. I plan to install kvm and crate guest machine that will be copy of main machine.
I would like to do it with out shutting down main machine.
I know I can use mondo for this (http://www.mondorescue.org/docs/p2v.pdf). But I wonder if is possible only with using LVM snapshots. That is to create LVM snapshot of main and use it for creating virtual machine on second?
If LVM option is possible, could you please give me some links to tutorials that describes this procedure?