[ovs-discuss] how do you make ovsdb-server persistent?

Justin Pettit jpettit at nicira.com
Fri Feb 8 02:42:54 UTC 2013


Running that command doesn't cause it to install itself on boot.  You need some sort of init script to do that.  We've included ones for various distributions in the OVS sources.

(The commands are different but basically equivalent (other than the --log-file) because if you don't specify a database, it assumes the location is "/usr/local/etc/openvswitch/conf.db".)

--Justin


On Feb 7, 2013, at 6:30 PM, Umair Hoodbhoy <umairhoodbhoy at gmail.com> wrote:

> Hi,
> 
> I have OVS 1.7.3 successfully installed and ovsdb-server is running. But upon reboot it is not. INSTALL.Linux says to run this:
> 
> % ovsdb-server \
>                      --remote=punix:/usr/local/var/run/openvswitch/db.sock \
>                      --remote=db:Open_vSwitch,manager_options \
>                      --private-key=db:SSL,private_key \
>                      --certificate=db:SSL,certificate \
>                      --bootstrap-ca-cert=db:SSL,ca_cert \
>                      --pidfile --detach
> 
> But that doesn't make it persistent across reboots. Then I read this somewhere to make it persistent:
> % ovsdb-server /usr/local/etc/openvswitch/conf.db \
> --remote=punix:/usr/local/var/run/openvswitch/db.sock \
> --remote=db:Open_vSwitch,manager_options \
> --private-key=db:SSL,private_key \
> --certificate=db:SSL,certificate \
> --bootstrap-ca-cert=db:SSL,ca_cert --pidfile --detach --log-file
> 
> But I still get this after a reboot:
> 
> root at ubuntu:~# ps -Af | grep ovsdb-server
> root      2493  2435  0 18:23 pts/0    00:00:00 grep --color=auto ovsdb-server
> root at ubuntu:~# 
> 
> Any ideas?
> 
> -- Umair
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss




More information about the discuss mailing list