91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

openstack pike linuxbridge換成openvswitch

發布時間:2020-08-08 09:43:07 來源:ITPUB博客 閱讀:326 作者:wang_0720 欄目:云計算
現有網絡節點的網絡方案為:
neutron ml2 type driver: vxlan
neutron ml2 mechanism driver : linuxbridge
neutron l2 agent: linuxbridge
改后的方案:
neutron ml2 type driver: vxlan
neutron ml2 mechanism driver : openvswitch
neutron l2 agent: openvswitch


在網絡節點和計算節點停止并刪除neutron-linuxbridge-agent
systemcat stop neutron-linuxbridge-agent
systemcat disable neutron-linuxbridge-agent
yum remove neutron-linuxbridge-agent


刪除linuxbridge agent
openstack work agent list 查看linuxbridgent agent對應的id
openstack work agent delete $id  刪除對應的id
在網絡節點和計算節點安裝neutron-openvswitch-agent
yum install -y openstack-neutron-openvswitch
在網絡節點添加br-ex網橋
ovs-vsctl add-br br-ex
br-ex 網橋綁定網卡
ifconfig eth0 0 && ovs-vsctl add-port br-ex eth0
為了開啟生效在/etc/rc.local加上如下配置
ovs-vsctl add-port br-ex eth0
ifconfig br-ex 192.168.100.114/24 (ip根據時間情況改)
網上有說改/etc/sysconfig/network-scripts下的文件,親測了下在centos7.4環境下,network重啟失敗
所以建議在/etc/rc.local里添加配置。并改/etc/rc.local為可執行權限
chmod +x /etc/rc.d/rc.local


修改配置
Neutron
/etc/neutron/plugins/ml2/ml2_conf.ini

[ml2]
type_drivers = flat,vlan,vxlan
mechanism_drivers = openvswitch,l2population
extension_drivers = port_security
tenant_network_types = vxlan


[ml2_type_flat]
flat_networks = provider


[ml2_type_vxlan]
vni_ranges = 1:1000




[securitygroup]
enable_ipset = True

/etc/neutron/l3_agent.ini

[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
debug = false

/etc/neutron/dhcp_agent.ini

[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = True

/etc/neutron/plugins/ml2/openvswitch_agent.ini

[ovs]
tunnel_bridge = br-tun
local_ip = 10.2.2.4
integration_bridge = br-int
enable_tunneling = True


[agent]
tunnel_types = vxlan
l2_population = True


[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True

重啟服務
systemctl restart neutron-server.service  neutron-openvswitch-agent.service  neutron-dhcp-agent.service  neutron-metadata-agent.service neutron-l3-agent.service
將neutron-openvswitch-agent設置開機自啟動
systemctl enable neutron-openvswitch-agent.service
計算節點配置
/etc/neutron/plugins/ml2/openvswitch_agent.ini
[ovs]
tunnel_bridge = br-tun
local_ip = 10.2.2.2
integration_bridge = br-int
enable_tunneling = True


[agent]
tunnel_types = vxlan
l2_population = True


[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True

重啟服務并設置開機自啟動
systemctl restart openstack-nova-compute.service neutron-openvswitch-agent.service
systemctl enable neutron-openvswitch-agent.service








向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

秀山| 连云港市| 贵港市| 清流县| 恩施市| 九龙县| 桐柏县| 肇源县| 峨眉山市| 鄄城县| 阿克陶县| 筠连县| 余江县| 奎屯市| 洛宁县| 察隅县| 方正县| 慈溪市| 丹阳市| 大渡口区| 元氏县| 松溪县| 潍坊市| 比如县| 通海县| 府谷县| 乌鲁木齐市| 博乐市| 察隅县| 望谟县| 华蓥市| 中阳县| 子洲县| 遂昌县| 太白县| 宁陵县| 建平县| 比如县| 呼和浩特市| 黄大仙区| 揭西县|