All Products
Search
Document Center

PolarDB:Create and manage a GDN

Last Updated:Aug 02, 2024

This topic describes how to create and manage a global database network (GDN).

Create a GDN

  1. Log on to the PolarDB for Xscale console.

  2. In the top navigation bar, select the region where the target instance is located.

  3. On the Instances page, click the PolarDB-X 2.0 tab.

  4. Find the target instance and click its ID.

  5. On the Basic Information page of the instance, click Create GDN.

    image.png

  1. In the Create GDN dialog box, configure the parameters. The following table describes the parameters.

    Parameter

    Description

    Name

    The name of the GDN. We recommend that you specify an easily identifiable name for the GDN. The name does not need to be unique.

    Region

    The region in which the primary instance resides.

    Note

    First determine the primary instance that you want to use for the GDN. Then, select the region in which the primary instance resides.

    Primary Instance

    Select an existing instance as the primary instance.

  2. Click OK.

Manage a GDN

  1. Log on to the PolarDB for Xscale console.

  2. In the left-side navigation pane, click GDN to go to the GDN list page. Find the GDN that you want to manage, and click the name or ID of the GDN. Then, manage the GDN.

Add a secondary instance

  1. Log on to the PolarDB for Xscale console.

  2. In the left-side navigation pane, click GDN to go to the GDN List page.

  3. Find the GDN that you want to manage and click the ID or name of the GDN.

  4. On the information page of the GDN, click Add Secondary Instance in the upper-right corner of the Instances section.

    image

  5. In the Add Secondary Instance dialog box, set the secondary instance purchase method to Subscription or Pay-As-You-Go.

    Note
    • You cannot add an existing instance as a secondary instance in a GDN.

    • If you select the subscription billing method, you are charged for the resource usage of your PolarDB-X instance when you purchase the instance. This billing method is suitable for long-term usage because subscription PolarDB-X instances are more cost-effective than pay-as-you-go PolarDB-X instances.

    • If you select the pay-as-you-go billing method, you are charged for the resource usage of your PolarDB-X instance on an hourly basis. This billing method is suitable for short-term usage. If you no longer require specific pay-as-you-go instances, you can release the instances to reduce costs.

    image

  6. On the instance purchase page, configure the parameters. The following table describes some of the parameters. For parameters that are not described in the following table, see Create a PolarDB-X instance.

    Parameter

    Description

    Backup Set Region

    The region where the backup set of the secondary instance resides.

    GDN

    The value is fixed to Secondary Instance. You do not need to configure this parameter.

    Region

    The region in which you want to deploy the secondary instance.

    Note

    Database Engine

    The database engine of the secondary instance, which must be the same as that of the primary instance.

  7. Click Buy Now.

  8. Return to the information page of the GDN. Click The instance is added. Refresh the page or refresh the page. Then, you can see the newly added secondary instance.