Our Debian and XenServer packages use /etc/openvswitch/conf.db as the
location for the database but some of the docs suggested
/etc/ovs-vswitchd.conf.db. This settles on the former consistently.
The manpage is still ovs-vswitchd.conf.db but I don't know what to do
about that.
7. Initialize the configuration database using ovsdb-tool, e.g.:
7. Initialize the configuration database using ovsdb-tool, e.g.:
- % ovsdb-tool create /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema
+ % mkdir -p /usr/local/etc/openvswitch
+ % ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
any managers specified in the database itself, and to use the SSL
configuration in the database:
any managers specified in the database itself, and to use the SSL
configuration in the database:
- % ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db \
+ % ovsdb-server /usr/local/etc/openvswitch/conf.db \
--remote=punix:/usr/local/var/run/openvswitch/db.sock \
--remote=db:Open_vSwitch,managers \
--private-key=db:SSL,private_key \
--remote=punix:/usr/local/var/run/openvswitch/db.sock \
--remote=db:Open_vSwitch,managers \
--private-key=db:SSL,private_key \
- If you want to preserve the contents of your database, back it
up first, then use "ovsdb-tool convert" to upgrade it, e.g.:
- If you want to preserve the contents of your database, back it
up first, then use "ovsdb-tool convert" to upgrade it, e.g.:
- % ovsdb-tool convert /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema
+ % ovsdb-tool convert /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
4. Start the Open vSwitch daemons as described under "Building and
Installing Open vSwitch for Linux" above.
4. Start the Open vSwitch daemons as described under "Building and
Installing Open vSwitch for Linux" above.
your OS (e.g. "Centos 5.0").
* The contents of the vswitchd configuration database (usually
your OS (e.g. "Centos 5.0").
* The contents of the vswitchd configuration database (usually
- /etc/ovs-vswitchd.conf.db).
+ /etc/openvswitch/conf.db).
* The output of "ovs-dpctl show".
* The output of "ovs-dpctl show".