Open vSwitch Installation on ProtoGENI hosts

This page describes how to install Open vSwitch (OVS) on a ProtoGENI host. There are different ways to use OVS within ProtoGENI for example experiments see the OpenFlow OVS tutorial, which use the image created with these instructions that were captured on an Ubuntu 12.04 system:

  1. Download OVS
     tar xvfz openvswitch-1.9.3.tar.gz
     cd openvswitch-1.9.3
  1. Follow the instructions at INSTALL.Linux file. Install the prerequisets:
    sudo apt-get update
    sudo apt-get -y install pkg-config libssl-dev libc-dev
  2. Compile and install:
     sudo make install
  3. Initialize the configuration database using ovsdb-tool
    sudo mkdir -p /usr/local/etc/openvswitch
    sudo ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
  4. Startup
    sudo ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
                   --remote=db:Open_vSwitch,manager_options \
                   --private-key=db:SSL,private_key \
                   --certificate=db:SSL,certificate \
                   --bootstrap-ca-cert=db:SSL,ca_cert \
                   --pidfile --detach
    sudo ovs-vsctl --no-wait init
    sudo ovs-vswitchd --pidfile --detach
  1. Your host is now ready to run Open vSwitch.
Last modified 9 years ago Last modified on 01/07/14 21:12:31