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 to use 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 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.