NFS High Availability on RHEL 9 with DRBD Reactor: A How-To Technical Guide

The Deploying an HA NFS Cluster with DRBD and DRBD Reactor on RHEL 9 or AlmaLinux 9 how-to technical guide gives instructions for setting up and configuring a high-availability (HA) NFS 3-node cluster, by using DRBD® and DRBD Reactor.

This popular guide walks you through how to set up this HA cluster by using open source software and even gives you instructions for configuring multiple HA NFS exported file systems.

DRBD Reactor is open source software, developed by LINBIT®, that reacts and responds to DRBD events. One of its primary uses is as a cluster resource manager (CRM) that is simpler to configure and implement than a Pacemaker and Corosync solution. You can even use Open Cluster Framework (OCF) resource agents in your configurations, just as you might when configuring a Pacemaker cluster.

After following the instructions in the guide, you will have multiple HA NFS exported file systems on a LAN. If one of the cluster nodes fails, DRBD Reactor will fail over the NFS exports to another node. A failover event will not stop access to the NFS exports, even if the client is in the middle of a read or write operation to an NFS exported file system. Because of DRBD data replication, a node that takes over after a failover will have a perfect, up-to-date copy of the data on the NFS exports. You and your users will not miss a beat. You can even verify this by failing over while playing an audio file that might be hosted on one of the HA NFS exports.

The guide also shows you how to use an OCF resource agent to configure a virtual IP (VIP) address so that no matter which node in your cluster is running services and hosting your NFS exports, you can reach your exports from a single IP address.

You can download the guide for free here. You can find DRBD Reactor source code at its GitHub project page. You can learn more about DRBD Reactor by reading its dedicated chapter in the DRBD User’s Guide.


Changelog

2023-02-01:

  • Originally published announcement post.

2024-07-19:

  • Added that software used is open source.
  • Mentioned that updated technical guide gives instructions for configuring multiple HA NFS exported file systems.
  • Added mention of VIP address.
  • Made minor language touch-ups.
Michael Troutman

Michael Troutman

Michael Troutman has an extensive background working in systems administration, networking, and technical support, and has worked with Linux since the early 2000s. Michael's interest in writing goes back to an avid reading filled childhood. Somewhere he still has the rejection letter from a publisher for a choose-your-own-adventure style novella, set in the world of a then popular science fiction role-playing game, cowritten with his grandmother (a romance novelist and travel writer) when at the tender age of 10. In the spirit of the open source community in which LINBIT thrives, Michael works as a Documentation Specialist to help LINBIT document its software and its many uses so that it may be widely understood and used.

Talk to us

LINBIT is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please tick above to say how you would like us to contact you.

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy.

By clicking submit below, you consent to allow LINBIT to store and process the personal information submitted above to provide you the content requested.

Talk to us

LINBIT is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please tick above to say how you would like us to contact you.

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy.

By clicking submit below, you consent to allow LINBIT to store and process the personal information submitted above to provide you the content requested.