Adventures in live booting Linux distributions

We’re all familiar with live booting Linux distributions. Almost every Linux distribution under the sun has a method for making live CD’s, writing live USB sticks, or booting live images over the network. The primary use case for some distributions is on a live medium (like KNOPPIX). However, I embarked on an adventure to look at live booting Linux for a different use case. Sure, many live environments are used for demonstrations or installations - temporary activities for a desktop or a laptop.
Read more →

Dual-primary DRBD with OCFS2

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.
Read more →

Keep web servers in sync with DRBD and OCFS2

The guide to redundant cloud hosting that I wrote recently will need some adjustments as I’ve fallen hard for the performance and reliability of DRBD and OCFS2. As a few of my sites were gaining in popularity, I noticed that GlusterFS simply couldn’t keep up. High I/O latency and broken replication threw a wrench into my love affair with GlusterFS and I knew there had to be a better option.
Read more →

Switching from GlusterFS to DRBD and OCFS2

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.
Read more →

GlusterFS on the cheap with Rackspace’s Cloud Servers or Slicehost

NOTE:This post is out of date and is relevant only for GlusterFS 2.x. *High availability is certainly not a new concept, but if there’s one thing that frustrates me with high availability VM setups, it’s storage. If you don’t mind going active-passive, you can set up DRBD, toss your favorite filesystem on it, and you’re all set.If you want to go active-active, or if you want multiple nodes active at the same time, you need to use a clustered filesystem like GFS2, OCFS2 or Lustre.
Read more →