SlideShare a Scribd company logo
Outline
● Procedure
● Trouble shooting
Procedure
●
Download the tarball package
●
Under the Linux (RHEL 6/CentOS 6), make sure
needed tools (automake, cmake, rpmbuild...etc.)
are installed
●
Create folder “rpmbuild/SOURCES” and put the
tarball package into the folder
● Extract the tarball package of OVS
●
Enter the extracted folder of OVS
●
Enter the folder “rhel” to build OVS RPM package:
– rpmbuild -bb openvswitch.spec
●
After building the OVS package, start building
kernel module:
– rpmbuild -bb openvswitch-kmod-rhel6.spec
● In the rpmbuild/RPM/x86_64 folder, we'll get bulit
packages
Trouble shooting
● During building the kernel module, the process
would be failed due to lack of adding some
setting
● Solution: add the needed folder in the
openvswitch-kmod-rhel6.spec:
%files
/etc/*
/lib/*
– And then re-issue the command again
● If build RPM form gitHub's latest packages:
– In the openvswitch folder, issue :
./boot.sh → ./configure → make dist → rpmbuild -bb
rhel/<specfile>
Setup OVS bridge under the RHEL/CentOS 6
● Install the OVS packages and start “openvswitch” service
● Disable the service : NetworkManager
●
In the /etc/sysconfig/network-scripts/ :
– If we choose eth0 as the OVS port –
● Change ifcfg-eth0:
# Design for OVS bridge -- physical interface
DEVICE="eth0"
NAME="eth0"
ONBOOT="yes"
NETBOOT="yes"
IPV6INIT="no"
HWADDR="AA:BB:CC:DD:EE:FF"
TYPE="OVSPort"
DEVICETYPE="ovs"
NM_CONTROLLED="no"
OVS_BRIDGE="ovsbr0"
BRIDGE="ovsbr0"
Setup OVS bridge under the RHEL/CentOS 6
● Add new interface “ovsbr0” in the new file “ifcfg-
ovsbr0”:
# For OVS bridge to eth0
TYPE="OVSBridge"
NAME="ovsbr0"
DEVICE="ovsbr0"
ONBOOT="yes"
BOOTPROTO="none"
DEVICETYPE="ovs"
HOTPLUG="no"
USERCTL="no"
IPADDR="192.168.130.1"
PREFIX="24"
● Users need to restart the service “network”
Thanks for your attention

More Related Content

What's hot

Linux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and GitlabLinux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and Gitlab
Ben Tullis
 
Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)
Pablo Sanchez
 
Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015
Stephen Benjamin
 
Auto infra with_foreman_katello
Auto infra with_foreman_katelloAuto infra with_foreman_katello
Auto infra with_foreman_katello
Sachin Ghai
 
Openstack il2014 staypuft- your friendly foreman openstack installer
Openstack il2014   staypuft- your friendly foreman openstack installerOpenstack il2014   staypuft- your friendly foreman openstack installer
Openstack il2014 staypuft- your friendly foreman openstack installer
Arthur Berezin
 
Making your first contribution to Foreman
Making your first contribution to ForemanMaking your first contribution to Foreman
Making your first contribution to Foreman
Dominic Cleal
 
Docker: ao vivo e a cores
Docker: ao vivo e a coresDocker: ao vivo e a cores
Docker: ao vivo e a cores
Pedro Arthur Duarte
 
Managing your SaltStack Minions with Foreman
Managing your SaltStack Minions with ForemanManaging your SaltStack Minions with Foreman
Managing your SaltStack Minions with Foreman
Stephen Benjamin
 

What's hot (8)

Linux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and GitlabLinux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and Gitlab
 
Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)Openstack meetup amsterdam (1)
Openstack meetup amsterdam (1)
 
Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015Foreman in Your Data Center :OSDC 2015
Foreman in Your Data Center :OSDC 2015
 
Auto infra with_foreman_katello
Auto infra with_foreman_katelloAuto infra with_foreman_katello
Auto infra with_foreman_katello
 
Openstack il2014 staypuft- your friendly foreman openstack installer
Openstack il2014   staypuft- your friendly foreman openstack installerOpenstack il2014   staypuft- your friendly foreman openstack installer
Openstack il2014 staypuft- your friendly foreman openstack installer
 
Making your first contribution to Foreman
Making your first contribution to ForemanMaking your first contribution to Foreman
Making your first contribution to Foreman
 
Docker: ao vivo e a cores
Docker: ao vivo e a coresDocker: ao vivo e a cores
Docker: ao vivo e a cores
 
Managing your SaltStack Minions with Foreman
Managing your SaltStack Minions with ForemanManaging your SaltStack Minions with Foreman
Managing your SaltStack Minions with Foreman
 

Viewers also liked

Pencil Parable
Pencil  ParablePencil  Parable
Pencil Parable
bhatsumanta
 
Thomson vasse field day talk
Thomson vasse field day talkThomson vasse field day talk
Thomson vasse field day talk
VasseSep2010
 
Au Psy492 M7 A3 E Portf Whitcomb N
Au Psy492 M7 A3 E Portf Whitcomb NAu Psy492 M7 A3 E Portf Whitcomb N
Au Psy492 M7 A3 E Portf Whitcomb N
Nicole2117
 
Leonardo da vinci
Leonardo da vinciLeonardo da vinci
Leonardo da vinci
raquelgandia
 
无菌检查修订
无菌检查修订无菌检查修订
无菌检查修订国光 陈
 
Vasse rj sep 13v2
Vasse rj sep 13v2Vasse rj sep 13v2
Vasse rj sep 13v2
VasseSep2010
 
Action adventure movie shots
Action adventure movie shotsAction adventure movie shots
Action adventure movie shots
stoliros
 
Balconades i finestres de terrassa
Balconades i finestres de terrassaBalconades i finestres de terrassa
Balconades i finestres de terrassa
Rafael Aroztegui Peñarroya
 
My name is brian magnant
My name is brian magnantMy name is brian magnant
My name is brian magnant
magnantbrian
 
Effective+outreach+to+teens+webinar
Effective+outreach+to+teens+webinarEffective+outreach+to+teens+webinar
Effective+outreach+to+teens+webinar
Matthew Buerkle
 
Preliminary slide show
Preliminary slide showPreliminary slide show
Preliminary slide showstoliros
 
Presentation1
Presentation1Presentation1
Presentation1
Blairejean13
 
Giornata Missionaria Mondiale 2013
Giornata Missionaria Mondiale 2013Giornata Missionaria Mondiale 2013
Giornata Missionaria Mondiale 2013Maike Loes
 
A jensen-shannon
A    jensen-shannonA    jensen-shannon
A jensen-shannon
Unirio
 
Jenis jenis instrumen dalam pengumpulan data
Jenis jenis instrumen dalam pengumpulan dataJenis jenis instrumen dalam pengumpulan data
Jenis jenis instrumen dalam pengumpulan data
Opie Mohamad
 
Cold fusion best practice
Cold fusion best practiceCold fusion best practice
Cold fusion best practice
isummation
 
Lectionline commemorazione dei defunti
Lectionline commemorazione dei defuntiLectionline commemorazione dei defunti
Lectionline commemorazione dei defuntiMaike Loes
 
Protocolo captura 2011_eu
Protocolo captura 2011_euProtocolo captura 2011_eu
Protocolo captura 2011_euKatalogador
 
Monthly highlights
Monthly highlightsMonthly highlights
Monthly highlights
Bennett Gordon Cfa Cfp
 

Viewers also liked (20)

Pencil Parable
Pencil  ParablePencil  Parable
Pencil Parable
 
Thomson vasse field day talk
Thomson vasse field day talkThomson vasse field day talk
Thomson vasse field day talk
 
Au Psy492 M7 A3 E Portf Whitcomb N
Au Psy492 M7 A3 E Portf Whitcomb NAu Psy492 M7 A3 E Portf Whitcomb N
Au Psy492 M7 A3 E Portf Whitcomb N
 
Leonardo da vinci
Leonardo da vinciLeonardo da vinci
Leonardo da vinci
 
无菌检查修订
无菌检查修订无菌检查修订
无菌检查修订
 
Vasse rj sep 13v2
Vasse rj sep 13v2Vasse rj sep 13v2
Vasse rj sep 13v2
 
Mailegua
MaileguaMailegua
Mailegua
 
Action adventure movie shots
Action adventure movie shotsAction adventure movie shots
Action adventure movie shots
 
Balconades i finestres de terrassa
Balconades i finestres de terrassaBalconades i finestres de terrassa
Balconades i finestres de terrassa
 
My name is brian magnant
My name is brian magnantMy name is brian magnant
My name is brian magnant
 
Effective+outreach+to+teens+webinar
Effective+outreach+to+teens+webinarEffective+outreach+to+teens+webinar
Effective+outreach+to+teens+webinar
 
Preliminary slide show
Preliminary slide showPreliminary slide show
Preliminary slide show
 
Presentation1
Presentation1Presentation1
Presentation1
 
Giornata Missionaria Mondiale 2013
Giornata Missionaria Mondiale 2013Giornata Missionaria Mondiale 2013
Giornata Missionaria Mondiale 2013
 
A jensen-shannon
A    jensen-shannonA    jensen-shannon
A jensen-shannon
 
Jenis jenis instrumen dalam pengumpulan data
Jenis jenis instrumen dalam pengumpulan dataJenis jenis instrumen dalam pengumpulan data
Jenis jenis instrumen dalam pengumpulan data
 
Cold fusion best practice
Cold fusion best practiceCold fusion best practice
Cold fusion best practice
 
Lectionline commemorazione dei defunti
Lectionline commemorazione dei defuntiLectionline commemorazione dei defunti
Lectionline commemorazione dei defunti
 
Protocolo captura 2011_eu
Protocolo captura 2011_euProtocolo captura 2011_eu
Protocolo captura 2011_eu
 
Monthly highlights
Monthly highlightsMonthly highlights
Monthly highlights
 

Similar to Building ovs

Project 2 how to install and compile os161
Project 2 how to install and compile os161Project 2 how to install and compile os161
Project 2 how to install and compile os161
Xiao Qin
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
Khalid Matar Albuflasah
 
6 - Package Management in Red Hat
6 - Package Management in Red Hat6 - Package Management in Red Hat
6 - Package Management in Red Hat
Shafaan Khaliq Bhatti
 
Steps to create an RPM package in Linux
Steps to create an RPM package in LinuxSteps to create an RPM package in Linux
Steps to create an RPM package in Linux
Manish Chopra
 
Puppet Camp LA 2/19/2015
Puppet Camp LA 2/19/2015Puppet Camp LA 2/19/2015
Puppet Camp LA 2/19/2015
ice799
 
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet
 
02 Hadoop deployment and configuration
02 Hadoop deployment and configuration02 Hadoop deployment and configuration
02 Hadoop deployment and configuration
Subhas Kumar Ghosh
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nagios
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
Marc Trimble
 
Linux16 RPM
Linux16 RPMLinux16 RPM
Linux16 RPM
Jainul Musani
 
Ansible container
Ansible containerAnsible container
Ansible container
Scott van Kalken
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
shahab071
 
Package manages and Puppet - PuppetConf 2015
Package manages and Puppet - PuppetConf 2015Package manages and Puppet - PuppetConf 2015
Package manages and Puppet - PuppetConf 2015
ice799
 
Chef, Vagrant, and VirtualBox
Chef, Vagrant, and VirtualBoxChef, Vagrant, and VirtualBox
Chef, Vagrant, and VirtualBox
Jason Vanderhoof
 
Build and deployment
Build and deploymentBuild and deployment
Build and deployment
WO Community
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 
les01.pdf
les01.pdfles01.pdf
les01.pdf
VAMSICHOWDARY61
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
Muhammad Bilal
 
20111107 ns2-required cygwinpkg
20111107 ns2-required cygwinpkg20111107 ns2-required cygwinpkg
20111107 ns2-required cygwinpkg
Teerawat Issariyakul
 

Similar to Building ovs (20)

Project 2 how to install and compile os161
Project 2 how to install and compile os161Project 2 how to install and compile os161
Project 2 how to install and compile os161
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
 
6 - Package Management in Red Hat
6 - Package Management in Red Hat6 - Package Management in Red Hat
6 - Package Management in Red Hat
 
Steps to create an RPM package in Linux
Steps to create an RPM package in LinuxSteps to create an RPM package in Linux
Steps to create an RPM package in Linux
 
Puppet Camp LA 2/19/2015
Puppet Camp LA 2/19/2015Puppet Camp LA 2/19/2015
Puppet Camp LA 2/19/2015
 
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
 
02 Hadoop deployment and configuration
02 Hadoop deployment and configuration02 Hadoop deployment and configuration
02 Hadoop deployment and configuration
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
 
Linux16 RPM
Linux16 RPMLinux16 RPM
Linux16 RPM
 
Ansible container
Ansible containerAnsible container
Ansible container
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Package manages and Puppet - PuppetConf 2015
Package manages and Puppet - PuppetConf 2015Package manages and Puppet - PuppetConf 2015
Package manages and Puppet - PuppetConf 2015
 
Chef, Vagrant, and VirtualBox
Chef, Vagrant, and VirtualBoxChef, Vagrant, and VirtualBox
Chef, Vagrant, and VirtualBox
 
Build and deployment
Build and deploymentBuild and deployment
Build and deployment
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
 
les01.pdf
les01.pdfles01.pdf
les01.pdf
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
20111107 ns2-required cygwinpkg
20111107 ns2-required cygwinpkg20111107 ns2-required cygwinpkg
20111107 ns2-required cygwinpkg
 

Recently uploaded

Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 

Recently uploaded (20)

Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 

Building ovs

  • 1.
  • 3. Procedure ● Download the tarball package ● Under the Linux (RHEL 6/CentOS 6), make sure needed tools (automake, cmake, rpmbuild...etc.) are installed ● Create folder “rpmbuild/SOURCES” and put the tarball package into the folder ● Extract the tarball package of OVS ● Enter the extracted folder of OVS ● Enter the folder “rhel” to build OVS RPM package: – rpmbuild -bb openvswitch.spec ● After building the OVS package, start building kernel module: – rpmbuild -bb openvswitch-kmod-rhel6.spec ● In the rpmbuild/RPM/x86_64 folder, we'll get bulit packages
  • 4. Trouble shooting ● During building the kernel module, the process would be failed due to lack of adding some setting ● Solution: add the needed folder in the openvswitch-kmod-rhel6.spec: %files /etc/* /lib/* – And then re-issue the command again ● If build RPM form gitHub's latest packages: – In the openvswitch folder, issue : ./boot.sh → ./configure → make dist → rpmbuild -bb rhel/<specfile>
  • 5. Setup OVS bridge under the RHEL/CentOS 6 ● Install the OVS packages and start “openvswitch” service ● Disable the service : NetworkManager ● In the /etc/sysconfig/network-scripts/ : – If we choose eth0 as the OVS port – ● Change ifcfg-eth0: # Design for OVS bridge -- physical interface DEVICE="eth0" NAME="eth0" ONBOOT="yes" NETBOOT="yes" IPV6INIT="no" HWADDR="AA:BB:CC:DD:EE:FF" TYPE="OVSPort" DEVICETYPE="ovs" NM_CONTROLLED="no" OVS_BRIDGE="ovsbr0" BRIDGE="ovsbr0"
  • 6. Setup OVS bridge under the RHEL/CentOS 6 ● Add new interface “ovsbr0” in the new file “ifcfg- ovsbr0”: # For OVS bridge to eth0 TYPE="OVSBridge" NAME="ovsbr0" DEVICE="ovsbr0" ONBOOT="yes" BOOTPROTO="none" DEVICETYPE="ovs" HOTPLUG="no" USERCTL="no" IPADDR="192.168.130.1" PREFIX="24" ● Users need to restart the service “network”
  • 7. Thanks for your attention