Mitaka版本openstack只支援VXLAN的分散式部署配置
本次部署不包含vlan network,環境centos7,同時需要參考mitaka安裝文件
http://docs.openstack.org/mitaka/install-guide-rdo/
我是將network server ,network agent,Controller 分別安裝在不同的虛擬機器中。
配置檔案如下:
計算節點配置與啟動服務
配置檔案有:
nova.conf,neutron.conf,openvswitch_agent.ini,l3_agent.ini
啟動服務有:
neutron-l3-agent.service
neutron-openvswitch-agent.service
openstack-nova-compute.service
libvirtd.service
以其中一個節點為例
nova.conf
[DEFAULT]
my_ip=192.168.200.230
auth_strategy=keystone
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
rpc_backend=rabbit
[api_database]
[barbican]
[cache]
[cells]
[cinder]
[conductor]
[cors]
[cors.subdomain]
[database]
[ephemeral_storage_encryption]
[glance]
api_servers =
[guestfs]
[hyperv]
[image_file_url]
[ironic]
[keymgr]
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = admin
[libvirt]
virt_type=qemu
[matchmaker_redis]
[metrics]
[neutron]
url =
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = admin
[osapi_v21]
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = rabbitmqpassword
[oslo_middleware]
[oslo_policy]
[rdp]
[serial_console]
[spice]
[ssl]
[trusted_computing]
[upgrade_levels]
[vmware]
[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://10.0.36.176:6080/vnc_auto.html
[workarounds]
[xenserver]
neutron.conf
[DEFAULT]
auth_strategy = keystone
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = True
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
rpc_backend = rabbit
router_distributed = True
[agent]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://neutron:[email protected]/neutron
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = admin
[matchmaker_redis]
[nova]
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = admin
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = rabbitmqpassword
[oslo_policy]
[quotas]
[ssl]
openvswitch_agent.ini
[DEFAULT]
[agent]
tunnel_types = vxlan
l2_population = True
enable_distributed_routing = True
[ovs]
local_ip = 192.168.200.230
bridge_mappings = external:br-ex
[securitygroup]
firewall_driver = iptables_hybrid
l3_agent.ini
[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
external_network_bridge =
agent_mode = dvr
[AGENT]
網路agent節點配置與啟動服務
配置檔案有:
neutron.conf,openvswitch_agent.ini,l3_agent.ini,dhcp_agent.ini,ml2_conf.ini,metadata_agent.ini
啟動的服務有:
neutron-l3-agent.service
neutron-openvswitch-agent.service
neutron-dhcp-agent.service
neutron-metadata-agent
neutron.conf
[DEFAULT]
auth_strategy = keystone
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = True
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
rpc_backend = rabbit
router_distributed = True
[agent]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://neutron:[email protected]/neutron
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = admin
[matchmaker_redis]
[nova]
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = admin
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = rabbitmqpassword
[oslo_policy]
[quotas]
[ssl]
openvswitch_agent.ini
[DEFAULT]
[agent]
tunnel_types = vxlan
l2_population = True
enable_distributed_routing = True
[ovs]
local_ip = 192.168.200.230
bridge_mappings = external:br-ex
[securitygroup]
firewall_driver = iptables_hybrid
l3_agent.ini
[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
external_network_bridge =
agent_mode = dvr_snat
[AGENT]
ml2_conf.ini
[DEFAULT]
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,l2population
extension_drivers = port_security
[ml2_type_flat]
flat_networks = external
[ml2_type_geneve]
[ml2_type_gre]
[ml2_type_vlan]
[ml2_type_vxlan]
vni_ranges = 1:1000
[securitygroup]
firewall_driver = iptables_hybrid
dhcp_agent.ini
[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = True
[AGENT]
metadata_agent.ini
[DEFAULT]
nova_metadata_ip = controller
metadata_proxy_shared_secret = METADATA_SECRET
[AGENT]
網路 server節點配置與啟動服務
配置檔案有:
neutron.conf,ml2_conf.ini,metadata_agent.ini
啟動服務有:
neutron-server.service
neutron.conf
[DEFAULT]
auth_strategy = keystone
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = True
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
rpc_backend = rabbit
router_distributed = True
[agent]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://neutron:[email protected]/neutron
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = admin
[matchmaker_redis]
[nova]
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = admin
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = rabbitmqpassword
[oslo_policy]
[quotas]
[ssl]
ml2_conf.ini
[DEFAULT]
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,l2population
extension_drivers = port_security
[ml2_type_flat]
flat_networks = external
[ml2_type_geneve]
[ml2_type_gre]
[ml2_type_vlan]
[ml2_type_vxlan]
vni_ranges = 1:1000
[securitygroup]
firewall_driver = iptables_hybrid
metadata_agent.ini
[DEFAULT]
nova_metadata_ip = controller
metadata_proxy_shared_secret = METADATA_SECRET
[AGENT]
controller節點配置與啟動服務
配置檔案有:
nova.conf ,keystone.conf,httpd.conf,wsgi-keystone.conf,mariadb_openstack.cnf,glance-api.conf,glance-registry.conf
啟動的服務有:
mariadb.service
rabbitmq-server.service
memcached.service
httpd.service
openstack-nova-api.service
openstack-nova-consoleauth.service
openstack-nova-scheduler.service
openstack-nova-conductor.service
openstack-nova-novncproxy.service
openstack-glance-api.service
openstack-glance-registry.service
glance-api.conf
[DEFAULT]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://glance:[email protected]/glance
[glance_store]
stores = file,http
default_store = file
filesystem_store_datadir = /var/lib/glance/images
[image_format]
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = admin
[matchmaker_redis]
[oslo_concurrency]
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_policy]
[paste_deploy]
flavor = keystone
[profiler]
[store_type_location_strategy]
[task]
[taskflow_executor]
glance-registry.conf
[DEFAULT]
[database]
connection = mysql+pymysql://glance:[email protected]/glance
[glance_store]
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = admin
[matchmaker_redis]
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_policy]
[paste_deploy]
flavor = keystone
[profiler]
mariadb_openstack.cnf
[mysqld]
bind-address = 0.0.0.0
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = ‘SET NAMES utf8’
character-set-server = utf8
httpd.conf
ServerName controller
wsgi-keystone.conf
Listen 5000
Listen 35357
相關推薦
Mitaka版本openstack只支援VXLAN的分散式部署配置
本次部署不包含vlan network,環境centos7,同時需要參考mitaka安裝文件 http://docs.openstack.org/mitaka/install-guide-rdo/ 我是將network server ,netwo
自動安裝分散式mitaka版本openstack
本文介紹如何通過指令碼自動安裝matika環境。作業系統請下載分享的iso,不要到網上隨意下載,原因本地源是基於這個iso做的。安裝過程各個節點無需上網。如安裝單節點allinone模式,只安裝controller即可。如有多個節點,重複執行computer或block
【neutron】mitaka版本openstack網路之linux bridge
作者:【吳業亮】雲端計算開發工程師 部落格:http://blog.csdn.net/wylfengyujiancheng 一、硬體配置及服務拓撲 1. controller節點:一塊網絡卡 2. 網路節點:四塊網絡卡。 3. 計算節點:三塊
queens版本openstack部署nova報錯解決
queens nova nova-api根據官方文檔:https://docs.openstack.org/nova/queens/install/controller-install-rdo.html,部署nova服務。 到最後的幾步時,也就是同步api數據庫“Populate the nova-api
學習OpenStack之(5):在Mac上部署Juno版本OpenStack 四節點環境
0. 前沿 經過一段時間的折騰,終於在自己的Mac上裝好了Juno版本的四節點環境。這過程中,花了大量的時間,碰到了許多問題,學到不少知識,折騰過不少其實不需要折騰的東西,本文試著來對這過程做個總結。 1. 初始環境 說明: 安裝的是14.04 server 版本,裝好後: (1)修改
產品專案升級為支援分散式部署經驗分享
專案背景:隨著業務發展,使用者指定需要支援分散式部署,伺服器在英國和香港。為了支援分散式部署,主鍵採用雪花演算法導致主鍵number由8變為22位。操作:1.除了資料庫表的欄位批量修改為22位之外;2.程式碼方面需要將rs.getInt改為rs.getLong,int改為lo
OpenStack Mitaka 版本不可不知的53個新特性
OpenStack Mitaka 版有三大主題:優化的使用者體驗、更好的管理性和擴充套件性。這一版本總共有上百個新特性和變更(Mirantis的 OpenStack Mitaka視訊介紹了其中183個)但是這裡53個是終端使用者最關注的。 Nova (計算) 1. 線上
js讀寫檔案(ActiveXObject只支援ie7以前的版本)
<script type="text/javascript"> function CreateFile(xml) { var fso, tf; //這是在IE7以前的版本中 if (window.ActiveXObject) {//支援-通過ActiveXOb
用Helm部署Kubernetes應用,支援多環境部署與版本回滾
# 1 前言 `Helm`是優秀的基於`Kubernetes`的包管理器。利用`Helm`,可以快速安裝常用的`Kubernetes`應用,可以針對同一個應用快速部署多套環境,還可以實現運維人員與開發人員的職責分離。現在讓我們安裝並體現一下,如何通過`Helm`安裝`MongoDB`吧。 `Kuberne
OpenStack pike版 基本環境部署(2) 續案例架構(1)
duyuheng 基本環境部署 續案例架構(1)環境準備工作:按照以下規劃配置各主機IP地址及主機名稱# controller10.0.0.11 controller# compute110.0.0.31 compute1# block110.0.0.41 bloc
Openstack 之 ubuntu16使用kolla部署實驗
docker kolla openstack 現在Openstack社區的安裝部署方式已經開始推薦使用kolla進行部署了,記得年初還是推薦使用ansible方式,我的理解,kolla項目也是基於原來ansible的部署方式,原來ansible的部署方式支持baremetel和lxc容器兩
openstack 使用 linuxbridge + vxlan
重啟 linu inter 控制 plugins ml2 cnblogs out neutron #openstack 使用 linuxbridge + vxlan #openstack pike 集群高可用 安裝部署 匯總 http://www.cnblogs.com/
jumpserver(0.3.2版本)開源跳板機系統部署
數據 mysqld cal arch enable roo 系統 ase 使用 1. 介紹 JumpServer亮點: 集成Ansible,批量執行命令; 支持WebTerminal wiki地址:https://github.com/jumpserver/jumps
MYSQL部署配置管理5.6版本
匹配 aio 默認 是個 初始 快速排序 -h mysql密碼 自動創建 一、MYSQL服務器端程序層次結構1.1 連接層連接協議:tcpip socket驗證連接合法性分配連接線程為客戶端服務1.2 SQL層解析優化授權表查詢提供緩存1.3 存儲引擎層插件式的存儲數據到
OpenStack-liberty版Glance服務部署(二)
c4c symlink 用戶 服務 NPU store use upd ken Glance鏡像服務:Glance主要由三部分構成:glance-api、glance-registry以及image storeGlance-api:接受系統鏡像的創建、刪除、讀取請求。Gla
OpenStack-liberty版Nova服務部署(三)
onf 虛擬機創建 項目 url 虛擬 block 一個 12c site Nova計算服務:API:負責接收和響應外部請求。支持OpenStack API,EC2API。Cert:負責身份認證。Scheduler:用於主機調度。Conductor:計算節點訪問數據的中間件
Linux 分散式部署
分散式Hadoop部署: 第一步:為每一臺機器生成一個公鑰。 命令: $ ssh-keygen -t rsa &nbs
tensorflow提示:此版本TensorFlow不支援AVX2但是你的cpu支援
問題描述:在使用keras或者TensorFlow訓練模型的時候,會提示“xxxxAVX2”,意思你的cpu支援AVX2(高階向量擴充套件指令集),但是是這個版本的TensorFlow太low了,沒有用到。 解決辦法:貌似要不就自己編譯TensorFlow,要不去下載一個編譯好的支援AVX2的TensorF
主流瀏覽器新版本將不再支援TLS 1.0/1.1
Microsoft Edge 高階專案經理 Kyle Pflug 說:“隨著 TLS 1.0 的不斷陳舊,許多網站已經轉向更新版本的協議。來自 SSL 實驗室的資料顯示,94% 的網站已經支援 TLS 1.2,Microsoft Edge 的每日連線中,只有不到百分之一使用 TLS 1.0
KVM實現分散式部署lamp並安裝WordPress
實驗思維導圖: 分析: 本實驗要求使用KVM安裝三臺虛擬機器,實現mysql,php,httpd,分散式部署,並完成lamp環境搭建WordPress 搭建整體環境,克隆一臺新的虛擬機器,在啟動之前選擇如下,從而使得本機支援虛擬化實現 首先安裝kvm環境 [[emai