From 68357e4003ef435fa5afb5e44b082d4492bd88b5 Mon Sep 17 00:00:00 2001 From: Dan Roscigno Date: Tue, 16 Jul 2024 12:09:22 -0400 Subject: [PATCH] [Doc] Update data_migration_tool.md en Signed-off-by: Dan Roscigno --- docs/en/administration/data_migration_tool.md | 40 +------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/docs/en/administration/data_migration_tool.md b/docs/en/administration/data_migration_tool.md index 684578cbc845d..5aafdb4416ca1 100644 --- a/docs/en/administration/data_migration_tool.md +++ b/docs/en/administration/data_migration_tool.md @@ -201,45 +201,7 @@ The description of the parameters is as follows: ### Obtain Cluster Token -You can obtain the cluster token either through the HTTP port of the FE or from the metadata of the FE node. - -#### Obtain Cluster Token through the FE HTTP Port - -Run the following command: - -```Bash -curl -v http://:/check -``` - -- `fe_host`: The IP address or FQDN (Fully Qualified Domain Name) of the cluster's FE. -- `fe_http_port`: The HTTP port of the cluster's FE. - -Output: - -```Plain -* About to connect() to xxx.xx.xxx.xx port 8030 (#0) -* Trying xxx.xx.xxx.xx... -* Connected to xxx.xx.xxx.xx (xxx.xx.xxx.xx) port 8030 (#0) -> GET /check HTTP/1.1 -> User-Agent: curl/7.29.0 -> Host: xxx.xx.xxx.xx:8030 -> Accept: */* -> -< HTTP/1.1 200 OK -< content-length: 0 -< cluster_id: yyyyyyyyyyy -< content-type: text/html -< token: wwwwwwww-xxxx-yyyy-zzzz-uuuuuuuuuu -< connection: keep-alive -< -* Connection #0 to host xxx.xx.xxx.xx left intact -``` - -The `token` field represents the token of the current cluster. - -#### Obtain Cluster Token from FE Metadata - -Log in to the server where the FE node is located and run the following command: +The Cluster Token is available in the FE metdata. Log in to the server where the FE node is located and run the following command: ```Bash cat fe/meta/image/VERSION | grep token