Introduction

We use vserver for the virtual machines, DBRD for the replication between the nodes, and Heartbeat for controlling which node is primary and which is secondary.

These instructions assume you already know how to install and run vservers. We'll just cover setting up DRBD and Heartbeat.

We run Debian Stable on AMD64 machines as our hosts. So all the software will be installed through 'apt-get' for that architecture. If you're running something else, obviously, you'll need to adjust how to you install the software. But the configuration should be the same.