Add db-master relation configuration.