Skip to content

Instantly share code, notes, and snippets.

@jaybuff
Created March 8, 2013 22:43
Show Gist options
  • Save jaybuff/5120522 to your computer and use it in GitHub Desktop.
Save jaybuff/5120522 to your computer and use it in GitHub Desktop.
$ sudo yum install kmod-openvswitch-1.7.2.17811-1.el6.x86_64.rpm openvswitch-1.7.2.17811-1.x86_64.rpm -y
Loaded plugins: security
Setting up Install Process
Examining kmod-openvswitch-1.7.2.17811-1.el6.x86_64.rpm: kmod-openvswitch-1.7.2.17811-1.el6.x86_64
Marking kmod-openvswitch-1.7.2.17811-1.el6.x86_64.rpm to be installed
Examining openvswitch-1.7.2.17811-1.x86_64.rpm: openvswitch-1.7.2.17811-1.x86_64
Marking openvswitch-1.7.2.17811-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kmod-openvswitch.x86_64 0:1.7.2.17811-1.el6 will be installed
---> Package openvswitch.x86_64 0:1.7.2.17811-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================================================================================
Installing:
kmod-openvswitch x86_64 1.7.2.17811-1.el6 /kmod-openvswitch-1.7.2.17811-1.el6.x86_64 6.7 M
openvswitch x86_64 1.7.2.17811-1 /openvswitch-1.7.2.17811-1.x86_64 6.1 M
Transaction Summary
=======================================================================================================================================================================================================================================
Install 2 Package(s)
Total size: 13 M
Installed size: 13 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kmod-openvswitch-1.7.2.17811-1.el6.x86_64 1/2
Installing : openvswitch-1.7.2.17811-1.x86_64 2/2
Verifying : kmod-openvswitch-1.7.2.17811-1.el6.x86_64 1/2
Verifying : openvswitch-1.7.2.17811-1.x86_64 2/2
Installed:
kmod-openvswitch.x86_64 0:1.7.2.17811-1.el6 openvswitch.x86_64 0:1.7.2.17811-1
Complete!
$ sudo /etc/init.d/openvswitch start
/usr/share/openvswitch/scripts/ovs-ctl: line 172: ulimit: core file size: cannot modify limit: Invalid argument
Inserting openvswitch module [ OK ]
/etc/openvswitch/conf.db does not exist ... (warning).
Creating empty database /etc/openvswitch/conf.db [ OK ]
Starting ovsdb-server [ OK ]
Configuring Open vSwitch system IDs [ OK ]
Starting ovs-vswitchd [ OK ]
iptables already has a rule for gre, not explicitly enabling.
iptables already has a rule for tcp to port 7471, not explicitly enabling.
$ uname -a
Linux ovs-build 2.6.32-279.19.1.el6.x86_64 #1 SMP Tue Dec 18 15:04:44 PST 2012 x86_64 x86_64 x86_64 GNU/Linux
$ sudo modprobe -a openvswitch
$ sudo lsmod |grep openvswitch
openvswitch 107380 0
$ dmesg |grep openvswitch
openvswitch module is older than RHEL 6.2 ... applying fixups
openvswitch: Open vSwitch switching datapath 1.7.2.17811, built Nov 9 2012 15:22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment