Lots of high availability stuff (WIP)