A few weeks ago, I posted a how-to that details what it takes to get OCFS2 and Pacemaker to work together on CentOS 6.x. In this how-to, I want to show you how you can leverage that platform to deploy a scalable and performant NAS filer.
This filer will be integrated with Active Directory for the purposes of authenticating clients and provide three different services:
SMB/CIFS will be provided by Samba (3.6), NFS will be provided by Linux’s native capabilities and for FTP, we will rely on VSFTP.
One other thing of note about this how-to is that the cluster nodes will be using shared storage. If you want to use OCFS2 and Dual Primary DRBD, then check out clusterlabs.com. They have an excellent how-to on it.
Note: I’m assuming that you read my previous how-to and have that you’ve already installed the uek-kernel, pacemaker, ocfs2, corosync, resource-agents the other dependencies in addition to installing dlm_controld.pcmk. If not, you should follow through that document first.