Firstly, run ovs daemon on host3. Then, host1 and host2 run ovs connect to host3. What you do on host3 would be done on host1 and host2.
For example, IP of host1, host2, host3 is ip1, ip2, ip3. ovs listen on port On host3: ovsdb-server /path/to/db --remote=tcp:port ovs-vsctl --db=tcp:ip3:port init ovs-vswitchd tcp:ip3:port On host2, host3: ovs-vsctl --db=tcp:ip3:port init ovs-vswitchd tcp:ip3:port >From now on, do everything on host3. e.g. host3# ovs-vsctl --db=tcp:ip3:port add-br br0 That would create bridge br0 on each host. 在 2010年7月31日 下午10:58,Nikos <nikos....@gmail.com>写道: > Yeah but in that way I would have to enter manually the ips of the host. > > I was looking for something that would give a command to all the hosts that > host3 is attached. > > Like if I had a deployment of 100 PC adding 100 ips for one command > wouldn’t be effective > > > > Thanks again! > > > > *From:* 陈文龙 [mailto:qzche...@gmail.com] > *Sent:* Friday, July 30, 2010 3:15 AM > *To:* Nikos Bregiannis > *Cc:* > *Subject:* Re: [ovs-discuss] Question about Remote Control of OVS-daemon > > > > I think you should start OvS listening on tcp but not unix socket on host0 > and host1. > And use command on host3 like > ovsctl --db=tcp:<ip>:<port> <command> > > 2010/7/30 Nikos Bregiannis <nikos....@gmail.com> > > Hi, > > I'm having two pc's running ovs-daemon and some virtual machines on them. I > haven't created any VLANs yet but i would like to ask if i could remotely > (let's say the hosts 0 lays in usa host 1 in europe and host3 is in Canada) > control both of them using the same properties and changes without having to > change in every single machine over internet. Is what I am asking related to > *VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V* you mention > in the site? Can this be achieved with an open source program. > > Thanks in advance > > +-------------+ +--------------+ > | vm0 vm1 | | vm2 vm3 | > | | | | | | | | > | ovs-daemon | | ovs-daemon | > | | | | > | host0 | | host1 | > +-------------+ +--------------+ > \ / > \ / > \ / > \ / > \ / > +-------------+ > | | > | host3 | > | | > +-------------+ > > Nikos Bregiannis > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org > > >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org