Don't looks like you have much of experience with what's you're talking about - there is no such thing as heartbeatd, it's called keepalived (or pacemaker if you prefer unnecessary complex solutions), any ops person can't even misspell that.
I'm new at Linux and system administration. I'm using Linux just for 20 years and managing systems for 13 years.