CentOS 7
Sponsored Link

Gluster 4.0 : Install
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-gluster40
[root@node01 ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-4.0.repo
[root@node01 ~]#
yum --enablerepo=centos-gluster40 -y install glusterfs-server
[root@node01 ~]#
systemctl start glusterd

[root@node01 ~]#
systemctl enable glusterd

[2] If SELinux is enabled, change policy.
[root@dlp ~]#
setsebool -P nis_enabled on

[3] If Firewalld is running, allow GlusterFS service on all nodes.
[root@node01 ~]#
firewall-cmd --add-service=glusterfs --permanent

[root@node01 ~]#
firewall-cmd --reload

Installing and Basic Settings of GlusterFS are OK. Refer to next section for settings of clustering.
Matched Content