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/var/run/openvswitch/db.sock Need i to kill this process firstly? (BTW there is no a man page for ovsdb-server in http://openvswitch.org/support/) Thanks, Kris On Fri, Aug 17, 2012 at 2:46 PM, Justin Pettit <[email protected]> wrote: > 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 <[email protected]> wrote: > > > 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 <[email protected]> wrote: > > On Fri, 17 Aug 2012 14:08:01 +0800, Kris zhang <[email protected]> > 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 takes exactly 1 or 3 > > arguments. > > so Is it possible to add a bridge for a remote ovs by ovs-vsctl? > > > > Yes, use "--db=server" as what the man pages say. > > > > > > -- > > Regards, > > Hunt > > _______________________________________________ > > discuss mailing list > > [email protected] > > http://openvswitch.org/mailman/listinfo/discuss > > > > _______________________________________________ > > discuss mailing list > > [email protected] > > http://openvswitch.org/mailman/listinfo/discuss > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
