add functions for executing commands on failure
use the correct semantics for quorum health check