Chapter 14. Managing Containerized Red Hat Gluster Storage
Red Hat Gluster Storage can be set up as a container on a Red Hat Enterprise Linux Atomic Host. Containers use the shared kernel concept and are much more efficient than hypervisors in system resource terms. Containers rest on top of a single Linux instance and allows applications to use the same Linux kernel as the system that they are running on. This improves the overall efficiency and reduces the space consumption considerably.
Containerized Red Hat Gluster Storage 3.1.2 is supported only on Red Hat Enterprise Linux Atomic Host 7.2. For more information about installing containerized Red Hat Gluster Storage, see the Red Hat Gluster Storage 3.3 Installation Guide: https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html/installation_guide/.
Note
For Red Hat Gluster Storage 3.1.2, Erasure Coding, NFS-Ganesha, BitRot, and Data Tiering are not supported with containerized Red Hat Gluster Storage.
14.1. Prerequisites
Before creating a container, execute the following steps.
- Create the directories in the atomic host for persistent mount by executing the following command:
# mkdir -p /etc/glusterfs /var/lib/glusterd /var/log/glusterfs
- Ensure the bricks that are required are mounted on the atomic hosts. For more information see Section 21.2, “Brick Configuration”.
- If Snapshot is required, then ensure that the
dm-snapshot
kernel module is loaded in Atomic Host system. If it is not loaded, then load it by executing the following command:# modprobe dm_snapshot