Updated on 2024-09-06 GMT+08:00

Enabling Automatic Association of New Nodes to a Proxy Instance

After Associate New Nodes is enabled, new read replicas will be automatically associated to the current proxy instance.

This section describes how to enable or disable Associate New Nodes for an existing proxy instance. To enable this function during the proxy instance creation, see How to Use a Proxy Instance to Enable Read/Write Splitting.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Database Proxy and click the name of a proxy instance to go to the Basic Information page.
  6. In the Proxy Instance Information area, click next to Associate New Nodes.

    Figure 1 Going to the basic information page

  7. In the displayed dialog box, enable Associated New Nodes.

    Figure 2 Enabling automatic association of new nodes to a proxy instance

    When the routing policy is weighted, you need to configure weights for the new nodes as required. The default read weight of any new node is 100. Nodes with higher weights process more read requests.

  8. Click OK.

    To disable the function, click .