Create Sharding Cluster

Last updated: 2020-02-26 09:38:51

PDF

Create a sharded instance

  1. Log in to the Console of TencentDB for MongoDB , and go to the instance list.
  2. Click [Create] to enter Purchase page .
  3. Select [Sharding Cluster] as the instance type, and select the number of shards, the number of nodes in the chip, and the node specifications as needed. Each shard is a multi-node replica set, and the multi-node automatic Disaster recovery ensures the high availability of services.
  4. After confirming that everything is correct, click Buy Now .

Sharding cluster console

In the console, you can view detailed information of the sharding cluster instance, such as the composition of the shard, the specifications of the shard node and occupied capacity, as well as perform operations including instance renewal management and capacity expansion.

Sharding cluster expansion

You can only expand TencentDB for MongoDB sharding cluster by expanding all nodes. Expanding by adding nodes is not supported. Click the Expand Button on the instance list page, select the target capacity you wish to expand to and click Upgrade .

Backup and rollback

The backup of Sharding Cluster instance Rollback is the same as the backup of replica set instance Rollback. Currently, only instance-level backup and Rollback are supported. Click * * more * *-> * * Management * *-> * * backup and Rollback * * on the instance details page.

You need to enter a date to which you want to roll the instance back. You can enter any time point within the past 5 days, but you can only select a time between two backups (successful backup and oplog is not fully occupied). If there is no backup to satisfy this condition, please perform manual backup.

Cluster instance monitoring

Monitoring metrics of three dimensions are provided to monitor data in the entire TencentDB for MongoDB sharding cluster: the instance dimension, the shard dimension and the node dimension. Monitoring data of multiple metrics will be provided, such as operation requests, capacity usage, load, etc.