Hi Christian,
Am 08.12.2011 23:49, schrieb Christian Brunner:
>
> live migration with rbd images usually works fine. A few recommendations:
>
> - You should not map the image on the host, while using it in a VM
> with the qemu driver.
> - For testing I would remove the ISO-Image from your VM. (Not sure if
> that matters).
>
> Also I'm not using cephx authentication. I don't know if the
> credentials are available on the second host, as you don't specifiy
> them in the libvirt.xml.
i now recreated cephfs without authx support, and added host-decription in the
VM xml file.
anyway the VM still does not seem to be able to do disk-io when migrated...
the iso-image should not be a problem, as it is in /ceph which is mounted on
every node... but i gave it a try and disabled the cdrom in the xml file, still
no success...
i also found out that using hostnames defined in /etc/hosts won't work. i still
got no clue how to figure out what is going wrong... when i start the VM
directly on the host i want the VM to migrate to, the VM behaves normal.
<domain type='kvm'>
<name>ns1</name>
<uuid>350e51e8-2fe5-274f-76c4-58b237bc0fba</uuid>
<memory>1048576</memory>
<currentMemory>524288</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch='x86_64' machine='pc-0.12'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/local/bin/qemu-system-x86_64</emulator>
<disk type='network' device='disk'>
<source protocol='rbd' name='rbd/ns1'>
<host name='xxx.xxx.xxx.4' port='6789'/>
<host name='xxx.xxx.xxx.5' port='6789'/>
<host name='xxx.xxx.xxx.6' port='6789'/>
<host name='xxx.xxx.xxx.7' port='6789'/>
</source>
<target dev='vda' bus='virtio'/>
</disk>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:d2:ec:15'/>
<source bridge='br0'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='no'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</memballoon>
</devices>
</domain>
--
Mit freundlichen Grüßen,
Florian Wiessner
Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila
fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de
--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html