* Automating Live Migration
@ 2008-08-27 6:38 Sukanto Ghosh
2008-08-27 7:56 ` Uri Lublin
0 siblings, 1 reply; 3+ messages in thread
From: Sukanto Ghosh @ 2008-08-27 6:38 UTC (permalink / raw)
To: kvm; +Cc: Anthony Liguori
Hi,
What needs to be done in case I want to automate the live migration of
the guests (e.g. for load balancing) ?
I want to have some programs running on multiple nodes, which will
monitor the load on the respective hosts and in case of imbalance can
automatically migrate a guest from one host to another.
What is the interface by which this migration request/command can be
sent to the particular kvm-userspace (at source host) ?
Can this be done using userspace programs or we need kernel modules ?
Getting the destination ready for incoming migration is I guess
straightforward.
--
Regards,
Sukanto Ghosh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automating Live Migration
2008-08-27 6:38 Automating Live Migration Sukanto Ghosh
@ 2008-08-27 7:56 ` Uri Lublin
2008-08-27 8:47 ` Sukanto Ghosh
0 siblings, 1 reply; 3+ messages in thread
From: Uri Lublin @ 2008-08-27 7:56 UTC (permalink / raw)
To: Sukanto Ghosh; +Cc: kvm
Sukanto Ghosh wrote:
> Hi,
>
> What needs to be done in case I want to automate the live migration of
> the guests (e.g. for load balancing) ?
>
> I want to have some programs running on multiple nodes, which will
> monitor the load on the respective hosts and in case of imbalance can
> automatically migrate a guest from one host to another.
>
> What is the interface by which this migration request/command can be
> sent to the particular kvm-userspace (at source host) ?
>
> Can this be done using userspace programs or we need kernel modules ?
>
> Getting the destination ready for incoming migration is I guess
> straightforward.
>
>
Please take a look at http://kvm.qumranet.com/kvmwiki/Migration
Basically you need to be able to send qemu monitor commands to your kvm-qemu.
For example redirect the monitor to a unix domain socket (e.g. with -monitor
/tmp/vmid.monitor) and connect your program to that socket. When you want to
migrate that VM issue a migrate monitor command, and checkout the result (info
migration).
Uri.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-27 8:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27 6:38 Automating Live Migration Sukanto Ghosh
2008-08-27 7:56 ` Uri Lublin
2008-08-27 8:47 ` Sukanto Ghosh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.