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

Kris zhang zhang.kris at gmail.com
Fri Aug 17 07:15:35 UTC 2012


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 <jpettit at nicira.com> 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 <zhang.kris at 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 <mhuntxu at gmail.com> wrote:
> > On Fri, 17 Aug 2012 14:08:01 +0800, Kris zhang <zhang.kris at 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 at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120817/ca937a16/attachment.html>


More information about the discuss mailing list