Re: [ovs-discuss] Is it possible to use the ovs-ofctl command to control the remote ovs?

2012-08-17 Thread Qiaobing Xie
Yes, I just figured out this by myself.. The man pages are not clear about this at all, e.g., an example in ovs-ofctl for remote setup will go a long way.. And I had to set a port other than 6633 because that port is being used for ovs-vswitchd to connect to the ovs db. In the man pages, the

Re: [ovs-discuss] Is it possible to use the ovs-ofctl command to control the remote ovs?

2012-08-17 Thread Justin Pettit
On Aug 17, 2012, at 10:29 AM, Qiaobing Xie wrote: > But from the same remote machine, ovs-ofctl does not work: > > %% ovs-ofctl show tcp:192.168.43.148 > ovs-ofctl: connecting to tcp:192.168.43.148 (Connection reset by peer) > %% ovs-ofctl show tcp:192.168.43.148:6633 > ovs-ofctl: connecting to

Re: [ovs-discuss] Is it possible to use the ovs-ofctl command to control the remote ovs?

2012-08-17 Thread Qiaobing Xie
I am getting connection error when I try to use ovs-ofctl to control a remote ovs. I am running v1.7.0. I have my ovs bridge 'lan0' created on a host 192.168.43.148, and I can do 'ovs-ofctl show lan0' on the host locally without problem. To try this remotely, I've restarted my ovsdb-server on

Re: [ovs-discuss] can i use the ovs-vsctl command to add a bridge for a remote ovs

2012-08-17 Thread Kris zhang
It works, thanks a lot, Justin [?] On Fri, Aug 17, 2012 at 4:00 PM, Justin Pettit wrote: > On Aug 17, 2012, at 12:54 AM, Kris zhang wrote: > > > so actually i cannot do the command: ovsdb-server > --remote=punix:/usr/local/var/run/openvswitch/db.sock,ptcp:6677 > > right? > > Specify "--remote"

Re: [ovs-discuss] can i use the ovs-vsctl command to add a bridge for a remote ovs

2012-08-17 Thread Justin Pettit
On Aug 17, 2012, at 12:54 AM, Kris zhang wrote: > so actually i cannot do the command: ovsdb-server > --remote=punix:/usr/local/var/run/openvswitch/db.sock,ptcp:6677 > right? Specify "--remote" twice: --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=ptcp:6677 --Justin

Re: [ovs-discuss] can i use the ovs-vsctl command to add a bridge for a remote ovs

2012-08-17 Thread Kris zhang
so actually i cannot do the command: ovsdb-server --remote= punix:/usr/local/var/run/openvswitch/db.sock,ptcp:6677 right? On Fri, Aug 17, 2012 at 3:31 PM, Justin Pettit wrote: > On Aug 17, 2012, at 12:15 AM, Kris zhang wrote: > > > Thanks Justin, just now i run the command: ovsdb-server > -

Re: [ovs-discuss] can i use the ovs-vsctl command to add a bridge for a remote ovs

2012-08-17 Thread Justin Pettit
On Aug 17, 2012, at 12:15 AM, Kris zhang wrote: > Thanks Justin, just now i run the command: ovsdb-server --remote=ptcp:6677. > > it says: I/O error: /etc/openvswitch/conf.db: fail to lock lockfile (Resouce > temporarily unavailable). > > and then i use command: ps -elf|grep ovs > i found the

Re: [ovs-discuss] can i use the ovs-vsctl command to add a bridge for a remote ovs

2012-08-17 Thread Kris zhang
Thanks Justin, just now i run the command: ovsdb-server --remote=ptcp:6677. it says: I/O error: /etc/openvswitch/conf.db: fail to lock lockfile (Resouce temporarily unavailable). and then i use command: ps -elf|grep ovs i found there is a process pid=3456 ovsdb-server --remote=punix:/usr/local/v