Add init script for managing failover state and master/shadow transitions :)