p2v v2v v2p tool from open source?

111

Solution 1

http://www.mondorescue.org/ try this out!! one of the very good tool

Solution 2

I use KVM in production environments at work.
p2v, we tend to just copy the hard disk (with dd) from a physical entity to an LVM disk, or iSCSI LUN, then set KVM to boot from that.

v2v is easy, if you're using LVM, just snapshot the disk, then clone the VM, edit the domain xml file (easy with libvirtd/virsh), then restart the new clone with the snapshot of the disk.

v2p, again, just use dd to copy the hard disk from LVM to a physical disk (or disk array).

  • p2v: dd if=/dev/sdb of=/dev/VolGroup0/virtualDisk
  • v2v: lvcreate -L** -s -n snapshot /dev/VolGroup0/original
  • v2p: dd if=/dev/VolGroup0/virtualDisk of=/dev/sdb

For dd commands, you may find that you want to set bs=10240 to make copying faster. YMMV and all that.

Solution 3

Richard W.M. Jones of Red Hat (of libguestfs / guestfish fame) has done (and is doing) substantial work in this area. His virt-p2v tool is presently withdrawn to undergo rewrite; however, he has documented a less-automated process to be used in the interim.

Patches providing substantial virt-v2v automation between qemu, VMware ESX and RHEV (Red Hat Enterprise Virtualization) have committed to libguestfs recently, so there's quite a lot going on.

Share:
111

Related videos on Youtube

Roman Pokrovskij
Author by

Roman Pokrovskij

Updated on September 17, 2022

Comments

  • Roman Pokrovskij
    Roman Pokrovskij over 1 year

    I'm searching for secret way how to customize [ProductName] property during the multiinstance installation process (after or during the InstanceTransform process?).

    The problem is that when you try to uninstall an instance usually it become a problem to recognize what you need to uninstall: those "predefined" product names like "App Instance 1", "App Instance 2", etc does not help you. Should go to registries and refresh memory...

    • Davide Icardi
      Davide Icardi over 11 years
      Do you have found a solution for this problem?
  • Charles Duffy
    Charles Duffy about 14 years
    "v2v" often means translating between different systems -- so kvm<->VMware, or RHEV, or such; from that perspective, there's a bit more going on than just copying the backing store.
  • Tom O'Connor
    Tom O'Connor about 14 years
    If the virtualization technology is good enough, the OS shouldn't notice.
  • neolix
    neolix about 14 years
    i have use above tool Rajat it is working for me thanks
  • Charles Duffy
    Charles Duffy over 13 years
    Tom, virtualization technologies tend to provide their own "guest tools" / paravirtual drivers, frequently emulate different hardware, etc. If "good enough" means supporting a superset of the hardware emulated by all your competitors, then maybe that's true, but I'm not so sure that's a reasonable definition.
  • Tom O'Connor
    Tom O'Connor over 13 years
    Going P2V, from a number of different hardware architectures, I've managed to virtualise the original instance, without any major hiccups.