加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码门户网 (https://www.92codes.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

centos 6.4下openstack-grizzly安装:控制节点问题

发布时间:2016-09-09 00:50:23 所属栏目:Linux 来源:站长网
导读:参考的是官方文档,由于官方文档有些文件及步骤没有列出来,现已经补齐。经过测试没问题。备忘一下。 You need at leastthree machines, virtual or physical,

Add the following to the /etc/nova/nova.conf file. This file is the main configuration file of Nova. There is a large amount of configuration options that can go in this file. This guide illustrates the minimum needed for a simple environment. Note that the nova.conf file supplied by your distribution will have some options already set. Leave them as-is.

· General

·verbose = True

·qpid_username=guest

·qpid_password=guest

·rpc_backend = nova.openstack.common.rpc.impl_qpid

·

· Networking

·network_api_class=nova.network.quantumv2.api.API

·quantum_url=http://10.10.10.10:9696

·quantum_auth_strategy=keystone

·quantum_admin_tenant_name=service

·quantum_admin_username=quantum

·quantum_admin_password=password

·quantum_admin_auth_url=http://10.10.10.10:35357/v2.0

·libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver

·linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver

·

· Security Groups

·firewall_driver=nova.virt.firewall.NoopFirewallDriver

·security_group_api=quantum

·

· Metadata

·quantum_metadata_proxy_shared_secret=password

·service_quantum_metadata_proxy=true

·metadata_listen = 10.10.10.10

·metadata_listen_port = 8775

·

· Cinder

·volume_api_class=nova.volume.cinder.API

·

· Glance

·glance_api_servers=10.10.10.10:9292

·image_service=nova.image.glance.GlanceImageService

·

· novnc

·novnc_enable=true

·novncproxy_port=6080

·novncproxy_host=10.0.0.10

·vncserver_listen=0.0.0.0

Create Nova tables into the database:

nova-manage db sync

Restart Nova services:

· service openstack-nova-api restart

· service openstack-nova-cert restart

· service openstack-nova-consoleauthrestart

· service openstack-nova-schedulerrestart

· service openstack-nova-conductorrestart

· service openstack-nova-novncproxyrestart

· chkconfig openstack-nova-api on

· chkconfig openstack-nova-cert on

· chkconfigopenstack-nova-consoleauth on

· chkconfig openstack-nova-scheduleron

· chkconfig openstack-nova-conductoron

chkconfig openstack-nova-novncproxy on

spacer.gif

Note

Check the /var/log/nova/nova-* files for any errors that would prevent the Compute Service from successfully starting.

OpenStack Block Storage

(编辑:源码门户网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读