Learn how to add a mongos node to an ApsaraDB for MongoDB sharded cluster instance.
Usage notes
The minor version of a new mongos node depends on the storage type of the instance:
Local disk-based sharded cluster: The new mongos node uses the latest minor version of the ConfigServer and shard nodes.
Cloud disk-based sharded cluster: The new mongos node uses the same version as the existing mongos nodes.
NoteAdding a mongos node does not trigger a minor version upgrade of the instance.
-
Adding a mongos node does not cause service interruptions.
-
Typically, adding mongos nodes takes about 5 minutes, regardless of how many you add.
Billing
For more information, see Configuration change fees.
Procedure
-
Go to the MongoDB sharded cluster instances page. In the top navigation bar, select a resource group and a region, and then click the ID of the target instance.
-
In the Mongos List section, click Add Mongos in the upper-right corner.
-
In the Add Mongos panel, configure the following parameters.
Parameter
Description
Category
Select a category.
Note-
This parameter is available only for an instance that uses cloud disks.
-
You cannot select a category if it is not supported in the current zone.
-
For information about the categories and specifications of sharded cluster instances, see Sharded cluster instance specifications.
Instance Specifications
Select the specifications.
Quantity
Select the number of mongos nodes to add.
NoteBy default, a sharded cluster instance supports a maximum of 32 mongos nodes. For example, if your instance already has 3 mongos nodes, you can add up to 29 more.
-
-
Complete the purchase based on the billing method.
-
Pay: Click Pay Now. The fee is automatically deducted within the next hour.
-
Pay: Click Pay Now. The fee is deducted immediately.
During the addition process, the instance status is Adding Node and changes to Running upon completion.
-
Related APIs
|
API |
Description |
|
Adds a shard or mongos node to an ApsaraDB for MongoDB sharded cluster instance. |