이 콘텐츠는 선택한 언어로 제공되지 않습니다.

6.4. Configure the Volume Service


6.4.1. Block Storage Driver Support

The volume service (openstack-cinder-volume) requires access to suitable block storage. Red Hat OpenStack Platform provides volume drivers for the following supported block storage types:
  • Red Hat Ceph
  • LVM/iSCSI
  • ThinLVM
  • NFS
  • NetApp
  • Dell EqualLogic
  • Dell Storage Center
For instructions on how to set up an LVM back end, refer to Section 6.4.2, “Configure OpenStack Block Storage to Use an LVM Storage Back End”.

6.4.2. Configure OpenStack Block Storage to Use an LVM Storage Back End

The openstack-cinder-volume service can make use of a volume group attached directly to the server on which the service runs. This volume group must be created exclusively for use by the Block Storage service, and the configuration updated to point to the name of the volume group.
All steps in the following procedure must be performed on the server hosting the openstack-cinder-volume service, while logged in as the root user.

Procedure 6.7. Configuring openstack-cinder-volume to Use LVM Storage as a Back End

  1. Create a physical volume:
    # pvcreate DEVICE
       Physical volume "DEVICE" successfully created
    Replace DEVICE with the path to a valid, unused, device. For example:
    # pvcreate /dev/sdX
  2. Create a volume group:
    # vgcreate cinder-volumes DEVICE
       Volume group "cinder-volumes" successfully created
    Replace DEVICE with the path to the device used when creating the physical volume. Optionally replace cinder-volumes with an alternative name for the new volume group.
  3. Set the volume_group configuration key to the name of the volume group created in the previous step:
    # openstack-config --set /etc/cinder/cinder.conf \
       DEFAULT volume_group cinder-volumes
  4. Ensure that the correct volume driver for accessing LVM storage is in use by setting the volume_driver configuration key to cinder.volume.drivers.lvm.LVMVolumeDriver:
    # openstack-config --set /etc/cinder/cinder.conf \
       DEFAULT volume_driver cinder.volume.drivers.lvm.LVMVolumeDriver

6.4.3. Configure the SCSI Target Daemon

The openstack-cinder-volume service uses a SCSI target daemon for mounting storage. You must install a SCSI target daemon on each server hosting an instance of the openstack-cinder-volume service, while logged in as the root user.

Procedure 6.8. Configure a SCSI Target Daemon

  1. Install the targetcli package:
    # yum install targetcli
  2. Launch the target daemon and configure it to start at boot time:
    # systemctl start target.service
    # systemctl enable target.service
  3. Configure the volume service to use the lioadm iSCSI target user-land tool:
    # openstack-config --set /etc/cinder/cinder.conf \
       DEFAULT iscsi_helper lioadm
  4. Set the IP address on which the iSCSI daemon must listen (ISCSIIP):
    # openstack-config --set /etc/cinder/cinder.conf \
       DEFAULT iscsi_ip_address ISCSIIP
    Replace ISCSI_IP with the IP address or host name of the server hosting the openstack-cinder-volume service.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.