A three node cluster? See the pacemaker cluster for many distros.
http://clusterlabs.org/
It's all there and it works. You need enterprise-ish hardware for a proper quorum. I've used iscsi and disk images in a dev environment, but it's not ideal.
CentOS uses some other cluster stack. I've used both and IMHO, pacemaker is more powerful.