As promised in one of my previous posts about dual-primary DRBD and OCFS2, I’ve compiled a step-by-step guide for Fedora. These instructions should be somewhat close to what you would use on CentOS or Red Hat Enterprise Linux. However, CentOS and Red Hat don’t provide some of the packages needed, so you will need to use other software repositories like RPMFusion or EPEL. In this guide, I’ll be using two Fedora 14 instances in the Rackspace Cloud with separate public and private networks.
As my uptime reports have shown, and as some of you have reported, my blog’s load time has increased steadily over the past few weeks. It turns out that one of my VM’s was on a physical machine that had some trouble and I was reaching a point where GlusterFS’s replicate functionality couldn’t meet my performance needs. Instead of using GlusterFS as I had before in my redundant cloud hosting guide, I decided to use DRBD in dual-primary mode with OCFS2 as the clustering filesystem on top of it.