I''m using XCP 0.5.0 version. In the same host in debian VM I installed SNAC http://www.openflowswitch.org/wp/snac/ 1.0 as openflow controller. 1. Is it possible to setup openvswitch controller from xsconsole? Controller (config) xxx.xxx.xxx.xxx - display <SNAC ip address> Controller (in-use) <None> - always display "None" 2. I tried to use folowing commands: ovs-vsctl set-controller xenbr0 tcp:<SNAC ip address> For a few minutes everything works good and I can manage switch from <SNAC ip address>, but than connection to host has broken suddenly. Connection to host''s VM''s may works longer, but usually lost also or a bit later. Connection immediately restored after command: ovs-vsctl del-controller xenbr0. In SNAC contoller switch looks good, no denied packets. I can''t find any criminal in log files. I''d be appreciate for any help and advice how to dig the problem. -- Kind regards, Larkov Alexey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, You should be able to use the following CLI command to link a controller to your pool: xe pool-set-vswitch-controller address=<address_of_controller> Cheers, Rob From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Alexey Larkov Sent: 15 August 2010 09:06 To: xen-users@lists.xensource.com Subject: [Xen-users] [XCP] openvswitch controller using I''m using XCP 0.5.0 version. In the same host in debian VM I installed SNAC http://www.openflowswitch.org/wp/snac/ 1.0 as openflow controller. 1. Is it possible to setup openvswitch controller from xsconsole? Controller (config) xxx.xxx.xxx.xxx - display <SNAC ip address> Controller (in-use) <None> - always display "None" 2. I tried to use folowing commands: ovs-vsctl set-controller xenbr0 tcp:<SNAC ip address> For a few minutes everything works good and I can manage switch from <SNAC ip address>, but than connection to host has broken suddenly. Connection to host''s VM''s may works longer, but usually lost also or a bit later. Connection immediately restored after command: ovs-vsctl del-controller xenbr0. In SNAC contoller switch looks good, no denied packets. I can''t find any criminal in log files. I''d be appreciate for any help and advice how to dig the problem. -- Kind regards, Larkov Alexey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Alexey, I just checked this with some people and it seems that the xsconsole stuff you are seeing is old and removed in the current development version of XCP. Please ignore what you are seeing there. Also ignore the CLI command I mentioned. I think association of a controller to a pool should happen from the controller. I have never seen the SNAC controller though, so I am unfortunately not able to tell you how it works. Perhaps the openflow people can help? Please note that this stuff is still experimental. Cheers, Rob From: Alexey Larkov [mailto:gmlexx@gmail.com] Sent: 16 August 2010 14:09 To: Rob Hoes Subject: Re: [Xen-users] [XCP] openvswitch controller using Thanks, Rob. But xsconsole still shows "Controller (in-use) <None>" /etc/init.d/openvswitch restart didn''t help Log /var/log/openvswitch/ovs-vswitchd.log has no records about controller. Any ideas how to launch using controller? On 16 August 2010 18:52, Rob Hoes <Rob.Hoes@citrix.com<mailto:Rob.Hoes@citrix.com>> wrote: Hi, You should be able to use the following CLI command to link a controller to your pool: xe pool-set-vswitch-controller address=<address_of_controller> Cheers, Rob From: xen-users-bounces@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com> [mailto:xen-users-bounces@lists.xensource.com<mailto:xen-users-bounces@lists.xensource.com>] On Behalf Of Alexey Larkov Sent: 15 August 2010 09:06 To: xen-users@lists.xensource.com<mailto:xen-users@lists.xensource.com> Subject: [Xen-users] [XCP] openvswitch controller using I''m using XCP 0.5.0 version. In the same host in debian VM I installed SNAC http://www.openflowswitch.org/wp/snac/ 1.0 as openflow controller. 1. Is it possible to setup openvswitch controller from xsconsole? Controller (config) xxx.xxx.xxx.xxx - display <SNAC ip address> Controller (in-use) <None> - always display "None" 2. I tried to use folowing commands: ovs-vsctl set-controller xenbr0 tcp:<SNAC ip address> For a few minutes everything works good and I can manage switch from <SNAC ip address>, but than connection to host has broken suddenly. Connection to host''s VM''s may works longer, but usually lost also or a bit later. Connection immediately restored after command: ovs-vsctl del-controller xenbr0. In SNAC contoller switch looks good, no denied packets. I can''t find any criminal in log files. I''d be appreciate for any help and advice how to dig the problem. -- Kind regards, Larkov Alexey -- Kind regards, Larkov Alexey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Perez Barreiro
2010-Sep-02 01:06 UTC
RE: [Xen-users] [XCP] openvswitch controller using
Hi all, Im having the same truble Larkov Alexey mentioned, connection with the controller get suddenly broken with no error messages in the log files. I wonder if someone has any clue what might be going on? Kind Regards, Martin. I''m using XCP 0.5.0 version. In the same host in debian VM I installed SNAC http://www.openflowswitch.org/wp/snac/ 1.0 as openflow controller. 1. Is it possible to setup openvswitch controller from xsconsole? Controller (config) xxx.xxx.xxx.xxx - display <SNAC ip address> Controller (in-use) <None> - always display "None" 2. I tried to use folowing commands: ovs-vsctl set-controller xenbr0 tcp:<SNAC ip address> For a few minutes everything works good and I can manage switch from <SNAC ip address>, but than connection to host has broken suddenly. Connection to host''s VM''s may works longer, but usually lost also or a bit later. Connection immediately restored after command: ovs-vsctl del-controller xenbr0. In SNAC contoller switch looks good, no denied packets. I can''t find any criminal in log files. I''d be appreciate for any help and advice how to dig the problem. -- Kind regards, Larkov Alexey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users