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: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
Subject: Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Sat, 18 Jun 2011 10:51:07 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, admin@xxxxxxxxxxx
Delivery-date: Sat, 18 Jun 2011 07:52:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :x-goomoji-body:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=IG8HifipQgdq81OYMIAqlBA63Ed5zU7eDbc7DJlYduw=; b=uMUQNqM3MJxxH2tOaPHHBpLkH4MMlS6vaDkV5mQS/2hrm/eoYW2k8RMKgAzURj6YVI CB7s2Pk3k1vLEygdF5n2eTE6htCV7xapUdA2DDsQReYq6qU4Qg+KAKhxcj1BlzSPau5F hUKiChk9Z702q7Gpr+xW9cQ1YjCCaJByQGFu4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:x-goomoji-body:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=RfnicmvDB2tDqHQAOvDX3Hxoe3QyZuNHzczOn1UOkcL7AipXwxmACWYMg5Wjbf/MXR C27nPvkQRupPeNgnydrmuEVpAA7QGU/N0wKXRPyjdlIaRWHT8AH1e0FKIc08qNCGOpUe 1MfoiFBYrXw8/go7Dlp1TT1/i7M3DBewbf3Qw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimWUxuu1BY48FePnjMJvhZ2A5ihXw@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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.

 
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


--




--
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users