Create mongoDB cluster

I finished the excellent NoSQL Distilled book yesterday and today I tried to start few mongo sessions and configure them as a cluster. This turned out to be a bit tedious, so I wrote a very rough script for it. It’s two main features are that it spuns few instances of mongo and joins them in cluster. And it also wraps the instances in PowerShell process that puts all the output in window title, which enables you to quickly see what runs where and what’s happening.