qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Network Migration During Live Migration


From: Azizul Hakim
Subject: [Qemu-discuss] Network Migration During Live Migration
Date: Wed, 4 Feb 2015 11:08:59 -0500

Is there any command line option to assign IP and MAC addresses to the VM?. I know we can assign network device but how do we assign IP and MAC so that the VM works properly even after migration.

Sent from cellphone

On Feb 3, 2015 12:00 PM, <address@hidden> wrote:
Send Qemu-discuss mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/qemu-discuss
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qemu-discuss digest..."


Today's Topics:

   1. Network Migration During Live Migration (Azizul Hakim)
   2. Re: Network Migration During Live Migration (Jakob Bohm)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Feb 2015 17:33:44 -0500
From: Azizul Hakim <address@hidden>
To: address@hidden
Subject: [Qemu-discuss] Network Migration During Live Migration
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="utf-8"

Does QEMU supports network migration during live migration? By network
migration I mean migrating open connections inside the VM so when the VM
moves to a new physical host, it can still  communicate with outside world
at the same fashion as it did before migration?

I'm mainly interested in this issue as I've a Web Server running inside the
VM which I use using port forwarding and I would like to know what should I
do to keep the server working after the migration?


Thanks
Azizul Hakim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/qemu-discuss/attachments/20150202/889ccace/attachment.html>

------------------------------

Message: 2
Date: Tue, 03 Feb 2015 03:35:15 +0100
From: Jakob Bohm <address@hidden>
To: address@hidden
Subject: Re: [Qemu-discuss] Network Migration During Live Migration
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8; format=flowed

On 02-02-2015 23:33, Azizul Hakim wrote:
> Does QEMU supports network migration during live migration? By network
> migration I mean migrating open connections inside the VM so when the
> VM moves to a new physical host, it can still  communicate with
> outside world at the same fashion as it did before migration?
>
> I'm mainly interested in this issue as I've a Web Server running
> inside the VM which I use using port forwarding and I would like to
> know what should I do to keep the server working after the migration?
I am not sure if this will be helpful:

The general concept is that the virtual machine (including
its OS and network software) should be completely unaware
that the physical computer host has been replaced beneath
it.

Thus for networking, it should have the exact same MAC
address(es), IP address(es) and connectivity before and
after.  Whatever tool, script or procedure outside qemu
is used to command live migration is expected/required
to make this happen by specifying identical "inside"
network behavior (same virtual NIC model, MAC address
and virtual PCI bus location) and compatible "outside"
network behavior (e.g. bridging or other hookup to the
same VLAN).

Typically the your web server VM would be connected to
a bridged network which is available on both physical
machines and the effect would be as if you instantly
moved a physical web servers network cable from one
position in the outside network switch to another.
This way, even ongoing downloads from the web server
should not be disrupted, except for a short pause while
the migration slows down the VM and the physical network
switch learns the new path to its MAC address.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




------------------------------

_______________________________________________
Qemu-discuss mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/qemu-discuss


End of Qemu-discuss Digest, Vol 41, Issue 3
*******************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]