aboutsummaryrefslogtreecommitdiff
path: root/xenserver/README
blob: 60524de40aac2a452a2fde0c9ec08438738ca696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
This directory contains files for seamless integration of Open vSwitch on
Citrix XenServer hosts managed by the Citrix management tools.

Files in this directory are licensed on a file-by-file basis.  Please
refer to each file for details.

Most of the files in this directory is installed on a XenServer system
under the same name, if underscores are replaced by slashes.  The
files are:

    etc_init.d_openvswitch

        Initializes Open vSwitch at boot and shuts it down at shutdown.

    etc_init.d_openvswitch-xapi-update

        Init script to ensure openvswitch-cfg-update is called for the
        current host at boot.

    etc_logrotate.d_openvswitch

        Ensures that logs in /var/log/openvswitch are rotated
        periodically and that appropriate daemons reopen their log
        files at that point.

    etc_profile.d_openvswitch.sh

        Open vSwitch-related shell functions for the administrator's
        convenience.

    etc_xapi.d_plugins_openvswitch-cfg-update

        xapi plugin script to update the cache of configuration items
        in the ovs-vswitchd configuration that are managed in the
        xapi database when integrated with Citrix management tools.

    etc_xensource_bugtool_network-status_openvswitch.xml

        xen-bugtool extension to collect networking information relevant to
        Open vSwitch. Runs
        usr_share_openvswitch_scripts_xen-bugtool-tc-class-show.

    etc_xensource_bugtool_kernel-info_openvswitch.xml

        xen-bugtool extension to collect kernel information relevant to
        Open vSwitch.

    etc_xensource_bugtool_system-configuration.xml

        Custom xen-bugtool category to collect system configuration data.
        This category is configured to collect up to 1Mb of data, take
        up to 60 seconds to collect data, run every time and is hidden from
        display in xencenter.

    etc_xensource_bugtool_system-configuration_openvswitch.xml

        xen-bugtool extension to collect system configuration information
        relevant to Open vSwitch, including timezone.

    etc_xensource_scripts_vif

        Open vSwitch-aware replacement for Citrix script of the same name.

    openvswitch-xen.spec

        spec file for building RPMs to install on a XenServer host.

    opt_xensource_libexec_interface-reconfigure

        Open vSwitch-aware replacement for Citrix script of the same name.

    usr_share_openvswitch_scripts_ovs-xapi-sync

        Daemon to monitor the external_ids columns of the Bridge and
        Interface OVSDB tables for changes that require interrogating
        XAPI.

    usr_share_openvswitch_scripts_sysconfig.template

        Template for Open vSwitch's /etc/sysconfig/openvswitch 
        configuration file.

    usr_share_openvswitch_scripts_xen-bugtool-tc-class-show

        Script to dump tc class configuration for all network
        interfaces. Intended to be run by xen-bugtool via
        etc_xensource_bugtool_network-status_openvswitch.xml.

    usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py

        xsconsole plugin to configure the pool-wide configuration keys
        used to control Open vSwitch when integrated with Citrix 
        management tools.

    uuid.py

        This is uuid.py from Python 2.5.  It is installed into the
        Open vSwitch RPM because XenServer uses Python 2.4, which does
        not have uuid.py.

To install, build the Open vSwitch RPM with a command like this:

        rpmbuild -D "openvswitch_version $full_version" \
                -D "xen_version $XENKERNEL" \
                -D "build_number --with-build-number=$buildnr" \
                -bb openvswitch-xen.spec

Then, "rpm -U" the resulting Open vSwitch package on the XenServer hosts in
question and reboot them.  (The openvswitch-dbg package that is also
produced need not be installed, but it is harmless to do so.)

----------------------------------------------------------------------
Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without warranty of any kind.