How to create high availability storage with GlusterFS
GlusterFS is a distributed filesystem that is scalable and highly available. There are a few modes that you can configure GlusterFS with, such as replicated, distributed, and dispersed. Each comes with its own benefit and can be configured based on your workload or requirement.
You can create a high availability storage with GlusterFS on 2 or more common off-the-shelf server hardware. It could be easily be configured on Linux distributions such as CentOS / Red Hat and Ubuntu.
Steps to create highly available storage with GlusterFS:
Install and configure GlusterFS server on your preferred Linux hosts.
Prepare a dedicated partition on each server to be used for the volume.
XFS is the recommended filesystem type for GlusterFS, but other filesystems can also be used.
Shared partition can also be used but is not recommended.
Create a storage cluster or peer nodes configuration that will host our GlusterFS volume.
Create a GlusterFS volume on top of the created storage cluster.
Related: How to create GlusterFS volume
Mount GlusterFS volume from remote machines.