The Corosync Cluster Engine and Application Programming Interfaces