[drbd-mc] Does LCMC 1.3.16 support live migration for KVM?

Rasto Levrinc rasto.levrinc at gmail.com
Fri Jun 15 10:01:00 CEST 2012


On Fri, Jun 15, 2012 at 12:36 AM, Whit Blauvelt <whit.drbd at transpect.com> wrote:
> On Thu, Jun 14, 2012 at 10:26:38PM +0200, Rasto Levrinc wrote:
>> On Wed, Jun 13, 2012 at 11:25 PM, Whit Blauvelt <whit.drbd at transpect.com> wrote:
>> > Hi Rasto,
>> >
>> > Can LCMC live migrate KVM instances? I'm not seeing the option show up in
>> > the menus. Something necessary to activate that?
>>
>> Couple of things. You need to check allow-migrate advanced meta
>> attribute as far as LCMC is concerned.
>
> That's what I haven't found yet. Where should I look? It's not in the
> "Advanced Options" submenu for the individual VMs.

Hi Whit,

Oh, I forgot to say it's in VirtualDomain RA, or are you using something else?

>
>> You need access to the storage on both nodes simultaneously during the
>> migration, like in active/active DRBD.
>
> Got that. Live migration works. Just can't trigger it from LCMC yet.
>
> A different question: I notice that LCMC generally uses /usr/bin/virsh for
> various commands. If I have a system with both /usr/bin/virsh (from the
> distro) and /usr/local/bin/virsh (a default install from source), and am
> switching to the latter (for the most recent features), will LCMC spot which
> libvirt is running and use the corresponding virsh?

It will not. That's something that is not so easy to change.
In the lcmc-gui-helper there's this line

our $VIRSH_COMMAND = "/usr/bin/virsh -r".

and in DistResource.java it is also on couple of places.

Maybe there could be an option to change the default virsh command. Or make
it to use the $PATH env variable, but that seems less secure to me. To
lookup all virsh commands and use one that corresponds to libvirt version...
well, I don't want to go there. :)

Rasto

>
> Thanks again,
> Whit
> _______________________________________________
> drbd-mc mailing list
> drbd-mc at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-mc



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/


More information about the drbd-mc mailing list