Using Consensus For Fault Tolerance