Glusterfs is a scalable network filesystem with capabilities of scaling to several petabytes and handling thousands of clients. In this tutorial, I wi. This tutorial shows you how to install GlusterFS on Ubuntu Linux LTS server and configure 2 nodes high availability storage for your web. GlusterFS is a distributed file system defined to be used in user space. In this article, we will be Tecmint: Linux Howtos, Tutorials & Guides.
|Published (Last):||6 September 2015|
|PDF File Size:||11.50 Mb|
|ePub File Size:||12.58 Mb|
|Price:||Free* [*Free Regsitration Required]|
Glusterfs is a scalable network filesystem with capabilities glustrfs scaling to several petabytes and handling thousands of clients. It’s an open source and distributed file system that sets disk storage resources from multiple servers into a single namespace. It’s suitable for data-intensive tasks such as cloud storage and data media streaming.
In this tutorial, I will show how to set up a high availability storage server with GlusterFS on Ubuntu We will use 3 ubuntu servers, 1 server as a client, and 2 others as a storage.
Each storage server will lgusterfs a mirror of the other, and files will be replicated across both storage servers.
The first step we need to do before installing glusterfs on all servers is configuring the hosts’ file and add GlusterFS repository to each server. The command will update all repositories. And we’ve already added the glusterfs repository to all systems.
High-Availability Storage with GlusterFS on CentOS 7 – Mirror across two storage servers
Glusterd services are now up and running, and the next step we will do is to configure those servers by creating a trusted storage pool and creating the distributed glusterfs volume. Now we will see the result ‘peer probe: After creating the trusted storage pool, we will create a new distributed glusterfs volume. We will create the new glusterfs volume based on the system directory. And from the ‘gfs01’ server, create the distributed glusterfs volume named ‘vol01’ with 2 replicas ‘gfs01’ and ‘gfs02’.
At this stage, we created the ‘vol01’ volume with the type ‘Replicate’ and 2 bricks on ‘gfs01’ and ‘gfs02’ server. All data will be distributed automatically to each replica server, and we’re ready to mount the volume. In this step, we will mount the glusterfs volume ‘vol01’ to the Ubuntu client, and we need to install the glusterfs-client to the client server.
Now reboot the server and when it’s online, we will get the glusterfs volume ‘vol01’ mounted automatically through the fstab.
All files that we created from the client machine will be distributed to all the glusterfs volume node servers. I’d like to know about the performance. In case I have more servers working as bricks, with futorial configuration you taught us with time nd more archives the performance can be affected. Can all of this became slower? And the type of the volume, in this case, replicate. Are there any others? Follow the Launchpad instructions for installing their key. You only need the key from download.
But how about your opinion if using GlusterFS as Datastorage to store big data?
Quick Start Guide – Gluster Docs
And can we create RAID with hard disk use in 2 server? This feature is only available to subscribers. Get your subscription here. Log in or Sign up.
This tutorial exists for these OS versions Ubuntu tutodial Follow the instruction from the official documentation. Thank you so much for your article: I did these steps but not work for me when I try to mount: Nguyen Truong Giang at: Thank you so much for your article!
Your name or email address: Do you already have an account?
No, create an account now. Yes, my password is: