GlusterFS 5 : Install2018/12/13 |
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-gluster5
[root@node01 ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-5.repo
[root@node01 ~]#
[root@node01 ~]# yum --enablerepo=centos-gluster5 -y install glusterfs-server gluster --version glusterfs 5.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 SELinux is enabled, change policy. |
[root@node01 ~]# setsebool -P nis_enabled on |
[3] | 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 |
|