当前位置:网站首页>TiUP FAQ
TiUP FAQ
2022-07-30 15:41:00 【Tim's Shop】
Is it possible to not use the official mirror source for TiUP?
TiUP supports specifying the mirror source through the environment variable TIUP_MIRRORS
. The address of the mirror source can be a local directory or HTTP server address.If the user's environment cannot access the network, you can create your own offline mirror source to use TiUP.
If you want to switch back to the official mirror after using an unofficial mirror, you can do one of the following:
- Set the
TIUP_MIRRORS
variable to the address of the official mirror:https://tiup-mirrors.pingcap.com
. - Make sure the
TIUP_MIRRORS
variable is not set, and then execute thetiup mirror set https://tiup-mirrors.pingcap.com
command.
How to put the components written by yourself into the TiUP mirror warehouse?
TiUP does not support externally developed components for the time being, but TiUP Team has formulated the TiUP component development specification and is developing the tiup-publish component. After the tiup-publish component is completed, developers can use tiup publish
Publish the components developed by yourself to TiUP's official mirror repository.
What is the difference between tiup-playground and tiup-cluster?
TiUP Playground component is mainly positioned to quickly get started and build a stand-alone development environment. It supports Linux/macOS, and it is easier to run a TiUP cluster of a specified version.TiUP Cluster components mainly deploy production environment clusters, usually a large-scale cluster, and also include operations related to operation and maintenance.
How to write the topology file of the tiup-cluster component?
You can refer to the Example of the topology file.Examples include:
- Three centers in two places
- Minimum deployment topology
- Complete topology file
You can choose different templates to edit according to your needs.
Can multiple instances be deployed on the same host?
Multiple instances can be deployed on the same host using TiUP Cluster, but different ports and directory information need to be configured. Otherwise, directory and port conflicts may occur.
Is it possible to detect port and directory conflicts within the same cluster?
The port and directory conflicts of the same cluster will be detected during deployment and expansion. If there is a directory and port conflict, the deployment or expansion will be interrupted.
Is it possible to detect port and directory conflicts in different clusters?
If different clusters are deployed by the same TiUP central control machine, they will be detected during deployment and expansion. If they belong to different TiUP central control machines, detection is currently not supported.
During cluster deployment, TiUP received an error ssh: handshake failed: read tcp 10.10.10.34:38980 -> 10.10.10.34:3600: read: connection reset by peer
This error may be caused by the default concurrency of TiUP exceeding the default maximum number of ssh connections. You can try to increase the default number of ssh connections, and then restart the sshd service to solve the problem:
vi /etc/ssh/sshd_config MaxSessions 1000 MaxStartups 1000
边栏推荐
- Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
- 让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
- Back waves are coming!Ali produced the "second generation" container technical manual and brain map, which is too fragrant
- Flink实时仓库-DWS层(状态编程,windowall的使用,数据保存到clickhouse)模板代码
- Compile, link, notes - 3
- nodejs环境变量设置
- vite 多页面应用刷新页面时,不会在当前路由中,会返回到根路由
- Flask入门学习教程
- MySQL客户端工具的使用与MySQL SQL语句
- SEATA分布式事务
猜你喜欢
随机推荐
面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全
vite 多页面应用刷新页面时,不会在当前路由中,会返回到根路由
SEATA distributed transaction
Flask introductory learning tutorial
视频加密的误解
Load Base Split 使用文档
HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
(Popular Science) What is Fractional NFT (Fractional NFT)
TensorFlow custom training function
Overview of TiUP commands
Introduction to TiUP
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
Troubleshooting TiUP
极验深知v2分析
让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
Alluxio为Presto赋能跨云的自助服务能力
分布式前修课:MySQL实现分布式锁
嵌入式开发:嵌入式基础知识——正确启动固件项目的 10 条建议
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets