Help Center/ GaussDB/ User Guide/ Instance Modifications/ Changing the Deployment Model/ Changing Standby DNs to Log Nodes (for a Distributed Instance)
Updated on 2025-01-09 GMT+08:00

Changing Standby DNs to Log Nodes (for a Distributed Instance)

Scenarios

Each shard of a distributed GaussDB instance consists of one primary DN and two standby DNs. However, this architecture may not meet your application requirements. GaussDB provides the flexibility to convert one standby DN in each shard into a log node.

Precautions

  • This function is only available for distributed instances of V2.0-3.200.0 or later that have one primary DN and two standby DNs in each shard.
  • PITR backup is suspended during the process of changing standby DNs to log nodes and automatically resumes after the operation is complete.
  • After standby DNs are changed to log nodes, a full backup is automatically performed.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the name of the target instance to go to the Basic Information page.
  5. In the Node List area, click Change to Log Nodes.

    Figure 1 Changing the deployment model to 1 primary + 1 standby + 1 log

  6. In the Change Standby Data Nodes to Log Nodes dialog box, select an AZ and click OK.
  7. Check the change result.

    After the task is submitted, click Back to DB Instance List. On the Instances page, the instance status is Changing to log node. After the task is complete, go to the Basic Information page of the instance and check that the deployment model is changed to 1 primary + 1 standby + 1 log.