After creating a TencentDB for MySQL Cluster Edition instance, you can change its read-only node's network and modify private network address. This document describes how to change the network and modify private network address or port number of a Cluster Edition instance's read-only node through the console.
Prerequisites
For instances of the TencentDB for MySQL Cluster Edition, see Purchase Methods for creation. The instance is running.
Notes
When the network is changed, the IP of the instance will be replaced with a new one. The old one will become invalid 24 hours following the change by default. Please modify the client program accordingly in time.
If Valid Hours of Old IP is set to 0 hour, the IP is released immediately after the network is changed.
You can only select a VPC and subnet in the same region as the instance.
Modifying the private network address will affect the database service being accessed. Please modify the client program accordingly in time.
Changing Network of Read-Only Node
To change the network of a Cluster Edition instance's read-only nodes, you can select a network in other regions. After the network is changed, the old IP will become invalid. The application systems/clients need to bind to the new network IP.
1. Log in to the MySQL Console. In the instance list, click Instance ID or Manage in the Operation column to enter the Instance Details page. 2. You can also select Change Network on the right side of Instance Details > Instance Architecture Diagram > Read-Only Address.
3. In the Change Network pop-up, change the network, set Valid Hours of Old IP (24 hours by default), select the new IP assignment method, and click OK.
Select the new IP assignment method:
Auto-Assign IP: The system automatically assigns an IP from the selected network.
Specify IP: Custom the IP.
4. When it is returned to the instance details page, you can view the new network of the read-only node.
Note:
If the old IP address valid hours setting is 0 hour, the old IP address will be immediately released after the network is changed.
If the old IP address valid hours setting is not 0 hour, the old IP address will be released after the set time when the network is changed. To release the old IP address earlier, you can go to the Instance Details page > Instance Architecture Diagram > Read-Only Address > Private Network Address, click the Reserved Address, and then operate to release the target address immediately.
Modifying Private Network Address or Port Number of Read-Only Node
Modifying only the private network address of the read-only node means only changing the IP of the read-only node's private network under the current region and network. Modifying the private network address will affect the database service being accessed.
1. Log in to the MySQL Console. In the instance list, click Instance ID or Manage in the Operation column to enter the Instance Details page. 2. After going to Instance Details > Instance Architecture Diagram > Read-Only Address > Private Network Address, click the Edit Icon.
3. In the pop-up, modify the private network address or port number according to actual needs, then click OK.
Was this page helpful?