Upgrading an RO Group
Note:
If an RO group in the same region as the primary instance is not in Proxy pure network mode, you can upgrade it to Proxy pure network mode by performing the following operations.
The private network address of the upgraded RO group remains the same as before the upgrade.
1. Log in to the TencentDB for MySQL console, select a region at the top, and then click the target instance ID to go to the instance management page. 2. On the instance management page, select Read-Only Instance.
3. Locate the target RO group in the read-only instance list, and then click Upgrade after its RO Group ID.
4. In the pop-up window, verify the comparison between the pre-upgrade and post-upgrade states, and then click OK.
Note:
Upgrade is not supported when a public network address is enabled for an RO group. If you need to disable it, you can do so after the RO group's public network address.
5. After the upgrade is completed, a private network address for database proxies in pure network mode is automatically added under Connection Address on the Database Proxy page.
6. The original RO Group ID is updated to ProxyAddrID.
Creating a Read-Only Instance and Assigning It to Proxy-Only Network Mode
Note:
If an RO group under the primary instance already has the Proxy pure network mode type, you can create a read-only instance and assign it to the Proxy pure network mode by performing the following operations.
1. Log in to the TencentDB for MySQL console, select a region at the top, and then click the target instance ID to go to the instance management page. 2. On the instance management page, select Read-Only Instance.
3. Click Create to go to the read-only instance creation page.
Note:
You can also locate the target RO group on the Read-Only Instance page, click Add Read-only Node on its right side, and then go to the read-only instance creation page.
4. After Type Configuration > Type, click Proxy network mode, specify the Proxy pure network address, and then click Buy Now after completing other configurations.
Note:
You can select the same AZ as the primary instance or a different AZ.
5. The system automatically assigns the read weight for this read-only instance. After creation, configure the read weight allocation method in the RO group settings.
Configure read weight distribution
Disabling Network Forwarding
Enabling Network Forwarding
1. Log in to the TencentDB for MySQL console, select a region at the top, and then click the target instance ID to go to the instance management page. 2. On the instance management page, choose Database Proxy > Access Policy, locate the target access policy, and click Settings.
Note:
You can also find the target access address under Database Proxy > Overview > Connection Address, and click Adjusting Configurations in the Operation column.
3. On the Adjust Configurations page, enable network forwarding when the read/write attribute is read-only.
4. Under Assign Read Weight, set the allocation method, enable the required read-only instances, and click OK. For other settings on the configuration page, see Viewing and Modifying Access Policies. Disabling Network Forwarding
1. Log in to the TencentDB for MySQL console, select a region at the top, and then click the target instance ID to go to the instance management page. 2. On the instance management page, choose Database Proxy > Access Policy, locate the target access policy, and click Settings.
Note:
You can also find the target access address under Database Proxy > Overview > Connection Address, and click Adjusting Configurations in the Operation column.
3. On the Adjust Configurations page, disable the network forwarding button and click OK.