WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Problem pinging the xen guest after live migration

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem pinging the xen guest after live migration
From: Bart Coninckx <bart.coninckx@xxxxxxxxxx>
Date: Wed, 7 Jul 2010 17:42:16 +0200
Cc: John Haxby <john.haxby@xxxxxxxxxx>, Srija G <srijavg@xxxxxxxxx>
Delivery-date: Wed, 07 Jul 2010 08:43:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinr-gGOfWgZVWB_U8EsLpsUzIotSiUcO0kYJ2Qn@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimKdDBpx_PfzvKjFpN51SE1yw3J0Fk9_gGbGPP7@xxxxxxxxxxxxxx> <4C31B310.9030100@xxxxxxxxxx> <AANLkTinr-gGOfWgZVWB_U8EsLpsUzIotSiUcO0kYJ2Qn@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )
On Wednesday 07 July 2010 17:27:23 Srija G wrote:
> Thank you so much  to both of you John and Matej.
> 
> Yes,  both of your  solution,  worked when I am live migrating the guest
> from one  dom0 to  another dom0.
> 
> What i am doing now,
> 
>   -    In Host-B  , I am executing the command ,
> 
>                  ping  Guest-15a
> 
>    -   In the Host-A   ,  I am executing  the command
> 
>           xm  migrate --live  Guest-15a    Host-B
> 
>  The  result:
> 
>        * Live  migration went  very  well,  found  there is  just  1 sec
> stop in between but I think that is  acceptable.*
> 
> Our network team says  that portfast is already configured at switch .
> 
> But as  the first option  worked , so  I  hope  I can move on  - right?  If
> not please  advice....
> 
> My second question is,  mode=4  , ie  802.2ad ( link  aggregation ) did not
> work still yet. I wanted to
> set  the mode=4 as it is much faster. Found one document  , here is the url
> 
> http://wiki.oracle.com/page/Cisco+Systems+IOS-based+switches-+interface+bon
> ding+and+trunking
> 
> It is very good .  In this  document  , the first line it is mentioned   :
> 
> *****   It is important that the native VLANs *be identical* on both sides
> of the link
> 
> What does it mean  VLANs *be identical* on both sides of the link  ? Sorry
> for the silly question though.
> 
>  Would you please explain , do I need to check /configure anything  on the
> server side?     My configuration is  simple  enough ,
> 
> In my configuration I have used  eth0 and  eth1 bonded  to bond0, and  for
> each subnet,  created  the
> 
> config files,  as   ifcfg-bond0.15, ifcfg-bond0.16,  ifcfg-bond0.17.   Then
> in the /etc/xen/scripts  , I have created
> 
> a custom  file where I mentioned all the bridges  for  each  vlan tag.  And
> this custom file is being called
> 
> from    /etc/xen/xend-config.sxp...
> 
> 
> Please  advice,  do you need to proceed with aggregation link or  with
> mode=1, which is now configured  and
> you all helped me a work around...
> 
> Thanks again.
> 
> On Mon, Jul 5, 2010 at 6:25 AM, John Haxby <john.haxby@xxxxxxxxxx> wrote:
> >  On Sat, 2010-07-03 at 17:57 -0400, Srija G wrote:
> >> Hi ,
> >> [snip]
> >>
> >> Can anyone please advice , where to check?  Do you think it is the
> >> switch configuration issues?
> >
> > It's almost certainly a switch issue: the switch doesn't know that the
> > MAC address for the recently migrated machine is on a different port.
> >
> > There are two possibilities: you can either ping something (eg the
> > default router) _from_ the guest after it has migrated or you can set
> > portfast on the switch.  The former just informs the switch that the
> > originating MAC address is now on a different port; the latter makes the
> > switch less willing to hold on to the MAC address/port association for a
> > long time and is something that the network people can do.  You might
> > want to try doing both.
> >
> > jch
> 

Why don't you use multipathing in stead of bonding? 

B.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users