Offline Deployment of TiDB: Error Prompt for tikv-cdc and tidb-dashboard Downloads

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 离线部署tidb,提示tikv-cdc、tidb-dashboard下载error

| username: linnana

[TiDB Usage Environment] Testing/PoC
[TiDB Version] v6.5.2
[Reproduction Path] What operations were performed to encounter the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Navigate to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
I downloaded the offline packages tidb-community-server-v6.5.2-linux-amd64.tar.gz and tidb-community-toolkit-v6.5.2-linux-amd64.tar.gz, and deployed them according to the manual on 3 servers.
Cluster configuration file:

When executing the deployment command tiup cluster deploy tidb-test v6.5.2 ./h_topology.yaml --user root, an error occurred:

| username: Billmay表妹 | Original post link

What are the configurations of your 3 servers? Which version of tiup are you using, and have you upgraded to the latest version?

| username: linnana | Original post link

The configuration is relatively low, using 3 virtual machines for testing, with 5GB of memory.

| username: Billmay表妹 | Original post link

Insufficient resources

| username: linnana | Original post link

Oh, the test environment machine has low configuration. Removing those two error components allows for a successful deployment.

| username: weixiaobing | Original post link

It may not be an issue with the machine configuration; it could be that your two installation packages did not merge successfully. You can check if the components tikv-cdc and tidb-dashboard are present in the tidb-community-server-v6.5.2-linux-amd64 package.

| username: zhanggame1 | Original post link

There may be no error components in the installation package.

| username: linnana | Original post link

The image is not visible. Please provide the text you need translated.

| username: linnana | Original post link

There is a CDC component, but there is no TiDB-Dashboard component package.

| username: linnana | Original post link

Yesterday, after changing the configuration item kvcdc_server to cdc_server, the cdc component was successfully installed; however, the tidb_dashboard component still failed.

| username: zhanggame1 | Original post link

According to the official documentation, extract the two compressed files, merge them, and then run the merge process again.

| username: 我是咖啡哥 | Original post link

I checked my environment, and there is no separate dashboard package in V6.5.1. There is one in V7.1.

[tidb@centos soft]$ ls -lth tidb-community-server-v6.5.1-linux-amd64/*dash*
ls: cannot access tidb-community-server-v6.5.1-linux-amd64/*dash*: No such file or directory
[tidb@centos soft]$ ls -lth tidb-community-server-v7.1.0-linux-amd64/*dash*
-rw-r--r-- 1 tidb tidb 2.7K May 31 15:17 tidb-community-server-v7.1.0-linux-amd64/24.tidb-dashboard.json
-rw-r--r-- 1 tidb tidb  34M May 31 15:16 tidb-community-server-v7.1.0-linux-amd64/tidb-dashboard-v7.1.0-linux-amd64.tar.gz

tidb_dashboard_servers is separately extracted in the new version, right? Previously, it didn’t need to be configured separately and would be installed automatically.

| username: linnana | Original post link

Tried merging these two offline packages multiple times in v6.5.2, but there was no dashboard component. However, the configuration file generated using the command tiup cluster template --full > topology.yaml contains the tidb_dashboard_servers configuration item. Finally, I removed this item and then installed it.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.