This conditionalizes the heartbeat checks and adds corosync/pacemaker checks. Change-Id: I379716f2eb6d87a04de345f1645be16e48f8d142