How to set up a fault tolerant / failover system on Linux

Problem:

You need to make sure that your disks are 100% redundant.

Solution:

A popular way on Linux to do this is DRBD. Here are a couple of guides on how to do it:

https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-squeeze

https://www.learnitguide.net/2016/07/what-is-drbd-how-drbd-works-drbd.html

The one stumbling block you may encouter is that you can’t easily replicate EXT3 and EXT4 so you have to look for an alternate file system. The one to use is OCFS2.

See other knowledgebase articles on a good configurations for DRBD and OCFS2.

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top