From: sudhir kumar Subject: Re: [KVM-AUTOTEST] [PATCH] support for remote migration Date: Wed, 27 May 2009 22:20:08 +0530 Message-ID: References: <796594249.90621241466107981.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> <1473872622.90691241466166259.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> <4A1D4DC7.4060005@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Michael Goldish , yogi , kvm@vger.kernel.org To: Uri Lublin Return-path: Received: from mail-gx0-f166.google.com ([209.85.217.166]:39361 "EHLO mail-gx0-f166.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754547AbZE0QuK convert rfc822-to-8bit (ORCPT ); Wed, 27 May 2009 12:50:10 -0400 Received: by gxk10 with SMTP id 10so8011890gxk.13 for ; Wed, 27 May 2009 09:50:11 -0700 (PDT) In-Reply-To: <4A1D4DC7.4060005@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, May 27, 2009 at 7:57 PM, Uri Lublin wrote: > sudhir kumar wrote: >> >> Michael, >> any updates on this patch? Are you going to commit this or you have >> any other plans/patch ? >> > > I'm not sure having the inter-host migration is best implemented on t= he > autotest-client side. Actually this is one of the few tests I think b= elong > to the autotest-server side. This one was a minimal and the first point implementation. I am not much expert in the server side. I will look into the code and design of the server. > > On the other hand it is pretty simple to implement it here. So I thin= k we'd > better try first implementing it as a server test, and apply it to th= e > client side only as a second choice. > > A few (minor) problems with it running on the client side: > 1. We do not know what the other host is running (what version?, kvm-= modules > loaded? etc.) > 2. There may be a conflict between a running local guest running on t= he > remote (if it allowed to run tests while being a migration destinatio= n), and > the remote guest. Yes, especially in case of parallel job execution. This is imp to be ha= ndeled. > 3. There may be a conflict between two remote guests running a migrat= ion > test on two different hosts. So you mean the server will enquire about this event if implemented using autotest server? > 3. get_free_ports run on the local machine, but expected/assumed to b= e free > on the remote machine too. > 4. For a migration to be successful, the image(s) must be shared by b= oth > hosts. On the other hand, when installing a guest OS (e.g. Fedora 8) = on both > hosts (let's assume they both are running fc8_quick) we want differen= t > images on different hosts. This may be true only when the autoserver is running multiple parallel jobs. Though less likely that one would like to run 2 instances of same installation. However still this is a case. > > These are all can be solved easily by non-trivial pretty simple > configuration on the server. One can configure the "remote" migration= to run > as a separate tests to all other tests. > I feel Virtmanager also will be taking care of such scenarios. Any idea how do they handle it or they just leave it to the user? > > Regards, > =A0 =A0Uri. > > > Thanks for your comments. --=20 Sudhir Kumar