From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Fedin Subject: Re: [PATCH 0/4 for 2.3] vhost-user live migration support Date: Mon, 14 Dec 2015 12:46:57 +0300 Message-ID: <00ec01d13654$5f904c20$1eb0e460$@samsung.com> References: <000001d133ed$b2446eb0$16cd4c10$@samsung.com> <20151211094934.GX29571@yliu-dev.sh.intel.com> <001c01d133fd$d3a7d870$7af78950$@samsung.com> <20151214035842.GB18437@pxdev.xzpeter.org> <00c401d13641$5e53cf20$1afb6d60$@samsung.com> <20151214090406.GC18437@pxdev.xzpeter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: 'Peter Xu' Return-path: Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by dpdk.org (Postfix) with ESMTP id 26925374F for ; Mon, 14 Dec 2015 10:47:00 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZC00F3JDUAL470@mailout4.w1.samsung.com> for dev@dpdk.org; Mon, 14 Dec 2015 09:46:58 +0000 (GMT) In-reply-to: <20151214090406.GC18437@pxdev.xzpeter.org> Content-language: ru List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello! > > Host<------->openVSwitch<----------->guest > > LOCAL vhostuser > > > > So, in order to migrate the guest, i simply replicated this setup = on both hosts, with the > same IPs on host side. And on both hosts i set up the following = ruleset for openvswitch: >=20 > Regarding to "with the same IPs on host side": do you mean that you > configured the same IP on two hosts in the intranet? No intranet. You can think of it as an isolated network between the = host and guest, and that's all. I just assigned an IP to ovs' LOCAL = interface on both hosts, and these ovs instances knew nothing about each = other, neither they forwarded packets between each other. I didn't want = to make things overcomplicated and decided not to mess with host's own = connection to the intranet, just something that sits on the other side = of vhost-user and replies to PINGs was perfectly OK for me. > I think this > does not matter if we are testing it functionally (whether live > migration could work), However I would still perfer to try ping > another host (say, host3) inside the intranet. What do you think? Yes, perhaps this would be better test, may be next time i'll do it. = Anyway, IIRC, PATCH v2 is coming. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia