diff options
author | Justin Pettit <jpettit@nicira.com> | 2010-03-25 22:38:13 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2010-03-26 14:40:31 -0700 |
commit | bc39196036f8e33d15274855087f0c47be2095ee (patch) | |
tree | 5102d7683bf3b113ba0a73de3487ec6f86e38be2 /INSTALL.Linux | |
parent | 16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5 (diff) |
Cleanup default file locations and XenServer packaging
This commit cleans up the locations of a number of files and directories
used. These include:
- Config file lives in /etc/openvswitch/conf.db
- Logs go into /var/log/openvswitch
- ovsdb-server socket is /var/run/openvswitch/db.sock
- Schema goes into /usr/share/openvswitch/vswitch.ovsschema
- PID files go in /var/run/openvswitch
For XenServer, these additional changes are made:
- Cores go in /var/xen/openvswitch
- OVS binaries run in /var/xen/openvswitch
In addition, it attempts to cleanup the XenServer packaging. This
includes referring to the project as "openvswitch" as opposed to the
somewhat presumptuous "vswitch".
Note: Changes to the Debian packaging will be forthcoming.
Diffstat (limited to 'INSTALL.Linux')
-rw-r--r-- | INSTALL.Linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/INSTALL.Linux b/INSTALL.Linux index 263e2618..177a9cd1 100644 --- a/INSTALL.Linux +++ b/INSTALL.Linux @@ -167,7 +167,7 @@ configuration database, ovsdb-server. Configure it to use the database you created during step 7 of installation, above, and to listen on a Unix domain socket, e.g.: - % ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db --remote=punix:/usr/local/var/run/ovsdb-server + % ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db --remote=punix:/usr/local/var/run/openvswitch/db.sock Then initialize the database with "ovs-vsctl init". This is only necessary the first time after you create the database with @@ -178,7 +178,7 @@ ovsdb-tool (but running it at any time is harmless): Then start the main Open vSwitch daemon, telling it to connect to the same Unix domain socket: - % ovs-vswitchd unix:/usr/local/var/run/ovsdb-server + % ovs-vswitchd unix:/usr/local/var/run/openvswitch/db.sock Now you may use ovs-vsctl to set up bridges and other Open vSwitch features. For example, to create a bridge named br0 and add ports |