Assistance setting up replica set / oplog (replset)


#1

I am currently in development, but I’m using a separate Ubuntu server running mongodb, and running meteor locally on my workstation.

I’ve noticed the few second delay on the app when I edit the mongo db directly (not through the meteor app) and have determined by reading various posts and books that I need to enable replset on the mongodb. There are many resources on doing this, and it gets complicated for someone who is not a mongo administrator…

So, what I need now I guess is the best, simplest tutorial on how to configure my current ubuntu mongodb instance to have what it needs to enable my app to take advantage of the oplog tailing. I don’t think I need to set up 2 more servers each running their own instances at this point.

Here are some resources I’ve found so far:

http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/

http://www.manuel-schoebel.com/blog/meteorjs-and-mongodb-replica-set-for-oplog-tailing

https://gentlenode.com/journal/meteor-10-set-up-oplog-tailing-on-ubuntu/17