GlusterFS 6 : Install2019/05/30 |
Install GlusterFS to Configure Storage Cluster.
It is recommended to use partitions for GlusterFS volumes which are different from the / partition.
The environment on this example is set as that sdb1 is mounted on [/glusterfs] directory for GlusterFS Configuration on all Nodes.
|
[1] | Install GlusterFS Server on all Nodes in Cluster. |
[root@node01 ~]#
yum -y install centos-release-gluster6
[root@node01 ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-6.repo
[root@node01 ~]#
[root@node01 ~]# yum --enablerepo=centos-gluster6 -y install glusterfs-server gluster --version glusterfs 6.1 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 |
Installing and Basic Settings of GlusterFS are OK. Refer to next section for settings of clustering.
|
Sponsored Link |
|