tencent cloud

Feedback

Adding Mongos Node

Last updated: 2024-04-02 15:13:12

    Overview

    You can add more mongos nodes to increase the maximum number of connections to the database instance.

    Version requirements

    Currently, sharded cluster instances on v4.0, v4.2 and v4.4 support adding mongos nodes.

    Instructions

    After you add a mongos node, the system will automatically bind an IP address to it and enable the connection string for mongos access. Then, you can directly copy the connection string in the Network section on the Instance Details page.

    Prerequisites

    Instance type: Sharded cluster instance.
    Instance status: Running.
    The CPU performance and memory capacity of the mongos nodes are insufficient and need to be upgraded.

    Directions

    2. In the MongoDB drop-down list on the left sidebar, select Sharded Cluster Instance.
    3. Above the Instance List on the right, select the region.
    4. In the Instance List, find the target instance.
    5. Click the Instance ID to enter the Instance Details page and click the Node Management tab.
    6. On the Node Management tab, click the Mongos Node tab.
    7. On the Mongos Node tab, click Add Mongos Node
    The instance nodes are in the same AZ:
    
    The instance nodes are in different AZs:
    
    Parameter
    Description
    Instance ID/Name
    The unique ID and name of the instance.
    AZ
    The AZ where the instance resides. This parameter will be displayed if the instance nodes are in the same AZ.
    Mongos Quantity
    The current number of mongos nodes configured for the instance. This parameter will be displayed if the instance nodes are in the same AZ.
    Mongos Specs
    Specification of mongos nodes, including the number of CPU cores, memory, and maximum number of connections.
    Add Mongos Node
    Select the number of mongos nodes to be added. An instance can have up to 48 mongos nodes.
    Total Fees
    Fees after specification adjustment.
    In pay-as-you-go billing mode, fees are charged hourly by the new specification in three billing tiers.
    Compare
    You can compare the specification, number of nodes in the AZ, and maximum numbers of connections before and after mongos nodes are added to assess whether the new specification meets your needs.
    8. After confirming that everything is correct, click OK.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support