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 ~]#
[root@node01 ~]#
curl http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo -o /etc/yum.repos.d/glusterfs-epel.repo
systemctl start glusterd
[root@node01 ~]#
systemctl enable glusterd
|
It's OK if you mount GlusterFS volumes from clients with GlusterFS Native Client.
| |
| [2] | GlusterFS supports NFS (v3), so if you mount GlusterFS volumes from clients with NFS, Configure additinally like follows. |
[root@node01 ~]#
[root@node01 ~]#
yum -y install rpcbind
systemctl start rpcbind
[root@node01 ~]#
systemctl enable rpcbind
[root@node01 ~]#
systemctl restart glusterd
|
| [3] |
Installing and Basic Settings of GlusterFS are OK. Refer to next section for settings of clustering.
|
Nenhum comentário:
Postar um comentário