I suggest haproxy it will probably be easier than heartbeat with ldirectord. With heartbeat and ldirectord I use direct routing rather than masquerade, as it's faster, just a little more effort to set it up. So if you want something simpler for the beginning, use haproxy as it's pretty straightforward.