25.5. Prerequisites
Ensure that you do the following before using Red Hat Gluster Storage Object Store.
- Ensure that the openstack-swift-* and swiftonfile packages have matching version numbers.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure that SELinux is in permissive mode.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If theCurrent modeandMode from config filefields are not set topermissive, run the following commands to set SELinux into permissive mode persistently, and reboot to ensure that the configuration takes effect.setenforce 1 reboot
# setenforce 1 # rebootCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure that the gluster-swift services are owned by and run as the
rootuser, not theswiftuser as in a typical OpenStack installation.cd /usr/lib/systemd/system sed -i s/User=swift/User=root/ openstack-swift-proxy.service openstack-swift-account.service openstack-swift-container.service openstack-swift-object.service openstack-swift-object-expirer.service
# cd /usr/lib/systemd/system # sed -i s/User=swift/User=root/ openstack-swift-proxy.service openstack-swift-account.service openstack-swift-container.service openstack-swift-object.service openstack-swift-object-expirer.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Start the
memcachedservice:service memcached start
# service memcached startCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Ensure that the ports for the Object, Container, Account, and Proxy servers are open. Note that the ports used for these servers are configurable. The ports listed in Table 25.1, “Ports required for Red Hat Gluster Storage Object Store” are the default values.
Expand Table 25.1. Ports required for Red Hat Gluster Storage Object Store Server Port Object Server 6010 Container Server 6011 Account Server 6012 Proxy Server (HTTPS) 443 Proxy Server (HTTP) 8080 - Create and mount a Red Hat Gluster Storage volume for use as a Swift Account. For information on creating Red Hat Gluster Storage volumes, see Chapter 6, Red Hat Gluster Storage Volumes . For information on mounting Red Hat Gluster Storage volumes, see Chapter 7, Accessing Data - Setting Up Clients .