CentOS 8 - Clustered File System
1
vote
1
answer
1181
views
In my environment, I have a need for a shared disk between two application servers such that changes on Server A are immediately available on Server B. Historically, I have solved this issue by sharing a GFS2 volume by using multipathed disks stored on our enterprise filer and attached using our virtualization solution.
This configuration requires fencing of the GFS2 nodes in the cluster and so I have used pacemaker to handle the fencing for GFS2 in the event that a node dies or becomes unhealthy to prevent full corruption of the file system by configuring [stonith](https://en.wikipedia.org/wiki/STONITH) to use [SBD fencing](http://linux-ha.org/wiki/SBD_Fencing) previously.
While gfs2-utils and fence-agents-sbd is available for CentOS, the pcs command is not available as of CentOS 8.0 and it appears that it may [never be available](https://bugs.centos.org/view.php?id=16469) in the main repos. This is problematic as pcs was integral in configuring this in CentOS 7.
This leaves me wondering
- What can I do as an alternate for fencing the volume without having to compile the applicaiton from source (ongoing security updates & bug fixes is a requirement)
- If nothing, what can I use to provide a distributed & redundant storage solution in CentOS 8? An NFS server would be out of the question as a failure to the file server would take both application servers offline.
Asked by James Shewey
(1186 rep)
Nov 18, 2019, 10:18 PM
Last activity: Mar 6, 2020, 08:06 PM
Last activity: Mar 6, 2020, 08:06 PM