-----Oorspronkelijk bericht-----
Van: Björn Lässig [mailto:b.laessig@pengutronix.de]
Verzonden: maandag 30 mei 2016 15:35
Aan: Dominique Ramaekers; libvirt-users(a)redhat.com
Onderwerp: Re: [libvirt-users] migrate local storage to ceph | exchanging the
storage system
On 05/30/2016 09:07 AM, Dominique Ramaekers wrote:
>> root@host_a:~# virsh migrate --verbose --p2p --copy-storage-all
>> --persistent -- change-protection --abort-on-error --undefinesource
>> --live domain
>> qemu+ssh://root@host_b/system --xml domain.ceph.xml
>
> Weird: The domain should be persistent
Well, the domain is persistent. But the changes i did to domain.ceph.xml to
migrate the storage to ceph are not.
More weird: the configuration in
domain.ceph.xml should be applied and the domain should be persistent...
I use the same technic without trouble...
Maybe you can write down the precise procedure of how you prepare your migration? The
source of your problem can be in there...
How do you create domain.ceph.xml, Whats the content of dumpxml and whats the content fo
dumpxml --inactive,... Things like that...
> You can make an transient domain persistent by doing a 'virsh define
domain.ceph.xml'
This works for one vm, but this needs a shutdown/reboot sequence.
It is really painful to coordinate this for every VM, so i'd like to skip this.
No, you don't need a shutdown/reboot sequence to make a domain persistent. You can
make a running domain persistent with a define. You can also make a running domain
transendient with undefined.
Björn Lässig