Wip standby mds

It's not a pattern exactly, but it's standard python if that's what you mean :-)