tencent cloud

masukan

Read-Write Address Management

Terakhir diperbarui:2024-05-14 14:20:35
    After creating a TencentDB for MySQL Cluster Edition instance, you can change its read-write 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-write 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 the Valid Hours of Old IP is set to 0 hour, the old IP is possessed 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-Write Node

    To change the network of a Cluster Edition instance's read-write 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. After going to Instance Details > Instance Info > Network, select Change Network.
    
    Note:
    You can also select Change Network on the right side of Instance Details > Instance Architecture Diagram > Read-Write 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-write node.
    Note:
    If the Valid Hours of Old IP is set to 0 hour, the old IP address will be immediately possessed after the network is changed.
    If the Valid Hours of Old IP is set to non-0 hour, the old IP address will be possessed after the set time when the network is changed. To release the old IP address earlier, you can go to the Instance Details page > Private Network Address, click the Retained Address, and then Release Now the target address operation.
    
    

    Modifying Private Network Address or Port Number of Read-Write Node

    Modifying only the private network address of the read-write node means only changing the IP of the read-write 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 > Private Network Address, click the Edit Icon.
    
    Note:
    You can also click the Edit Icon after going to Private Network Address below Instance Details > Instance Architecture Diagram > Read-Write Address.
    3. In the pop-up, modify the private network address or port number according to actual needs, then click OK.
    
    
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24