Dual-primary DRBD on a Cluster File System using OCFS2 with Encrypted Disk using LUKS

When shared storage is available, every node can potentially be used for failover. Pacemaker can even run multiple copies of services to spread out the workload. In this guide, I’ll be using two Ubuntu-14 instances on Amazon Web Services using free tier account with separate public and private networks and allotted 2 disks on each host, 1 for the system and 1 for our storage. The instances are called node01 and node02 to make things easier to follow.