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] [XCP] XCP network and VLAN by Open vSwitch

To: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
Date: Thu, 7 Jul 2011 16:20:12 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jul 2011 01:21:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Q5aG17OIxabzcysCU3sDwfJfH3GeVtGVn778YITL58Y=; b=jSOJjDz1JO+E3LxTmMiLNuQszlJyZR/hpFMAAkh/8bnK71fp5uy9esS0dsUcHwK6dO iOhogJQHQFchlL+p0ZbgX+pwT2uupbRLW6gCtEXXopjQFZLybQhUg/PNZB2nRcT1rKoV h2gTEv5bTK7UxNa8cCk9y4xvRXPoPHMWs6f/A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAMrPLWLjQigtZz=N_3mU0drD2NMTNGQzpUJM966boAVpqMAaJg@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: <BANLkTimdsxyfce+iuxv7wL0zQK+owUJrNg@xxxxxxxxxxxxxx> <BANLkTikForS5T4hEV0EHLY_CMDt4YH8upA@xxxxxxxxxxxxxx> <BANLkTimM4fF3O3N_ZUO2Ad9E4RwLvBehGg@xxxxxxxxxxxxxx> <BANLkTinKp4VhzZG2YAJaUjJexLpdGoC_KA@xxxxxxxxxxxxxx> <BANLkTimYrQ89-MyP4ZkDPCB3cH0+ahHVeg@xxxxxxxxxxxxxx> <BANLkTindVRz_M4NyuQjN=dC5+nPUu1r9yA@xxxxxxxxxxxxxx> <BANLkTik0sbRkpQ8byxnTQjTYSjg3Hg4Fjg@xxxxxxxxxxxxxx> <BANLkTimWUxuu1BY48FePnjMJvhZ2A5ihXw@xxxxxxxxxxxxxx> <BANLkTimA0UP8tNi2Zg8JBCApDnVZfvMi7A@xxxxxxxxxxxxxx> <BANLkTinytD__TdfAze12dnsZA7wFrzgOYw@xxxxxxxxxxxxxx> <BANLkTi=KB91S-UKDgKrcpoaE3gFzNtazLg@xxxxxxxxxxxxxx> <BANLkTim0VX-s3hMMhEt+1dE26NJVnuaK3w@xxxxxxxxxxxxxx> <CANx=6oZQXVsfEmqHNzEVDuvVMpS-G_R83gJNEv37dqtB7deRSw@xxxxxxxxxxxxxx> <CAMrPLWLjQigtZz=N_3mU0drD2NMTNGQzpUJM966boAVpqMAaJg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Todd and Everyone,

On Wed, Jul 6, 2011 at 6:51 AM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Mon, Jul 4, 2011 at 7:05 AM, Wei-Chih Chen <wcchen.tw@gmail.com> wrote:
> Hello Everyone,
>
> Sorry that I still have many questions about network of XCP 1.0 .
>
> Can Linux Bridge and Open vSwitch coexist and work at the same time?

No, the modules conflict.

> The command "xe-switch-network-backend openvswitch" enables vSwitch.
> This means "just turn on vSwitch" or "turn on vSwitch and turn off Linux
> Bridge"?
The latter.


>
> "A  network is a virtual Ethernet switch on a XenServer host."
> Does the virtual Ethernet switch the same as the virtual bridge created by
> "ovs-vsctl add-br"?
>
which virtual Ethernet switch is being referred to here? OVS switches
are compatible with standard linux bridges, but OVS adds more
features. You may want to discuss the finer points of this with the
ovs-discuss mailing list.
XenServer  5.6 FP1 Admin Guide (p.72) defines "network", which is one type of server-side software objects which represent networking entities.
"A  network, which is a virtual Ethernet switch on a XenServer host. Network objects have a name and
description, a globally unique UUID, and the collection of VIFs and PIFs connected to them.
"
OK, I will discuss with ovs-discuss mailing list.
> From administrator's guide, there are 4 types of network in XenServer.
> It seems that only cross-server private network needs Open vSwitch, which is
> managed by vSwitch Controller.
> (Another 3 networks use Linux bridge?)
> However, XCP does not support cross-server private network.
> I think it is because vSwitch Controller is a commercial product.
> Does this mean Citrix does not provide XCP users a way/tool to control Open
> vSwitch?

Right, the Citrix vSwitch Controller is a commercial product (as far
as I know). My guess is that it doesn't come as a standalone product,
but instead is included with the commercial (non-free) version of
Citrix XenServer. You could ask in the Citrix XenServer forums for
clarification/confirmation.
From Citrix forum http://forums.citrix.com/message.jspa?messageID=1523064 ,
it vSwitch Controller can be downloaded as a .xva file after log in My Citrix.
I've donwloaded and imported as VM.
However, it is started with errors:
"This VM cannot be started, as its network interfaces could not be connected. One of the NICs is in use elsewhere."
From XenCenter, the field "Active" of any attached network is "No", but those of other VMs are "Yes".
Maybe I do not meet requirements of vSwitch Controller, and will try more.
Or maybe it detects that the host is XCP and prevents from starting on free edition of XenServer

> Or Citrix does not plan to bring benefits of Open vSwitch to XCP, therefore
> does not integrate Open vSwitch and XCP completely?

I think that it would be nice for the possibility of adding on the
commercial controller to XCP, but as of now I don't think there is any
support for that.

> XCP users only have to use ovs- commands (from Todd and admin@xxxxxxxxxxx,
> ovs commands may confuse XAPI) or OpenFlow controllers to complete what
> vSwitch Controller does?
>

Right. At this point on XCP you are probably forced to roll your own
controller solution. You should discuss this on the nox, openflow, and
open vSwitch mailing lists for what your options are.
I am trying Beacon, which a Java-based OpenFlow controller, because my developing language is Java.

see also:
http://wiki.xen.org/xenwiki/XCP/XenServer_Feature_Matrix

I don't actually see the vSwitch controller on there as an item, but I
think we should sort this point out and add it.
There is a feature "Distributed virtual switching management tool" at that wiki page.
I think it is vSwitch Controller.

Thanks,
Todd

> Thanks a lot.
>
> Regards,
> Wayne
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

--

Thanks.

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