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: Sat, 18 Jun 2011 23:59:54 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 18 Jun 2011 09:01:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from :x-goomoji-body:date:message-id:subject:to:cc:content-type; bh=Lzfmmihag06oatzucXfTOoUA9/9Ts/CDiNl/JPKFYxs=; b=LdZKGvSm1nqkeT0288URKHRO+yLz03z8Iz+2EmfQWCzPz0USnFDRz0NVpv+uuIbdYz xim3VLJLF0IkeT6wt0ksNA5UR0PFUJXG6rHYii5xh/JWgx3c6aneCcmLWJhGSyECRNMr E3CSUCWjqxDHzvs3wLHaYuD51MASxYFZQ7qbw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:x-goomoji-body:date :message-id:subject:to:cc:content-type; b=UkaYxPt5ZPWcpGWpOiLeXG79RoP1gx1J27HJUhDN3vOfUWhKcB9V1uKUh+dmXB1Obd o+20/JRcnz70t/XDM9WvZRLGeaftSkKMgxA3oHOCK8IGejmBWp1aJCOGJ3GDFv4me2vn G5/uPtgfEg6x1yxlfaT/NnLnGFIMogtPNmGgg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimA0UP8tNi2Zg8JBCApDnVZfvMi7A@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Todd and Everyone,

On Sat, Jun 18, 2011 at 10:51 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:


On Sat, Jun 18, 2011 at 5:10 AM, Wei-Chih Chen <wcchen.tw@gmail.com> wrote:
Dear Todd, admin, Everyone,

Thank you for replying.
This information is very important. However, it also confuses me.

"The term "vSwitch" means Open vSwitch in vSwitch Controller User Guide" and we can use ovs- commands to control Open vSwitch.
Do these imply vSwitch Controller controls Open vSwitch through ovs- commands?
(In other words, is vSwitch Controller  a frontend to ovs- commands?)

No, I don't think it does. the vSwitch Controller is proprietary, but likely it used the OpenFlow protocol to control the underlying Open vSwitch switches.
 
If yes, then vSwitch Controller would confuse XAPI because it does NOT go through XAPI.
How does Citrix provide a commercial controller that may cause these problems? @@


See above.
 
So far, the followings are what I think:
There are two kinds of XCP network:
1. Original Linux network: XenCenter (GUI tool)-> xe command-> XAPI (Thanks for information from Todd) -> Linux network
2. Open vSwitch (default for XCP): vSwitch Controller (commercial GUI tool)-> ovs- command-> Open vSwitch  (prone to problems)


This second one is not quite right. 
 
It should read:
some vSwitch Controller (commercial from companies like Citrix or open source using NOX)-> OpenFlow protocol-> Open vSwitch switches
 
From aspects of stability, scalability and the amount of features provided, which one is recommended?

Either use the XenCenter/OpenXenManager front ends or xe command directly to manage the network.

OR

Use a commercial or open source controller that is designed to interact properly with XCP/xapi/Open vSwitch.

Don't use ovs commands directly since that will likely make the xapi configuration be incorrect.
 
Thank you.  Clear concepts and useful information. :)

I have to choose one from the two:
>From openvswitch.org, Open vSwitch provides many features (such as NetFlow, Fine-grained min/max rate QoS) that original Linux network can not reach, because I do not see these features described in XenServer 5.6 FP1 Administrator Guide.
It seems that Open vSwitch is more powerful.

In my future environment, there may be a large number of hosts, and VMs need to migrate to another host with its original network settings (scalability and VM mobility issues).
Management, performance and security are also important issues.
In the consideration of the above requirements, Open vSwitch seems better for me. Or does anyone have other suggestions?
Thanks.


 
Perhaps I misunderstand something.
I am grateful to anyone for making these clear. :)

Thank you very much.
Regards,
Wayne

(From admin@xxxxxxxxxxx:)
When somebody says "it would confuse xapi", they mean you should always go through the XAPI when configuring things on XenServer or XCP.  If you try to go around the XAPI (using other tools or by editing configuration files directly), then it is possible to cause a lot of unpredictable problems to occur.  For example, if you configure network outside of the XAPI, you may run into weird problems where the networking may not properly follow a VM when you live migrate a VM from one node to another.  So as a general rule, you really want to be sure to do everything through the XAPI (or use a tool that goes through the XAPI).


On Sat, Jun 18, 2011 at 12:57 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Fri, Jun 17, 2011 at 2:50 AM, Wei-Chih Chen <wcchen.tw@gmail.com> wrote:
> NOX looks helpful. I will try this.
> Is vSwitch Controller designed dedicatedly to Open vSwitch?
> It seems that the term "vSwitch" means Open vSwitch in vSwitch Controller
> User Guide. Is this correct?

Yes, the vSwitch backend for XenServer/XCP is the Open vSwitch


--




--

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