Changing the Read/Write Splitting Address

Scenarios

After read/write splitting is enabled, you can change the read/write splitting address.

Precautions

Changing the read/write splitting address will interrupt database connections and services. Therefore, change the read/write splitting address during off-peak hours or when services are stopped.

Constraints

The new IP address is not in use and must be in the same subnet as the GaussDB(for MySQL) instance.

Procedure

You can change the read/write splitting address for instances with read/write splitting enabled.

  1. Log in to the console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Under Database, click GaussDB. In the navigation pane on the left, click 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, click Database Proxy.

    Click the desired proxy instance name. In the DB Instance Information area, click Change next to the Read/Write Splitting Address field.

  6. In the displayed dialog box, enter a new IP address and click OK.

    In-use IP addresses cannot be used.