config for master-slave databases