allows configuration of a replica set