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 <umairhoodb...@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@ubuntu:~# ps -Af | grep ovsdb-server
> root      2493  2435  0 18:23 pts/0    00:00:00 grep --color=auto ovsdb-server
> root@ubuntu:~# 
> 
> Any ideas?
> 
> -- Umair
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to