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 <zhang.k...@gmail.com> 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 <mhun...@gmail.com> wrote: > On Fri, 17 Aug 2012 14:08:01 +0800, Kris zhang <zhang.k...@gmail.com> 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 > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss