aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.XenServer
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-03-25 22:38:13 -0700
committerJustin Pettit <jpettit@nicira.com>2010-03-26 14:40:31 -0700
commitbc39196036f8e33d15274855087f0c47be2095ee (patch)
tree5102d7683bf3b113ba0a73de3487ec6f86e38be2 /INSTALL.XenServer
parent16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5 (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.XenServer')
-rw-r--r--INSTALL.XenServer14
1 files changed, 7 insertions, 7 deletions
diff --git a/INSTALL.XenServer b/INSTALL.XenServer
index 54766332..2f41d8f5 100644
--- a/INSTALL.XenServer
+++ b/INSTALL.XenServer
@@ -28,9 +28,9 @@ Once you have a distribution tarball, copy it into
cd /tmp
tar xfz /usr/src/redhat/SOURCES/openvswitch-$VERSION.tar.gz
rpmbuild \
- -D "vswitch_version $VERSION" \
+ -D "openvswitch_version $VERSION" \
-D "xen_version $XENKERNEL" \
- -bb openvswitch-$VERSION/xenserver/vswitch-xen.spec
+ -bb openvswitch-$VERSION/xenserver/openvswitch-xen.spec
where:
@@ -43,26 +43,26 @@ where:
It always ends in "xen".
Two RPMs will be output into /usr/src/redhat/RPMS, whose names begin
-with "vswitch" and "vswitch-debuginfo".
+with "openvswitch" and "openvswitch-debuginfo".
Installing Open vSwitch for XenServer
-------------------------------------
To install Open vSwitch on a XenServer host, or to upgrade to a newer
-version, copy the "vswitch" RPM to that host with "scp", then install
+version, copy the "openvswitch" RPM to that host with "scp", then install
it with "rpm -U", e.g.:
- scp vswitch-$VERSION-1.i386.rpm root@<host>:
+ scp openvswitch-$VERSION-1.i386.rpm root@<host>:
(At this point you will have to enter <host>'s root password.)
ssh root@<host>
(At this point you will have to enter <host>'s root password again.)
- rpm -U vswitch-$VERSION-1.i386.rpm
+ rpm -U openvswitch-$VERSION-1.i386.rpm
To uninstall Open vSwitch from a XenServer host, remove the package:
ssh root@<host>
(At this point you will have to enter <host>'s root password again.)
- rpm -e vswitch
+ rpm -e openvswitch
After installing or uninstalling Open vSwitch, the XenServer should be
rebooted as soon as possible.