Apache CloudStack 4.4 with Advanced Networking Setup Pt. 2 - Installing Open vSwitch on CentOS 6.5
In this post I show how to install Open vSwitch on CentOS 6.5. This is the second post that gets into the Apache CloudStack 4.4 with Advanced Networking Setup. You can find the first one here.
First we have to build the rpms from source.
- On a system that you can use for the build process follow the steps below.
yum -y groupinstall “Development Tools” yum -y install wget openssl-devel
- Let’s get the files organized in the right place.
cd ~ mkdir -p rpmbuild/SOURCES wget http://openvswitch.org/releases/openvswitch–2.3.0.tar.gz tar xvfz openvswitch–2.3.0.tar.gz cd openvswitch–2.3.0/ cp ../openvswitch–2.3.0.tar.gz ~/rpmbuild/SOURCES/ cp rhel/openvswitch-kmod.files ~/rpmbuild/SOURCES/
- Now lets buildtherpms.
rpmbuild -bb rhel/openvswitch.spec rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec
- You can find the files in ~/rpmbuild/RPMS/x86_64/. The you can install them using the command below. Copy these files to the systems you need to install them on then run the commands below.
yum -y localinstall kmod-openvswitch–2.3.0–1.el6.x86_64.rpm yum -y localinstall openvswitch–2.3.0–1.x86_64.rpm reboot
- After the machine reboots you can verify theopenvswitch using the commands below.
ovs-vsctl -V ovs-vsctl show
You can check out the video as well.
The next post will be out soon if it is not already.
Apache CloudStack 4.4 with Advanced Networking Setup Pt. 2 - Installing Open vSwitch on CentOS 6.5 originally appeared on theHyperadvisor by Antone Heyward
Hi Antone,
Thanks for the very clear walk-through! I don’t see the script you mentioned in the video posted here. Would you mind uploading it?
Thanks!
Abe