1

Setting up mongodb via upstart - how to pass options?

view story
linux-howto

http://serverfault.com – I installed MongoDB in an Ubuntu Server VM inside VMware using these instructions: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. Everything works fine, and I can access MongoDB at the regular port 27017 ./mongo 172.16.150.131:27017 Now, I want to make a dummy replica set and another db instance for testing my app. I'm used to doing the following commands in four separate terminals on my local computer: ./mongod --port 27027 --dbpath ~/mongodb/solo ./mongod --port 27028 --dbpath ~/mongodb/rs0-0 --replSet rs0 ./mongod --port 27029 --dbpath ~/mongodb/rs0-1 --replSet rs0 (HowTos)