Hi,<div>Is there any progress on KVM block migration?</div><div><br></div><div>I'd like to test it and possibly make some changes to nova to support block devices,</div><div>but don't want to reinventing the wheel.</div>

<div><br></div><div>Thanks,</div><div><br><div class="gmail_quote">2011/4/12 Masanori ITOH <span dir="ltr"><<a href="mailto:itoumsn@nttdata.co.jp">itoumsn@nttdata.co.jp</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Hi,<br>
<br>
Vish also mentioned that we should support the KVM block migration feature<br>
instead of stability which I mentioned because it's very much useful.<br>
I agree with Vish of course. :)<br>
Actually, we discussed inclusion of block migration feature at San Antonio. :)<br>
<br>
<br>
I've also seen the page Hisaki mentioned. My point is that<br>
the page explains interacting qemu monitor but we need to invoke<br>
the feature through libvirt layer not the qemu monitor directly.<br>
Here, A colleague of mine mentioned that --copy-storage-all option of<br>
virsh looked like not-supported yet in Ubuntu 10.10 at least.<br>
<br>
Hisaki,<br>
do you have any information if it's enabled in Ubuntu 11.04 libvirt?<br>
I mean using virsh, did you succeed invoking block live migration<br>
something like the following?<br>
<br>
  $ virsh migrate --live --copy-storage-all DOMID DESTURL<br>
<br>
Unfortunately, we haven't been able to make enough time trying Natty alpha<br>
because of our schedule delay caused by the earthquake in Northeastern Japan. :(<br>
At least, libvirt(virsh) included in RHEL6 does not support the feature.<br>
<br>
But, anyway I will talk about the issue with Kei and Muneyuki before going to<br>
the Design Summit. :)<br>
<br>
Regards,<br>
Masanori<br>
<div class="im"><br>
<br>
From: igoigo246 <<a href="mailto:igoigo246@gmail.com">igoigo246@gmail.com</a>><br>
</div>Subject: Re: [Openstack] KVM Block Migration<br>
Date: Tue, 12 Apr 2011 09:28:38 +0900<br>
<div><div></div><div class="h5"><br>
> Hi,<br>
><br>
> I look Japanease Site.<br>
> <a href="http://www.cuspy.org/blog/archives/917" target="_blank">http://www.cuspy.org/blog/archives/917</a><br>
><br>
> This site wrote.<br>
><br>
> image file<br>
> vda.qcow<br>
><br>
> sending host<br>
><br>
> qemu --enable-kvm -m 512 \<br>
> -drive file=vda.qcow,if=virtio,boot=on \<br>
> -net nic,macaddr=00:16:3E:00:FF:32,model=virtio<br>
><br>
> receive host<br>
><br>
> touch vda.qcow<br>
> qemu -enable-kvm -m 512 \<br>
> -drive file=vda.qcow,if=virtio \<br>
> -net nic,macaddr=00:16:3E:00:FF:32,model=virtio \<br>
> -incoming tcp:0:4444<br>
><br>
> sending host<br>
><br>
> migrate -d -b tcp:wasabi:4444<br>
><br>
><br>
> (qemu) info migrate<br>
> Migration status: active<br>
> transferred ram: 48 kbytes<br>
> remaining ram: 147792 kbytes<br>
> total ram: 147840 kbytes<br>
> transferred disk: 206848 kbytes<br>
> remaining disk: 10278912 kbytes<br>
> total disk: 10485760 kbytes<br>
><br>
> Thanks,<br>
><br>
> --<br>
> Hisashi Ikari<br>
><br>
><br>
><br>
><br>
><br>
> 2011-04-11 (月) の 16:50 +0900 に Masanori ITOH さんは書きました:<br>
> > Hi,<br>
> ><br>
> > We are considering if it's possible to support KVM block migration<br>
> > as the next step of live migration.<br>
> ><br>
> > Actually, our main issue at this moment is if that kvm feature is enough<br>
> > stable or not because we got several errors during our try of it<br>
> > using Ubuntu 10.10 code base. Especially, I'm not sure if the feature<br>
> > is enabled or not in the qemu-kvm bundled in Ubuntu/RHEL.<br>
> ><br>
> > Do you have any information about stability?<br>
> ><br>
> > Thanks,<br>
> > Masanori<br>
> ><br>
> > ---<br>
> > Masanori ITOH  R&D Headquarters, NTT DATA CORPORATION<br>
> >                e-mail: <a href="mailto:itoumsn@nttdata.co.jp">itoumsn@nttdata.co.jp</a><br>
> ><br>
> > From: igoigo246 <<a href="mailto:igoigo246@gmail.com">igoigo246@gmail.com</a>><br>
> > Subject: [Openstack] (no subject)<br>
> > Date: Mon, 11 Apr 2011 14:41:20 +0900<br>
> ><br>
> > > hi all<br>
> > ><br>
> > > KVM Block Migration is wonderful function.<br>
> > ><br>
> > > <a href="http://www.linux-kvm.com/content/qemu-kvm-012-adds-block-migration-feature" target="_blank">http://www.linux-kvm.com/content/qemu-kvm-012-adds-block-migration-feature</a><br>
> > ><br>
> > > this allow   that live migration do  without shared storage.<br>
> > ><br>
> > ><br>
> > > When KVM Block migration Support ?<br>
> > ><br>
> > ><br>
> > > Thanks for reading.<br>
> > > --<br>
> > > Hisashi Ikari<br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> > > Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > > More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
> ><br>
> > _______________________________________________<br>
> > Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> > Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mike Scherbakov
</div><div><a href="http://www.mirantis.com">www.mirantis.com</a></div>