当前位置:网站首页>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_MIRRORSvariable to the address of the official mirror:https://tiup-mirrors.pingcap.com. - Make sure the
TIUP_MIRRORSvariable is not set, and then execute thetiup mirror set https://tiup-mirrors.pingcap.comcommand.
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
边栏推荐
猜你喜欢

【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理

Flink本地UI运行

Mysql database query is very slow. Besides the index, what else can be caused?

Alluxio for Presto fu can across the cloud self-service ability

yarn的安装及使用教程

Flask introductory learning tutorial

后浪来袭!阿里产出“第二代”容器技术手册及脑图,这也太香了吧

ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)

ISELED---the new choice of ambient lighting scheme

视频切换播放的例子(视频切换范例)代码
随机推荐
【云原生 • DevOps】influxDB、cAdvisor、Grafana 工具使用详解
难道Redis真的变慢了吗?
yarn的安装及使用教程
数据分析工具篇——HQL中DDL操作&DML操作
tiup env
针对 MySQL/InnoDB 刷盘调优
TiUP 术语及核心概念
Go to Tencent for an interview and let people turn left directly: I don't know idempotency!
tiup env
RISC-V calling conventions
Distributed pre-course: MySQL implements distributed locks
EST综述:eDNA的多种状态以及在水环境中持久性的认知
ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)
flask获取post请求参数
Extremely Knowing v2 Analysis
RISC-V调用惯例
Introduction to golang image processing library image
481-82(105、24、82、34、153)
golang modules初始化项目
Overview of TiUP commands