GlusterFS 7 : Install2021/04/02 |
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-gluster7
[root@node01 ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-7.repo
[root@node01 ~]#
dnf --enablerepo=centos-gluster7,powertools -y install glusterfs-server
[root@node01 ~]#
[root@node01 ~]# systemctl enable --now glusterd
gluster --version glusterfs 7.9 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 --permanent success [root@node01 ~]# firewall-cmd --reload success |
That's OK, Refer to the next section to Configure Cluster.
|
Sponsored Link |