Skip to end of metadata
Go to start of metadata

Open vSwitch

Packages in distro

CentOS KVM installation

This installation procedure was tested with CentOS 6.4 and openvswitch version 1.9. Openvswitch required some custom patches to work with the kernel version supplied with CentOS 6.4, these patches are at the bottom of this page.

Base installation

CentOS 6.4 Basic Server

Install Virtualization tools

yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools"

Verify Installation. The following packages should be installed

  • hypervkvpd.x86_64 0:0-0.9.el6
  • libguestfs.x86_64 1:1.16.34-2.el6
  • libvirt.x86_64 0:0.10.2-18.el6_4.3
  • libvirt-client.x86_64 0:0.10.2-18.el6_4.3
  • python-virtinst.noarch 0:0.600.0-15.el6
  • qemu-kvm.x86_64 2:
  • virt-manager.x86_64 0:0.9.0-18.el6
  • virt-top.x86_64 0:1.0.4-3.15.el6
  • virt-viewer.x86_64 0:0.5.2-18.el6_4.2

Modify libvirt configuration

Edit /etc/libvirt/libvirtd.conf

Edit /etc/sysconfig/libvirtd

Start libvirtd

  • /etc/init.d/libvirtd start
  • /etc/init.d/libvirtd status

Verify installation:

Should list two guest tags with os_type hvm

Build and install openvswitch:

Install build requirements:

Build packages:

Install openvswitch:

Verify installation

Network design:
cloudbr0 (Management, Storage)
eth0 (physical port, no vlans)

cloudbr1 (Guest, Public)
eth1 (physical port, vlan trunk)
ip: none

Configure network interfaces:

Install cloudstack-agent

Edit /etc/cloudstack/agent/

Now add the host to cloudstack.


  • No labels