1

When upgrading any software it's usually a good idea to check the manual first, and read something like this: To upgrade an existing MongoDB deployment to 3.6, you must be running a 3.4-series release. To upgrade from a version earlier than the 3.4-series, you must successively upgrade major releases until you have upgraded to 3.4-series. For example, if ...


1

To split you can use something like this... sh.stopBalancer(); var c=0; db.chunks.find({ns:"database.collection", "shard" : "S0RS0"}).sort({$natural:1}).limit(1400).forEach(function(d) {   printjson(d.min);printjson(d.max);   var tulos=db.adminCommand( { split: d.ns, bounds: [ d.min, d.max ] } );   if (tulos.ok < 1) {     print("Split ERROR");     ...


1

Logged into mongodb, to the admin database, with a user who has the following roles: clusterMonitor, readAnyDatabase, userAdminAnyDatabase ... not authorized on admin to execute command { replSetInitiate: undefined, $db: \“admin\” }“ This error is expected since clusterMonitor is a read-only role. To initialise or update replica set configurations when ...


1

There is a documentation section for Analyzing Performance, another for Monitoring, and one specifically for free monitoring. You can also run the command db.serverStatus() to retrieve server statistics.


1

I've discovered MongoShake (https://github.com/alibaba/MongoShake) which is an open source Golang application which does cluster to cluster replication and has been made by Alibaba. The documentation is focused on its internal work/behaviour, and can be discouraging but you have to look at the example configuration file instead which describe each ...


Only top voted, non community-wiki answers of a minimum length are eligible