加入收藏 | 设为首页 | 会员中心 | 我要投稿 应用网_丽江站长网 (http://www.0888zz.com/)- 科技、建站、数据工具、云上网络、机器学习!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

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

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

While Cindercontains many different storage drivers, the most common and basicconfiguration uses LVM and iSCSI. This guide illustrates how to use one disk (/dev/sdb) in an LVM VolumeGroup called cinder-volumes. When a user requests a block storage volume, a Logical Volume is createdfrom this Volume Group and then mounted on the user's instance by way of iSCSI.

Install the Cinder packages:

2. yum install -y openstack-cinderopenstack-cinder-doc

iscsi-initiator-utils scsi-target-utils

Configure & start the iSCSI services:

4. service tgtd start

5. service iscsi start

6. chkconfig tgtd on

chkconfig iscsi on

Configure Cinder:

Edit /etc/cinder/cinder.conf:

·[DEFAULT]

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

·sql_connection = mysql://cinder:password@localhost/cinder

·qpid_user = guest

qpid_password = guest

important:/etc/cinder/cinder.conf is ALSO missing an essential "auth_strategy =keystone" in the [DEFAULT] section

Edit /etc/cinder/api-paste.ini:

·admin_tenant_name = service

·admin_user = cinder

admin_password = password

admin_tenant_name= service
admin_user = cinder
admin_password = password

Create the LVM Physical Volume and Logical Volume:

· pvcreate /dev/sdb

vgcreatecinder-volumes /dev/sdb

Create Cinder tables into the database:

cinder-manage db sync

Restart the services:

· service openstack-cinder-apirestart

· service openstack-cinder-schedulerrestart

· service openstack-cinder-volumerestart

· chkconfig openstack-cinder-api on

· chkconfigopenstack-cinder-scheduler on

(编辑:应用网_丽江站长网)

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

热点阅读