# su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron8、从新启用compute效劳
# systemctl restart openstack-nova-api.service openstack-nova-scheduler.service openstack-nova-conductor.service9、开机自启用效劳
# systemctl enable neutron-server.service# systemctl start neutron-server.service10、察看neutron-server过程
# neutron ext-list11、察看关系消息
# tail -f /var/log/neutron/server.log12、摆设内核搜集参数
# cp /etc/sysctl.conf /etc/sysctl.conf.bak# vim /etc/sysctl.conf net.ipv4.ip_forward=1net.ipv4.conf.all.rp_filter=0net.ipv4.conf.default.rp_filter=0# sysctl -p13、安置搜集组件包
# yum -y install openstack-neutron openstack-neutron-ml2 openstack-neutron-openvswitch14、摆设常用的搜集组件
# vim /etc/neutron/plugins/ml2/ml2_conf.ini[ml2_type_flat] flat_networks = external [ovs] local_ip = INSTANCE_TUNNELS_INTERFACE_IP_ADDRESSenable_tunneling = Truebridge_mappings = external:br-ex[agent]tunnel_types = gre# cp /etc/neutron/l3_agent.ini /etc/neutron/l3_agent.ini.bak# vim /etc/neutron/l3_agent.ini[DEFAULT] interface_driver = neutron.agent.linux.interface.OVSInterfaceDriveruse_namespaces = Trueexternal_network_bridge = br-ex verbose = True# cp /etc/neutron/dhcp_agent.ini /etc/neutron/dhcp_agent.ini.bak# vim /etc/neutron/dhcp_agent.ini [DEFAULT]interface_driver = neutron.agent.linux.interface.OVSInterfaceDriverdhcp_driver = neutron.agent.linux.dhcp.Dn *** asquse_namespaces = True verbose = Truedn *** asq_config_file = /etc/neutron/dn *** asq-neutron.conf# cp /etc/neutron/metadata_agent.ini /etc/neutron/metadata_agent.ini.bak# vim /etc/neutron/metadata_agent.ini[DEFAULT] auth_url = http://controller:5000/v2.0auth_region = regionOneadmin_tenant_name = serviceadmin_user = neutronadmin_password = neutronnova_metadata_ip = controller metadata_proxy_shared_secret = METADATA_SECRET verbose = True# vim /etc/nova/nova.conf [neutron] service_metadata_proxy = Truemetadata_proxy_shared_secret = METADATA_SECRET15、在遏制节点上从新启用API效劳
# systemctl restart openstack-nova-api.service七、安置摆设dashboard
1、安置dashboard和所需的和依附包
# yum install openstack-dashboard httpd mod_wsgi memcached python-memcached2、窜改dashboard摆设文献
# cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.bak# vim /etc/openstack-dashboard/local_settingsOPENSTACK_HOST = "controller"ALLOWED_HOSTS = ['*']CACHES = {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache','LOCATION': '127.0.0.1:11211',}}TIME_ZONE = "TIME_ZONE"3、运转web效劳贯穿OpenStack效劳
# setsebool -P httpd_can_network_connect on4、因为包装缺点,风度板不许精确加载CSS 。运转以次吩咐来处置这个题目:
# chown -R apache:apache /usr/share/openstack-dashboard/static5、启用Web效劳器和对话保存效劳和摆设启用体例启用时:
# systemctl enable httpd.service memcached.service# systemctl start httpd.service memcached.service八、考察尝试
1、鉴于HTTP举行考察尝试:
【openstack平台搭建步骤openstack搭建教程】好了,即日就先到这边吧!
推荐阅读
- 免费好用的微信第三方 微信第三方免费平台哪个好
- vmware创建linux虚拟机教程 linux搭建虚拟机
- 亲呗贷款平台怎么样「亲呗贷款app下载」
- 正规肾脏交易平台 正规肾脏交易
- 推广平台排行榜 网络推广平台有哪些渠道
- 四库平台,四库一平台官网
- 正规赚佣金的平台「佣金赚钱平台」
- 二手名表交易平台哪家靠谱「正规二手表交易平台」
- 网店哪个平台最靠谱 在哪开网店比较好
- 找工作哪个平台最可靠真实 找工作软件哪个最靠谱