暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

tiup 合并镜像报错

原创 杨宇 2023-08-22
463

1、下载了tidb的server及toolkit

将toolkit的管理员私钥拷贝到

cp -r tidb-community-toolkit-v7.1.1-linux-amd64/keys/ .tiup/keys/

2、合并镜像报错

第一次合并,以为只把新的镜像加上就可以,其实是需要2个镜像进行合并,不是追加的模式。

[root@ctl ~]# tiup mirror merge tidb-community-toolkit-v7.1.1-linux-amd64
Error: missing owner keys for owner pingcap on component br

第二次添加上2个镜像名称,依旧报错。是因为里面没有server的私钥。

[root@ctl ~]# tiup mirror merge tidb-community-toolkit-v7.1.1-linux-amd64 tidb-community-server-v7.1.1-linux-amd64
Error: missing owner keys for owner pingcap on component package


继续拷贝server私钥

cp -r tidb-community-server-v7.1.1-linux-amd64/keys/ .tiup/keys

执行成功

[root@ctl ~]# tiup mirror merge tidb-community-toolkit-v7.1.1-linux-amd64 tidb-community-server-v7.1.1-linux-amd64


此时查看组件列表,发现多了一些tookkit里面的组件

[root@ctl ~]# tiup list
Available components:
Name               Owner    Description
----               -----    -----------
PCC                pingcap  A tool used to capture plan changes among different versions of TiDB
alertmanager       pingcap  Prometheus alertmanager
bench              pingcap  Benchmark database with different workloads
blackbox_exporter  pingcap  Blackbox prober exporter
br                 pingcap  TiDB/TiKV cluster backup restore tool
cdc                pingcap  CDC is a change data capture tool for TiDB
cluster            pingcap  Deploy a TiDB cluster for production
ctl                pingcap  TiDB controller suite
dba                pingcap  dbatoolset
diag               pingcap  Clinic client for data collection and quick health check
dm                 pingcap  Data Migration Platform manager
dm-master          pingcap  dm-master component of Data Migration Platform
dm-worker          pingcap  dm-worker component of Data Migration Platform
dmctl              pingcap  dmctl component of Data Migration Platform
drainer            pingcap  The drainer componet of TiDB binlog service
dumpling           pingcap  Dumpling is a CLI tool that helps you dump MySQL/TiDB data
errdoc             pingcap  Document about TiDB errors
grafana            pingcap  Grafana is the open source analytics & monitoring solution for every database
influxdb           pingcap  InfluxDB
insight            pingcap  TiDB-Insight collector
node_exporter      pingcap  Exporter for machine metrics
package            pingcap  A toolbox to package tiup component
pd                 pingcap  PD is the abbreviation for Placement Driver. It is used to manage and schedule the TiKV cluster
pd-recover         pingcap  PD Recover is a disaster recovery tool of PD, used to recover the PD cluster which cannot start or provide services normally
playground         pingcap  Bootstrap a local TiDB cluster for fun
prometheus         pingcap  The Prometheus monitoring system and time series database
pump               pingcap  The pump componet of TiDB binlog service
server             pingcap  TiUP publish/cache server
spark              pingcap  Spark is a fast and general cluster computing system for Big Data
tidb               pingcap  TiDB is an open source distributed HTAP database compatible with the MySQL protocol
tidb-dashboard     pingcap  TiDB Dashboard is a Web UI for monitoring, diagnosing, and managing the TiDB cluster
tidb-lightning     pingcap  TiDB Lightning is a tool used for fast full import of large amounts of data into a TiDB cluster
tiflash            pingcap  The TiFlash Columnar Storage Engine
tikv               pingcap  Distributed transactional key-value database, originally created to complement TiDB
tikv-importer      pingcap
tispark            pingcap  tispark
tiup               pingcap  TiUP is a command-line component management tool that can help to download and install TiDB platform components to the local system
[root@ctl ~]#

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论