Ce contenu n'est pas disponible dans la langue sélectionnée.
4.4. Configure the OpenStack Compute Service to Use Red Hat Storage Volumes
This section provides steps to configure common Red Hat Storage volume to host both Image and Compute services.
Procedure 4.3. Configure the OpenStack Compute Service to Use Red Hat Storage Volumes
- Configure the Compute service to the use Red Hat Storage volume by editing the
instances_pathin the/etc/nova/nova.conffile:#instances_path = /mnt/gluster/instance - Create a directory named
instanceas follows:# mkdir -p /mnt/gluster/instanceIf you are using a different volume other than the glance volume for compute service, then you must mount the volume usingmount -t glusterfs 10.1.1.11:/nova-vol /mnt/novacommand.When mounting the volume, Red Hat recommends you to use thebackup-volfile-servers=volfile_server2:volfile_server3:...:volfile_serverNoption 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 operation is successful. - Change the ownership of the Red Hat Storage volume as follows:
chown -R nova:nova /mnt/gluster/instance - Restart the OpenStack Compute service as follows:
# service openstack-nova-compute restart