Console utility for aligning the size of stored data between shards of the MongoDB cluster.
.NET Core tool - ShardEqualizer nuget package. You can install it as a global or local dotnet tool:
dotnet tool install -g ShardEqualizer --version 1.0.0-beta2or local dotnet tool:
dotnet new tool-manifest
dotnet tool install ShardEqualizer --version 1.0.0-beta2To display a list of commands, run
dotnet ShardEqualizer --helpTo display a list of command options, run
dotnet ShardEqualizer [command] --helphere [command] is the name of the command
Run command config-init to create standard configuration files for your sharded MongoDB cluster.
dotnet ShardEqualizer config-init --config=myCluster.xml --hosts=localhostdotnet ShardEqualizer presplit --config=myCluster.xmldotnet ShardEqualizer balancer --config=myCluster.xmldotnet ShardEqualizer deviation --config=myCluster.xmldotnet ShardEqualizer equalize --config=myCluster.xml