replicaSet = new ReplSetTest( {"nodes" : 3} ) replicaSet.startSet() replicaSet.initiate()