To configure a replica set with only one node, run the following:
rs.reconfig({_id: "mongo",version: 1,members: [{ _id: 0, host : "HOSTNAME:27017" }]},{force:true})
To configure a replica set with only one node, run the following:
rs.reconfig({_id: "mongo",version: 1,members: [{ _id: 0, host : "HOSTNAME:27017" }]},{force:true})