[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch

  • To: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.


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.

(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
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.