centos 6.4下openstack-grizzly安装:控制节点问题
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 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 (编辑:徐州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |