Updated on 2023-11-21 GMT+08:00

Deleting Nodes

Scenarios

You can delete nodes that are no longer used to release resources.

Precautions

  • GeminiDB Mongo allows you to delete nodes only from 4.0 replica set instances. The role of each node to be deleted is Readonly.
  • Nodes cannot be deleted from yearly/monthly DB instances.
  • Deleted nodes cannot be recovered. Exercise caution when performing this operation.
  • If you enable operation protection to improve the security of your account and cloud products, two-factor authentication is required for sensitive operations. For details about how to enable operation protection, see Identity and Access Management User Guide.

Procedure

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, click the target DB instance.
  4. In the Node Information area on the Basic Information page, locate the target node and click Delete.

    Figure 1 Node information

  5. If you have enabled operation protection, click Start Verification in the Delete Node dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify. The page is closed automatically.
  6. In the displayed dialog box, click Yes.

    • The status of the DB instance in the instance list is Deleting node.
    • After the deletion, the DB instance status becomes Available.