From 21787f4a53edf6f5b368db7e2ca29580cc15cacf Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 11 Jun 2024 10:39:56 +0800 Subject: [PATCH 1/4] Update deploy-a-dm-cluster-using-tiup.md --- dm/deploy-a-dm-cluster-using-tiup.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dm/deploy-a-dm-cluster-using-tiup.md b/dm/deploy-a-dm-cluster-using-tiup.md index 17413e153ddc7..353255fb8ba2d 100644 --- a/dm/deploy-a-dm-cluster-using-tiup.md +++ b/dm/deploy-a-dm-cluster-using-tiup.md @@ -15,9 +15,11 @@ TiUP supports deploying DM v2.0 or later DM versions. This document introduces h ## Prerequisites -When DM performs a full data replication task, the DM-worker is bound with only one upstream database. The DM-worker first exports the full amount of data locally, and then imports the data into the downstream database. Therefore, the worker's host space must be large enough to store all upstream tables to be exported. The storage path is specified later when you create the task. +- When DM performs a full data replication task, the DM-worker is bound with only one upstream database. The DM-worker first exports the full amount of data locally, and then imports the data into the downstream database. Therefore, the worker's host space must be large enough to store all upstream tables to be exported. The storage path is specified later when you create the task. -In addition, you need to meet the [hardware and software requirements](/dm/dm-hardware-and-software-requirements.md) when deploying a DM cluster. +- You need to meet the [hardware and software requirements](/dm/dm-hardware-and-software-requirements.md) when deploying a DM cluster. + +- Starting from v8.0.0, if you need to [encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password), you must configure [`secret-key-path`](/dm/dm-master-configuration-file.md) for DM-master before using the `dmctl encrypt` command. ## Step 1: Install TiUP on the control machine @@ -229,3 +231,7 @@ If the `Status` is `Up` in the output, the cluster status is normal. dmctl is a command-line tool used to control DM clusters. You are recommended to [use dmctl via TiUP](/dm/maintain-dm-using-tiup.md#dmctl). dmctl supports both the command mode and the interactive mode. For details, see [Maintain DM Clusters Using dmctl](/dm/dmctl-introduction.md#maintain-dm-clusters-using-dmctl). + +## Step 8: Encrypt the database password + +After deployment, you can configure DM tasks to encrypt the database password. For more information, see [Encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password). From d0d9e09ee23b18505790d5ac87d1746e55ccb7c0 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 11 Jun 2024 10:53:01 +0800 Subject: [PATCH 2/4] Update deploy-a-dm-cluster-using-tiup.md --- dm/deploy-a-dm-cluster-using-tiup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/deploy-a-dm-cluster-using-tiup.md b/dm/deploy-a-dm-cluster-using-tiup.md index 353255fb8ba2d..3b810689e7c46 100644 --- a/dm/deploy-a-dm-cluster-using-tiup.md +++ b/dm/deploy-a-dm-cluster-using-tiup.md @@ -232,6 +232,6 @@ dmctl is a command-line tool used to control DM clusters. You are recommended to dmctl supports both the command mode and the interactive mode. For details, see [Maintain DM Clusters Using dmctl](/dm/dmctl-introduction.md#maintain-dm-clusters-using-dmctl). -## Step 8: Encrypt the database password +## Step 9: Encrypt the database password After deployment, you can configure DM tasks to encrypt the database password. For more information, see [Encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password). From a5c6060209008de69a74f151a6c884cf0e60d4f0 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 11 Jun 2024 11:49:45 +0800 Subject: [PATCH 3/4] Update dm/deploy-a-dm-cluster-using-tiup.md Co-authored-by: Frank945946 <108602632+Frank945946@users.noreply.github.com> --- dm/deploy-a-dm-cluster-using-tiup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/deploy-a-dm-cluster-using-tiup.md b/dm/deploy-a-dm-cluster-using-tiup.md index 3b810689e7c46..61048bcae545d 100644 --- a/dm/deploy-a-dm-cluster-using-tiup.md +++ b/dm/deploy-a-dm-cluster-using-tiup.md @@ -19,7 +19,7 @@ TiUP supports deploying DM v2.0 or later DM versions. This document introduces h - You need to meet the [hardware and software requirements](/dm/dm-hardware-and-software-requirements.md) when deploying a DM cluster. -- Starting from v8.0.0, if you need to [encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password), you must configure [`secret-key-path`](/dm/dm-master-configuration-file.md) for DM-master before using the `dmctl encrypt` command. +- Starting from v8.0.0, if you need to [encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password), you must store the key file used for encrypting and decrypting the database password in the DM-master in advance, and configure [`secret-key-path`](/dm/dm-master-configuration-file.md) for DM-master before using the `dmctl encrypt` command. ## Step 1: Install TiUP on the control machine From ce23303046d91d85eacdb59d3b7f8f87b2c535df Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 11 Jun 2024 16:23:56 +0800 Subject: [PATCH 4/4] Update dm/deploy-a-dm-cluster-using-tiup.md Co-authored-by: Grace Cai --- dm/deploy-a-dm-cluster-using-tiup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/deploy-a-dm-cluster-using-tiup.md b/dm/deploy-a-dm-cluster-using-tiup.md index 61048bcae545d..da043ae3a4909 100644 --- a/dm/deploy-a-dm-cluster-using-tiup.md +++ b/dm/deploy-a-dm-cluster-using-tiup.md @@ -19,7 +19,7 @@ TiUP supports deploying DM v2.0 or later DM versions. This document introduces h - You need to meet the [hardware and software requirements](/dm/dm-hardware-and-software-requirements.md) when deploying a DM cluster. -- Starting from v8.0.0, if you need to [encrypt the database password](/dm/dm-manage-source.md#encrypt-the-database-password), you must store the key file used for encrypting and decrypting the database password in the DM-master in advance, and configure [`secret-key-path`](/dm/dm-master-configuration-file.md) for DM-master before using the `dmctl encrypt` command. +- Starting from v8.0.0, if you need to [encrypt database passwords](/dm/dm-manage-source.md#encrypt-the-database-password), you must store [a key file used for encrypting and decrypting database passwords](/dm/dm-customized-secret-key.md) in the DM-master in advance, and configure [`secret-key-path`](/dm/dm-master-configuration-file.md) for DM-master before using the `dmctl encrypt` command. ## Step 1: Install TiUP on the control machine