CentOS Stream 9
Sponsored Link

GlusterFS 9 : Install2022/03/30

 
Install GlusterFS to Configure Storage Cluster.
It is strongly recommended to use partitions for GlusterFS volumes that are different from the / partition.
On this example, it is based on the environment that all nodes has [sdb1] and mount it to [/glusterfs].
[1] Install GlusterFS Server on all Nodes in Cluster.
[root@node01 ~]#
dnf -y install centos-release-gluster9
[root@node01 ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-9.repo
[root@node01 ~]#
dnf --enablerepo=centos-gluster9 -y install glusterfs-server
[root@node01 ~]#
systemctl enable --now glusterd
[root@node01 ~]#
gluster --version

glusterfs 9.5
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
[2] If Firewalld is running, allow GlusterFS service on all nodes.
[root@node01 ~]#
firewall-cmd --add-service=glusterfs

success
[root@node01 ~]#
firewall-cmd --runtime-to-permanent

success
 
That's OK, Refer to the next section to Configure Cluster.
Matched Content