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.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html