initiate replica set