ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed

解决方法是每次重新开机都运行下面命令:

ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
                     --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
                     --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
ovs-vsctl --no-wait init
ovs-vswitchd --pidfile --detach

你可能感兴趣的:(ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed)