...
Then run the following commands, to initiate a MongoDB Replica Set for streaming database changes.
Note:- On Poller and Mirror, if Mongo has automatically initiated and you see ‘rs0 [direct: primary] admin>’ at the Mongo shell prompt, you can skip the steps below and exit from Mongo Shell.
| Code Block |
|---|
rs.initiate() exit |
...