Question One
Shard configuration is completely correct, the MONGOs service can start normally, the choice of tablet keys is also reasonable (previously tested locally), but the data is always concentrated on a shard?
The final resolution procedure, after using MONGO login on a shard server, prompts the following error:
650) this.width=650; "Title=" 94ns[$ (9%5hvt0zck0ib%9f.jpg "alt=" wkiol1q0_cjti5igaaev51t-qui127.jpg "src="/HTTP/ S3.51cto.com/wyfs02/m02/4b/e8/wkiol1q0_cjti5igaaev51t-qui127.jpg "/>
Follow the prompts to change the kernel parameters to 0 and execute the following command:
echo 0 >/proc/sys/vm/zone_reclaim_mode
Then the service mongod Restart restarts the Mongod services, when the data is automatically balanced into each shard, 650) this.width=650; "title=" 1.png "src=" http://s3.51cto.com/ Wyfs02/m01/4b/e6/wkiom1q0_yvwvuglaalphy6g8bi419.jpg "alt=" Wkiom1q0_yvwvuglaalphy6g8bi419.jpg "/>
A collection of issues encountered in MongoDB shards