Skip to content

Commit

Permalink
[Doc] Update data_migration_tool.md en (#48462)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Roscigno <[email protected]>
(cherry picked from commit 2428d03)
  • Loading branch information
DanRoscigno authored and mergify[bot] committed Jul 17, 2024
1 parent 73c86ee commit 0dc9cb5
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions docs/en/administration/data_migration_tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<fe_host>:<fe_http_port>/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
Expand Down

0 comments on commit 0dc9cb5

Please sign in to comment.