[ovs-discuss] Error initializing ovsdb-server
blp at nicira.com
Sun Apr 26 16:27:08 UTC 2015
On Fri, Apr 24, 2015 at 09:08:20PM +0000, Vipin Garg wrote:
> I am trying to integrate the OpenvSwitch to my PPC based platfrom. I am only interested in OVSBD-Server portion of vswitch so that I can control the switch via Daylight. I have started the ovsdb-server on switch but when I try to initialize the database as suggested by documentation, I get following errors message -
> # ./ovs-vsctl --no-wait init
> ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory )
> Just FYI, I started the ovsdb-server as (as suggeste din the INSTALL.md) -
> ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
> --private-key=db:Open_vSwitch,SSL,private_key \
> --certificate=db:Open_vSwitch,SSL,certificate \
> --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \
> --pidfile --detach
> (1) Now, how & when do we create db.soc ?
ovsdb-server creates the socket.
I guess the directory /usr/local/var/run doesn't exist. You should
either configure to use /var/run or create it.
> (2) Is it OK if I only run ovsdb-server on the switch as I am not
> interested in programming the flows on switch. I only want to use
> OF-CONFIG to manage the switch,
You can run just ovsdb-server if you want, but then there's no switch to
More information about the discuss