Vmware-kvm-migration: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (added links) |
K (added links) |
||
Zeile 41: | Zeile 41: | ||
* http://wiki.hetzner.de/index.php/Netzkonfiguration_f%C3%BCr_Xen_und_KVM_mit_libvirt | * http://wiki.hetzner.de/index.php/Netzkonfiguration_f%C3%BCr_Xen_und_KVM_mit_libvirt | ||
* http://wiki.hetzner.de/index.php/KVM_mit_libvirt | * http://wiki.hetzner.de/index.php/KVM_mit_libvirt | ||
* http://wiki.libvirt.org/page/Networking#Debian.2FUbuntu_Bridging |
Aktuelle Version vom 7. April 2013, 01:27 Uhr
we need to migrate our vm from vmware server 1.0 to kvm (libvirt)
If your VMWare image exists as multi-vmdk-file then you have to convert it first, and this is done with the vmware-vdiskmanager
vmware-vdiskmanager -r Ubuntu.vmdk -t 0 Ubuntu-2.vmdk
qemu-img convert Ubuntu-2.vmdk -O qcow2 Ubuntu-2.qemu
bridge device is virbr0 (created automatically)!
#edit IPs...
virsh net-edit default
Convert vmx-file to xml
vmware2libvirt -f Ubuntu.vmx > Ubunut-2.xml
edit disk, add type...
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/srv/www/xxxx.tld/image/debian/debian.qemu'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
to connect to your machine graphically (remote via ssh) you can start
virt-manager