At present, the latest version of GlusterFS is 11 and the latest version of CentOS is CentOS Stream 9.
This article will present how to build 3 file replicas node cluster using the latest version of GlusterFS and CentOS Stream 9. There are old versions of this topic here – Create and export a GlusterFS volume with NFS-Ganesha in CentOS 8 and glusterfs with localhost (127.0.0.1) nodes on different servers – glusterfs volume with 3 replicas.
Summary
Here is what the 3-nodes replicas cluster represents:
- 3 servers with minimal CentOS Stream 9 installation – Network installation of CentOS Stream 9 (20220606.0) – minimal server installation.
- EPEL, CRB, and GlusterFS (supported by the CentOS SIG comunity) repositories to be installed on the systems.
- Firewall configuration to allow GlusterFS service with Firewalld.
- Create a cluster volume with 3 file replicas. It uses file replication, not block replication. Replicated volumes.
STEP 1) Install the additional repositories.
Three additional repositories should be installed – all of them are official from the CentOS community or Fedora official community, so there tend to be really stable and do not break the package integrity.
Keep on reading!