Build a high-availability MongoDB cluster-shard-good

Source: Internet
Author: User
Building a high-availability MongoDB cluster (quad): sharding

http://blog.jobbole.com/72643/

Mongodb Replica sets replica set architecture combat (erection, expansion, disaster recovery, repair, client code connection)

http://snoopyxdy.blog.163.com/blog/static/60117440201241694254441/

About MongoDB's shard cluster dynamically adding shards

I set up a shard cluster on the machine, which contains four shards, each of which is a replica set that can be routed to each shard when the program accesses it.
But today I added a shard dynamically when the cluster was running. There is no data routed to the newly added shards during the test, and my add process is this:
1, open a new replica set
2, run the Addshard command on an instance of MONGOs
As follows:

~~~~~~~~~~~~~~~~~~~~~~~~~ saw data on the new shards this morning. I test yesterday there is no data ~, I would like to ask you whether it is necessary for the Shard to take time. Or how to set it. Thank

Build a high-availability MongoDB cluster-shard-good

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.