X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=INSTALL.XenServer;h=e7be494cd69316564b2ca8623a7b7792bcaf8b87;hb=e1ebc8cea2991e19456cb9fce54ac8167f6dbf4c;hp=46250b21042081b60f70d256abd26ba3d26302b6;hpb=39fb08818bbd9c438dbf23caa89937c663451b5a;p=openvswitch diff --git a/INSTALL.XenServer b/INSTALL.XenServer index 46250b21..e7be494c 100644 --- a/INSTALL.XenServer +++ b/INSTALL.XenServer @@ -5,8 +5,7 @@ This document describes how to build and install Open vSwitch on a Citrix XenServer host. If you want to install Open vSwitch on a generic Linux host, see INSTALL.Linux instead. -These instructions have been tested with XenServer versions 5.5.0 and -5.5.900. +These instructions have been tested with XenServer 5.6 FP1. Building Open vSwitch for XenServer ----------------------------------- @@ -28,9 +27,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: @@ -38,31 +37,31 @@ where: name of the Open vSwitch tarball, e.g. 0.90.0. is the version number of the Xen kernel, - e.g. 2.6.18-128.1.1.el5.xs5.5.0.487.1006xen. This version number + e.g. 2.6.32.12-0.7.1.xs5.6.100.307.170586xen. This version number appears as the name of a directory in /lib/modules inside the VM. It always ends in "xen". -Two RPMs will be output into /usr/src/redhat/RPMS, whose names begin -with "vswitch" and "vswitch-debuginfo". +Two RPMs will be output into /usr/src/redhat/RPMS/i386, whose names +begin 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@: + scp openvswitch-$VERSION-1.i386.rpm root@: (At this point you will have to enter 's root password.) ssh root@ (At this point you will have to enter '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@ (At this point you will have to enter '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.