Redhat 6.3 openstack cinder installation Configuration

Source: Internet
Author: User

Redhat 6.3 openstack cinder installation configuration cinder configuration installation: www.2cto.com 1) download source code2) pip install3) yum install scsi-target-utils4) yum install iscsi-initiator-utils.x86_64 (these two are equivalent to open-iscsi and tgt under ubuntu) 5) edit cinder config filenormally it except des: database config keystone access config volumes config message queue configalso enable cinder api in nova. conf 6) edit/etc/lvm. confAdd volume_list entry to/etc/lvm. conf to keep LVM from activating logical volumes created in VMs. volume_list = ["VolGroup", "cinder-volumes"] volume_list shoshould include your OS related volume group. 7) add volumes dir in/etc/tgt/targets. conf include/var/lib/cinder/volumes/* 8) restart tgtd service 9) init cinder dbcinder-manage db sync 10) test if cinder works 10.1 create one test loop file and mount it dd if =/dev/zero of = cinder-volumes bs = 1 count = 0 seek = 2G losetup/dev/loop2 cinder-volumes 10.2 init pv and create vgpvcreate/dev/loop2 vgcreate cinder-volumes/dev/loop2 10.3 check if volume is createdpvscan 10.4 restart cinder service: cinder api, schedder, volume 10.5 use cinder to create volume cinder create -- display_name test 1 10.6 verify volume created successfully cinder list volume shocould in "available" status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.