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

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

2012-08-16 Thread Justin Pettit
You need to configure ovsdb-server on the remote host to listen for your connection; take a look at "--remote" option. --Justin On Aug 16, 2012, at 11:34 PM, Kris zhang wrote: > Thanks for the reply, but when i run: > > ovs-vsctl --db=tcp:172.16.107.21 add-br br2 > > but it says: connection

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

2012-08-16 Thread Kris zhang
Thanks for the reply, but when i run: ovs-vsctl --db=tcp:172.16.107.21 add-br br2 but it says: connection attempt failed (Connection refused). how to fix this problem? (I checked the iptables, there is no rule to reject the connection) Thanks, Kris On Fri, Aug 17, 2012 at 2:36 PM, huntxu wr

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

2012-08-16 Thread huntxu
On Fri, 17 Aug 2012 14:08:01 +0800, Kris zhang wrote: Hi guys, I have two hosts, both installed ovs, and i want to use "ovs-vsctl add-br" command on HostA to add a br2 for HostB, i tried the command: #ovs-vsctl add-br tcp:172.16.107.21 br2 But an error message occurs: 'add-br' command t

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

2012-08-16 Thread Kris zhang
Hi guys, I have two hosts, both installed ovs, and i want to use "ovs-vsctl add-br" command on HostA to add a br2 for HostB, i tried the command: #ovs-vsctl add-br tcp:172.16.107.21 br2 But an error message occurs: 'add-br' command takes exactly 1 or 3 arguments. so Is it possible to add a bridg