Questo contenuto non è disponibile nella lingua selezionata.

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
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat