Tiup cluster list

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

Original topic: tiup cluster list

| username: Aree-jkz

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 5.4.1
[Reproduction Path] What operations were performed that caused the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Enter TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
Stopped the internet, executed tiup and encountered an error

tiup cluster list

tiup is checking updates for component cluster …timeout(2s)!
Error: fetch /timestamp.json from mirror(https://tiup-mirrors.pingcap.com) failed: download from https://tiup-mirrors.pingcap.com/timestamp.json failed: Get “https://tiup-mirrors.pingcap.com/timestamp.json”: dial tcp 180.97.252.42:443: connect: connection refused

tiup --version

1.12.1 tiup
Go Version: go1.19.8
Git Ref: v1.12.1

| username: Billmay表妹 | Original post link

So your question is whether TiUP can be deployed offline?

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

Try running curl https://tiup-mirrors.pingcap.com/timestamp.json on the server to see if there is any result.

| username: Aree-jkz | Original post link

Previously, the TiUP deployment was working fine, but now the internet is disabled.

| username: Aree-jkz | Original post link

If the internet is restricted, can tiup updates be disabled?

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

Without the internet, tiup can only be updated offline. Check this link:

| username: Amy_Jing | Original post link

A network connection is required because executing this command needs to retrieve information and metadata about the TiDB cluster from a remote repository.

| username: Aree-jkz | Original post link

tiup1.11.1 This version prohibits internet access, but tiup cluster list can be used normally.

| username: tidb菜鸟一只 | Original post link

Setting the local mirror address in tiup mirror should also work.

| username: TiDBer_小阿飞 | Original post link

Download the offline package, copy it in, go to the directory and execute ./tiup cluster, then execute tiup cluster list

| username: Fly-bird | Original post link

Download the offline toolkit for use.

| username: 普罗米修斯 | Original post link

Download the offline package and follow the steps to execute it.

| username: zhanggame1 | Original post link

For online deployment, you need to be connected to the internet. You can download the installation package and then use tiup mirror to switch to a local mirror.

| username: xingzhenxiang | Original post link

Just open the network and it will be fine, restrict the network source to only allow access to the pincap address.

| username: system | Original post link

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