How to remove/delete the cluster set from VM's mongodb

I would like to know how to remove/delete the m103-repl set from VM’s mongodb.

[my issue: I tried to repeat lab #2 from the first step (following lecture’s note). However, before I add node2 and node3, the rs.status() command did show all members of last session. So I want to remove all traces of the last session so I can build a new one]



  1. It is doc for removing members from replica set. I tried it before.
  2. It is doc for resetting replica set. I read it before but never try it by myself.

Q Yang

1 Like