* [Qemu-devel] Network Migration in QEMU during Live Migration
@ 2015-02-04 19:01 Azizul Hakim
2015-02-04 20:02 ` Eric Blake
0 siblings, 1 reply; 3+ messages in thread
From: Azizul Hakim @ 2015-02-04 19:01 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
Hi all,
Does QEMU support network migration so that the migration process is
transparent to users? For example if my VM has a web server, I would like
my user still be able to send request to the server after the migration
process is completed. But since migration causes a change of the physical
machine, the IP address is different. So how do I achieve this? I
understand that I've to create bridge network. What other things do I've to
take care off? Is it possible at all?
Thanks
Azizul
[-- Attachment #2: Type: text/html, Size: 596 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Network Migration in QEMU during Live Migration
2015-02-04 19:01 [Qemu-devel] Network Migration in QEMU during Live Migration Azizul Hakim
@ 2015-02-04 20:02 ` Eric Blake
2015-02-04 21:46 ` Gary R Hook
0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2015-02-04 20:02 UTC (permalink / raw)
To: Azizul Hakim, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]
On 02/04/2015 12:01 PM, Azizul Hakim wrote:
> Hi all,
>
> Does QEMU support network migration so that the migration process is
> transparent to users? For example if my VM has a web server, I would like
> my user still be able to send request to the server after the migration
> process is completed. But since migration causes a change of the physical
> machine, the IP address is different. So how do I achieve this? I
> understand that I've to create bridge network. What other things do I've to
> take care off? Is it possible at all?
The IP address of the host is different, but the IP address seen by the
guest is the same. Live migration has been possible for several years
with qemu, and people do it all the time. The guest sees very minimal
downtime (a few milliseconds). If you use a higher-layer software, like
libvirt, then triggering a live migration of a guest is quite easy.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Network Migration in QEMU during Live Migration
2015-02-04 20:02 ` Eric Blake
@ 2015-02-04 21:46 ` Gary R Hook
0 siblings, 0 replies; 3+ messages in thread
From: Gary R Hook @ 2015-02-04 21:46 UTC (permalink / raw)
To: qemu-devel
On 2/4/15 2:02 PM, Eric Blake wrote:
> On 02/04/2015 12:01 PM, Azizul Hakim wrote:
>> Does QEMU support network migration so that the migration process is
>> transparent to users? For example if my VM has a web server, I would like
>> my user still be able to send request to the server after the migration
>> process is completed. But since migration causes a change of the physical
>> machine, the IP address is different. So how do I achieve this? I
>> understand that I've to create bridge network. What other things do I've to
>> take care off? Is it possible at all?
>
> The IP address of the host is different, but the IP address seen by the
> guest is the same. Live migration has been possible for several years
> with qemu, and people do it all the time. The guest sees very minimal
> downtime (a few milliseconds). If you use a higher-layer software, like
> libvirt, then triggering a live migration of a guest is quite easy.
What he said. The guest doesn't know, doesn't care, and doesn't change
its network configuration; external connections are maintained. Only the
host upon which the guest runs changes, and that is kind of irrelevant
from a guest perspective.
--
Gary R Hook
Senior Kernel Engineer
NIMBOXX, Inc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-04 21:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 19:01 [Qemu-devel] Network Migration in QEMU during Live Migration Azizul Hakim
2015-02-04 20:02 ` Eric Blake
2015-02-04 21:46 ` Gary R Hook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).