Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Update data_migration_tool.md en #48462

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading