[ovs-discuss] ovs-vsctl set-manager and remote administration

r po r2.d2 at live.fr
Mon Sep 24 12:17:14 UTC 2012


Hi, 

I have two OpenVswitch and i should configure the second from the first.

so, on OVS-2 I set : 

ovs-vsctl set-manager ptcp:

and on OVS-1 i can administrate the 2nd OVS with this command : 

ovs-vsctl --db=tcp:ip_ovs_2 show  (or any ovs-vsctl command)   (i can send this command in any ovs which is connect with ovs2 .. )

it's work !

Now, i should restrict host who can admin ovs remotely : 

on ovs1 and 2 : ovs-vsctl emer-reset 

on ovs2 : 

ovs-vsctl set-manager tcp:ip_ovs1:6633 

i can't administrate remotely from ovs1 :

the following command : ovs-vsctl --db=tcp:ip_ovs2:6633    stay in suspend

in ovs2 side and in the /var/log/openvswitch/ovsdb-server.log i got : 

Sep 24 14:13:43|02619|reconnect|INFO|tcp:ovs1_ip:6633: connecting...
Sep 24 14:13:43|02620|reconnect|INFO|tcp:ovs1_ip:6633: connected
Sep 24 14:13:48|02621|reconnect|INFO|tcp:ovs1_ip:6633: connection closed by peer
Sep 24 14:13:48|02622|reconnect|INFO|tcp:ovs1_ip:6633: waiting 8 seconds before reconnect


i guess i miss something, and i'm surely not understand all but i'm stuck ..

i try to search in man ovsdb-server, client and ovs-vsctl but i'm still stuck .. 

any help there please ?

thank's ! 

Aeron  

  
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120924/faa7f25c/attachment.html>


More information about the discuss mailing list