[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Project KRONOS - Networking with openvswitch (experimental)



Hi,

Here you'll find my howto and the links to the files I've modded in order to get openvswitch networking working on a debian box.

Cheers,
Sébastien

Networking with openvswitch on project Kronos (experimental)


== Before you begin ==

Actually I only ported the openvswitch networking mode, don't try the bridge
mode, it wont work yet for sure.

ifupdown_0.7~beta1_i386.deb is required, because it supports interfaces file
includes and should merged in debian unstable repository in a quite near
future.

The VLAN workaround required for some NICs is disabled at the moment, because
debian stock kernel is not patched to support it. Still it should work with
most of the NICs.


== Install the required packages ==

apt-get chkconfig install ethtool vlan bridge-utils module-assistant openvswitch-common openvswtich-brcompat openvswitch-datapath-source openvswitch-pki python-openvswitch
wget http://xendev.swisscenter.com/xapi/debian/ifupdown_0.7~beta1_i386.deb
dpkg -i ifupdown_0.7~beta1_i386.deb


== build the openvswitch kernel module ==

m-a a-i openvswitch-datapath


== Replace the xapi networking files ==

wget http://xendev.swisscenter.com/xapi/openvswitch/InterfaceReconfigure.py
wget http://xendev.swisscenter.com/xapi/openvswitch/InterfaceReconfigureBridge.py wget http://xendev.swisscenter.com/xapi/openvswitch/InterfaceReconfigureVswitch.py
wget http://xendev.swisscenter.com/xapi/openvswitch/interface-reconfigure

cp *nterface* /usr/lib/xen-common/xapi/libexec
chmod 755 /usr/lib/xen-common/xapi/libexec/*nterface*


== install the management-interface init.d script ==
wget http://xendev.swisscenter.com/xapi/openvswitch/management-interface

cp management-interface /etc/init.d
chmod 755 /etc/init.d/management-interface
chkconfig management-interface on

note: I guess it should be started before xapi/xapissl


== Edit /etc/xensource/network.conf ==

replace "bridge" with "openvswitch"


Then use the xe command lines to setup your interfaces/networks like you would do on any XCP/XenServer host.
(xe pif-rescan, etc)

--

Last update: 02-Sep-2011
Author: Sébastien RICCIO <sr at swisscenter dot com>


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.