This repository has been archived by the owner on Apr 29, 2022. It is now read-only.
forked from tmountain/Mongo-Sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
colekowalski/Mongo-Sandbox
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A quick and dirty hack to get replica sets and sharding going painlessly. To set things up, just run ./start.sh after setting a data source in fetch_mongo.sh. Once the script is complete, you should have the following running: Mongos 1 (Port 27017) Mongod 1 (Port 30000) <- Primary Mongod 2 (Port 30001) <- Secondary Arbiter 1 (Port 40000) Config 1 (Port 50000) Config 2 (Port 50001) Config 3 (Port 50002) Data and logs are stored in /tmp/mongo_sandbox. Running ./reset.sh shuts everything down and removes /tmp/mongo_sandbox. Don't run this alongside a standard mongo install as it does a killall mongod to shut things down.
About
A quick and dirty replica set / sharding hack
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Shell 100.0%