Questo contenuto non è disponibile nella lingua selezionata.

4.3. Configure the OpenStack Image Service to Use Red Hat Storage Volumes


Procedure 4.2. Configure the OpenStack Image Service to Use Red Hat Storage Volumes

  1. Specify the location for filesystem_store_datadir as follows:
    # ============ Filesystem Store Options===================
    # Directory that the Filesystem backend store
    # writes image data to
    filesystem_store_datadir = /mnt/gluster/glance/images/
    Copy to Clipboard Toggle word wrap
  2. Create a directory named images as follows:
    # mkdir -p /mnt/gluster/glance/images
    Copy to Clipboard Toggle word wrap
  3. Change the ownership of the the Red Hat Storage volume as follows:
    chown -R glance:glance/mnt/gluster/glance/
    Copy to Clipboard Toggle word wrap
  4. Mount the Red Hat Storage volume on filesystem_store_datadir as follows:
    mount -t glusterfs 10.1.1.11:/glance-vol /mnt/gluster
    Copy to Clipboard Toggle word wrap
    When mounting the volume, Red Hat recommends you to use 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, when the first volfile server fails, the servers specified in backup-volfile-servers option are used as volfile servers to mount the client until the mount is successful.
  5. To persistently mount the glance volume, add the following line to the /etc/fstab file:
    10.1.1.11:/glance-vol images glusterfs defaults,_netdev 0 0
    Copy to Clipboard Toggle word wrap
  6. Restart the OpenStack glance service as follows:
    # service openstack-glance-api 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