• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
导航菜单
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx
您的位置:首页 > 服务器 >云计算 > 安装配置openstack 中的 Open vSwitch (OVS) service,openstackvswitch

安装配置openstack 中的 Open vSwitch (OVS) service,openstackvswitch

作者:网友 字体:[增加 减小] 来源:互联网

本文主要包含安装配置openstack 中的 Open vSwitch (OVS) service,openstackvswitch等服务器相关知识,网友希望可以进行参考

安装配置openstack 中的 Open vSwitch (OVS) service,openstackvswitch


?          # yum install openstack-neutronopenstack-neutron-ml2 openstack-neutron- openvswitch


Edit the/etc/neutron/plugins/ml2/ml2_conf.ini file and complete the fol-lowing actions:

a. In the [ml2] section,enable the flat and generic routingencapsulation (GRE) net-work type drivers, GRE tenant networks, and theOVS mechanism driver:

[ml2]

type_drivers = flat,gre tenant_network_types = gre mechanism_drivers= openvswitch


b. In the[ml2_type_flatj section, configure the external network:

[ml2_type_flat]

flatnetworks = external

c.         In the [ml2_type_grej section,configure the tunnel identifier (id) range:

[ml2_type_gre] tunnel_id_ranges = 1:1000

d.        In the [securitygroup] section,enable security groups, enable ipset, and con-figure theOVS iptables firewall driver:

[securitygroupj

enable_security_group = True enable_ipset = True

firewall_driver= neutron.agent.linux.iptables_firewall. OVSHybridIptablesFirewallDriver

e.         In the [ovs] section, configurethe Open vSwitch (OVS) agent:

[ovs]

local_ip = INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS tunnel_type = greenable_tunneling = True bridge_mappings = external:br-ex

ReplaceINSTANCE—TUNNELS—INTERFACE—IP—ADDRESS with the IP address of the instancetunnels network interface on your network node.


To configure the OpenvSwitch (OVS) service

The OVS service provides theunderlying virtual networking framework for instances. The integration bridgebr-int handles internal instance network traffic within OVS. The exter-nalbridge br-ex handles external instance network traffic within OVS. The externalbridge requires a port on the physical external network interface to provideinstances with exter-nal network access. In essence, this port connects thevirtual and physical external networks in your environment.

1.  Start the OVS service and configure it to startwhen the system boots:

#  systemctl enable openvswitch.service

#  systemctlstart openv

2.  Add theexternal bridge:

# ovs-vsctl add-br br-ex

3.  Add a port to the externalbridge that connects to the physical external network inter-face:

Replace interf^ce_name with the actual interface name. For example, eth2or ens256.

#  ovs-vsctl add-port br-ex INTERFACE_NAME


Note

Depending on your networkinterface driver, you may need to disable generic receiveoffload (GRO) to achieve suitable throughput between your instances and theexternal network.

To temporarily disable GRO onthe external network interface while testing your environment:

# ethtool-K INTERFACE_NAME gro off

alize theinstallationTo finalize the installation

1.       The Networking serviceinitialization scripts expect a symbolic link /etc/neu- tron/plugin.inipointing to the ML2 plug-in configuration file, /etc/neu-tron/plugins/ml2/ml2_conf.ini. If this symbolic link does not exist, create itus-ing the following command:

# ln -s/etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini


Due to a packaging bug, the Open vSwitch agent initialization scriptexplicitly looks for the Open vSwitch plug-in configuration file rather than asymbolic link /etc/neu- tron/plugin.ini pointing to the ML2 plug-inconfiguration file. Run the following commands to resolve this issue:

#  cp/usr/lib/systemd/system/neutron-openvswitch-agent.service \/usr/lib/systemd/system/neutron-openvswitch-agent.service.orig

# sed -i,s,plugins/openvswitch/ovs_neutron_plugin.ini,plugin.ini/g,\ /usr/lib/systemd/system/neutron-openvswitch-agent.service

2.       Start theNetworking services and configure them to start when the system boots:

# systemctlenable neutron-openvswitch-agent.service neutron-l3-agent. service \

neutron-dhcp-agent.serviceneutron-metadata-agent.service \ neutron-ovs-cleanup.service

# systemctlstart neutron-openvswitch-agent.service neutron-l3-agent. service \

neutron-dhcp-agent.serviceneutron-metadata-agent.service




版权声明:本文为博主原创文章,未经博主允许不得转载。

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 安装配置openstack 中的 Open vSwitch (OVS) service,openstackvswitch

相关文章

  • Spark MLlib LDA主题模型(1),mlliblda
  • 学习札记:CISCO云计算,札记cisco云计算
  • 一个spark receiver 或多个spark receiver 接收 多个flume agent,receiverflume
  • 新增数据页面360浏览器样式异常,新增360浏览器样式
  • Docker安装MySQL8.0的实现方法
  • hadoop 2.6.0 安装过程,hadoop2.6.0
  • 你真的了解OpenStack吗?学过的人,都知道!,了解openstack
  • SSH无密码登陆配置,ssh无密码登陆
  • window操作系统搭建Spark开发调试环境
  • 【Spark1.3官方翻译】Spark集群模式概览,spark1.3spark

文章分类

  • windows
  • 服务器硬件
  • 服务器运维
  • 云计算
  • 虚拟化
  • IIS教程
  • Linux
  • Apache
  • Ftp
  • DNS
  • Nginx

最近更新的内容

    • springmvc No mapping found for HTTP request with URI in Dispatc,springmvcdispatc
    • Deploy FAILURE:An app Was not successfully detected by any available buildpack,deploybuildpack
    • 【解决】 CentOS6.6安装CM5.4的问题,centos6.6cm5.4
    • 常见类型网站的SEO应该怎么操作?类型不同,操作自然不同,因为分门别类嘛,seo分门别类
    • 如何在coding.net上部署项目 (Flask),coding.netflask
    • Hadoop 和 Spark 的异同
    • Spark调研笔记第3篇,spark调研第3篇
    • Java MapReduce详解--(3),mapreduce详解
    • OpenStack之swift安装笔记,openstackswift
    • 玩转OpenStack网络Neutron(1)--热身,openstackneutron

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有