The version for DM offline deployment as per the documentation does not exist

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

Original topic: dm离线部署按照文档部署版本不存在

| username: TiDBer_pI9niXvD

[TiDB Usage Environment] Testing
[TiDB Version] 6.5.5
[Reproduction Path] Error occurs when deploying DM offline according to the documentation

tiup mirror clone tidb-dm-v6.5.5-linux-amd64 --os=linux --arch=amd64 \
    --dm-master=v6.5.5 --dm-worker=v6.5.5 --dmctl=v6.5.5 \
    --alertmanager=v0.17.0 --grafana=v4.0.3 --prometheus=v4.0.3 \
    --tiup=v$(tiup --version|grep 'tiup'|awk -F ' ' '{print $1}') --dm=v$(tiup --version|grep 'tiup'|awk -F ' ' '{print $1}')

or changing the version number to v2.0.7 also reports an error
[Encountered Problem: Problem Phenomenon and Impact]

Error reported: Error: no version specified
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]

| username: TiDBer_小阿飞 | Original post link

read ‘tiup mirror clone --help’ and run again

| username: TiDBer_小阿飞 | Original post link

| username: 像风一样的男子 | Original post link

There was no error when executing according to your command

tiup mirror clone tidb-dm-v6.5.5-linux-amd64 --os=linux --arch=amd64 \
    --dm-master=v6.5.5 --dm-worker=v6.5.5 --dmctl=v6.5.5 \
    --alertmanager=v0.17.0 --grafana=v4.0.3 --prometheus=v4.0.3 \
    --tiup=v$(tiup --version|grep 'tiup'|awk -F ' ' '{print $1}') --dm=v$(tiup --version|grep 'tiup'|awk -F ' ' '{print $1}')

| username: Jolyne | Original post link

I followed your instructions and it was successful as well :face_with_raised_eyebrow:

| username: forever | Original post link

Could it be caused by special characters? Try copying from the text.

| username: TiDBer_pI9niXvD | Original post link

No, I assigned your command once, and it still reports an error. :sob:

| username: forever | Original post link

Ping it: tiup-mirrors.pingcap.com to see if the network is accessible?

| username: TiDBer_pI9niXvD | Original post link

It can be pinged. Do I need to install the complete tidbserver? I only installed tiup on my computer according to the offline documentation because the server cannot connect to the external network.

| username: TiDBer_pI9niXvD | Original post link

I want to ask if this is the situation when you ping. Did I make a mistake in address resolution?

| username: TiDBer_pI9niXvD | Original post link

The website looks like this:

| username: dba-kit | Original post link

Download the from this link, and then follow the instructions described here: 使用 TiUP 离线镜像部署 DM 集群 | PingCAP 文档中心. After extracting, directly execute:

sh ./local_install.sh
source /home/tidb/.bash_profile
| username: forever | Original post link

The tiup on the cluster I deployed works, but installing tiup on the new offline machine results in the same error.

| username: dba远航 | Original post link

Using tiup for deployment will save a lot of problems.

| username: andone | Original post link

Use tiup to install it.

| username: 小糊涂萌新 | Original post link

Try using tiup.

| username: system | Original post link

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