Este contenido no está disponible en el idioma seleccionado.

4.2. Configuring Openstack Block Storage to Use Red Hat Storage Volume


Procedure 4.1. Configure Openstack Block Storage to Use Red Hat Storage Volume

  1. Update the cinder.conf File

    Set the glusterFS default configuration parameters in the cinder.conf file as follows:
    # openstack-config --set /etc/cinder/cinder.conf DEFAULT volume_driver cinder.volume.drivers.glusterfs.GlusterfsDriver
    # openstack-config --set /etc/cinder/cinder.conf DEFAULT glusterfs_shares_config /etc/cinder/shares.conf
    # openstack-config --set /etc/cinder/cinder.conf DEFAULT glusterfs_mount_point_base /var/lib/cinder/volumes
    Copy to Clipboard Toggle word wrap
  2. Create the shares.conf File

    Create the /etc/cinder/shares.conf file. Add a list of Red Hat Storage Volumes from different trusted storage pools with the client mount point for each. Each storage volume and mount point must be on a new line, as follows:
    STORAGEHOST:VOLUME
    STORAGEHOST1:NEXTVOLUME
    STORAGEHOSTHOST2:ANOTHERVOLUME
    Copy to Clipboard Toggle word wrap
    An example of this configuration is as follows:
    10.1.1.11:/cinder-vol
    10.1.2.12:/nextcinder-vol
    10.1.3.13:/anothercinder-vol
    Copy to Clipboard Toggle word wrap
    When listing the storage volume and mount point, Red Hat recommends that you use the backup-volfile-servers=volfile_server2:volfile_server3:...:volfile_serverN option to list the backup volfile servers to mount the client. If this option is specified while mounting the FUSE client, and if the first volfile server fails, the servers specified in the backup-volfile-servers option are used as volfile servers to mount the client until the mount operation is successful. Add this option to the storage volume and mount point list in /etc/cinder/shares.conf file as shown below:
    10.1.1.11:/cinder-vol -o backup-volfile-servers=volfile_server2:volfile_server3
    Copy to Clipboard Toggle word wrap
  3. Restart Services

    Restart the cinder services as follows:
    # service openstack-cinder-api restart
    # service openstack-cinder-volume restart
    # service openstack-cinder-scheduler restart
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat