What is GLusterFS?
GlusterFS is a scalable network filesystem suitable for data-intensive tasks such as cloud storage and media streaming. GlusterFS is free and open source software and can utilize common off-the-shelf hardware, distributed file system capable of scaling to several petabytes and handling thousands of clients. It is a file system with a modular, stackable design, and a unique no-metadata server architecture. This no-metadata server architecture ensures better performance, linear scalability, and reliability.
In this guide, we will show you how to install and setup a Glusterfs Server on CentOS 7 / RHEL 7 and Ubuntu 16.04 instances. In this articles, we will go through those steps:
- Adding GlusterFS Repository
- Installing GlusterFS Server packages
- Enabling /Starting Glusterfs service at boot
Step 1./ Adding GlusterFS Repository
– On RHEL
# vi /etc/yum.repos.d/glusterfs.repo [gluster3.10] name = Gluster 3.10 baseurl = http://mirror.centos.org/centos/$releasever/storage/$basearch/gluster-3.10/ gpgcheck = 0 enabled = 1
– On CentOS
# yum install epel-release # Install EPEL Repository to resolve all dependencies # yum search centos-release-gluster # yum install centos-release-gluster310 -y
– On Ubuntu
# sudo add-apt-repository ppa:gluster/glusterfs-3.10 # sudo apt-get update
Step 2./ Installing GlusterFS
– Install GlusterFS package using one of the following commands:
# yum install -y glusterfs-server # Centos / RHEL # sudo apt-get install -y glusterfs-server # Ubuntu
Step 3./ Enabling /Starting Glusterfs Service at Boot
Once you installed the glusterfs server, you need to enable the glusterfs deamon to auto-start at boot time:
– Start the glusterd service:
# systemctl start glusterd
– Enable glusterd to start automatically at system boot:
# systemctl enable glusterd
We hope this tutorial was enough Helpful. If you need more information, or have any questions, just comment below and we will be glad to assist you!
PS. If you like this post please share it with your friends on the social networks using the buttons below.Thanks.