为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
【概述】场景+问题概述
生产环境三个tidb服务,两个无法启动,日志中没有错误,目前只有一个服务承担服务
三个PD,有一个down了
是否可以升级无法启动的tidb、pd服务?
tiup cluster patch test-cluster /tmp/tidb-hotfix.tar.gz -N 172.16.4.5:4000
若可以单独升级,建议升级到哪个版本?
【背景】做过哪些操作
【现象】业务和数据库现象
【业务影响】
【TiDB 版本】
V4.0.0
【附件】
- 相关日志 和 监控
-
TiUP Cluster Display 信息[tidb@crm30 ~]$ tiup cluster display test-cluster
Found cluster newer version:The latest version: v1.5.6
Local installed version: v1.3.6
Update current component: tiup update cluster
Update all components: tiup update --all
Starting component cluster
: /home/tidb/.tiup/components/cluster/v1.3.6/tiup-cluster display test-cluster
Cluster type: tidb
Cluster name: test-cluster
Cluster version: v4.0.0
SSH type: builtin
Dashboard URL: http://192.168.0.244:2379/dashboard
ID Role Host Ports OS/Arch Status Data Dir Deploy Dir
192.168.0.244:9093 alertmanager 192.168.0.244 9093/9094 linux/x86_64 Up /home/tidb/deploy/data.alertmanager /home/tidb/deploy
192.168.0.244:3000 grafana 192.168.0.244 3000 linux/x86_64 Up - /home/tidb/deploy
192.168.0.244:2379 pd 192.168.0.244 2379/2380 linux/x86_64 Up|L|UI /home/tidb/deploy/data.pd /home/tidb/deploy
192.168.0.247:2379 pd 192.168.0.247 2379/2380 linux/x86_64 Up /home/tidb/deploy/data.pd /home/tidb/deploy
192.168.0.248:2379 pd 192.168.0.248 2379/2380 linux/x86_64 Down /home/tidb/deploy/data.pd /home/tidb/deploy
192.168.0.244:9090 prometheus 192.168.0.244 9090 linux/x86_64 Up /home/tidb/deploy/prometheus2.0.0.data.metrics /home/tidb/deploy
192.168.0.247:4000 tidb 192.168.0.247 4000/10080 linux/x86_64 Down - /home/tidb/deploy
192.168.0.248:4000 tidb 192.168.0.248 4000/10080 linux/x86_64 Up - /home/tidb/deploy
192.168.0.244:20160 tikv 192.168.0.244 20160/20180 linux/x86_64 Up /home/tidb/deploy/data /home/tidb/deploy
192.168.0.246:20162 tikv 192.168.0.246 20162/20182 linux/x86_64 Up /home/tidb/deploy3/data /home/tidb/deploy3
192.168.0.247:20160 tikv 192.168.0.247 20160/20180 linux/x86_64 Up /home/tidb/deploy/data /home/tidb/deploy
Total nodes: 11
-
TiUP Cluster Edit Config 信息
-
TiDB- Overview 监控
- 对应模块日志(包含问题前后1小时日志)