当前位置:网站首页>Tidb common commands
Tidb common commands
2022-06-25 12:23:00 【lihongbao80】
One tiup command
1、tiup Capacity expansion
1、 stay scale-out.yaml File add capacity expansion topology configuration :
vi scale-out.yaml
tidb_servers:
- host: 192.168.192.38
ssh_port: 22
port: 4000
status_port: 10080
deploy_dir: /data/deploy/install/deploy/tidb-4000
log_dir: /data/deploy/install/log/tidb-4000
TiKV Profile reference :
tikv_servers:
- host: 10.0.1.5
ssh_port: 22
port: 20160
status_port: 20180
deploy_dir: /data/deploy/install/deploy/tikv-20160
data_dir: /data/deploy/install/data/tikv-20160
log_dir: /data/deploy/install/log/tikv-20160
PD Profile reference :
pd_servers:
- host: 10.0.1.5
ssh_port: 22
name: pd-1
client_port: 2379
peer_port: 2380
deploy_dir: /data/deploy/install/deploy/pd-2379
data_dir: /data/deploy/install/data/pd-2379
log_dir: /data/deploy/install/log/pd-2379
Tiflash
tiflash_servers:
- host: 10.0.1.4
TiCDC node
cdc_servers:
- host: 10.0.1.3
gc-ttl: 86400
data_dir: /data/deploy/install/data/cdc-8300
- host: 10.0.1.4
gc-ttl: 86400
data_dir: /data/deploy/install/data/cdc-8300
have access to tiup cluster edit-config View the configuration information of the current cluster , Because of global and server_configs Parameter configuration will be configured by default scale-out.yaml Inherit , So it will scale-out.yaml Enter into force .
2、 Execute capacity expansion command
tiup cluster scale-out <cluster-name> scale-out.yaml
Be careful :
It is assumed that the current user executing the command has established mutual trust with the newly added machine , If the conditions for opening up mutual trust are not met , Need to pass through -p To enter the password for the new machine , Or through -i Specify private key file .
Expected output Scaled cluster out successfully Information , Indicates that the expansion operation is successful .
3、 Check cluster status
tiup cluster display <cluster-name>
Open the browser to access the monitoring platform http://10.0.1.5:3000, Monitor the status of the entire cluster and new nodes .
Two Manual start
./node_exporter --web.listen-address=":9100" --log.level=“info” &
边栏推荐
- ARM V7 协处理器
- Dark horse shopping mall ---3 Commodity management
- VFP calls the command line image processing program, and adding watermark is also available
- Dark horse shopping mall ---1 Project introduction - environment construction
- Le détour d'un ingénieur en matériel
- Arm V7 LDR STR memory access
- The R language uses the follow up The plot function visualizes the longitudinal follow-up map of multiple ID (case) monitoring indicators, and uses stress The type parameter specifies the line type of
- Why should Apple change objc_ Type declaration for msgsend
- Update of complex JSON in MySQL
- plt.gca()画框及打标签
猜你喜欢

Dark horse shopping mall ---3 Commodity management

SDN system method | 9 Access network

揭秘GaussDB(for Redis):全面對比Codis

Uncover gaussdb (for redis): comprehensive comparison of CODIS

PD1.4转HDMI2.0转接线拆解。

confluence7.4. X upgrade record
![[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer](/img/58/d68112a3d019de66150e2f5102f436.png)
[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer

confluence7.4.X升级实录

A set of automated paperless office system (oa+ approval process) source code: with data dictionary

优品购电商3.0微服务商城项目实战小结
随机推荐
R语言dplyr包filter函数过滤dataframe数据中指定数据列的内容不是(不等于指定向量中的其中一个)指定列表中的数据行
Understanding and construction of devsecops and Devops
A detour taken by a hardware engineer
plt. GCA () picture frame and label
PyCaret 成功解决无法从‘sklearn.model_selection._search‘导入名称“_check_param_grid”
2022年首期Techo Day腾讯技术开放日将于6月28日线上举办
网络 | traceroute,路由跟踪命令,用于确定 IP 数据包访问目标地址所经过的路径。
[regression analysis] understand ridge regression with case teaching
VFP serial port communication is difficult for 9527. Maomao just showed his skill and was defeated by kiss
Why should Apple change objc_ Type declaration for msgsend
Mpai data science platform SVM support vector machine classification \ explanation of regression parameter adjustment
【数据中台】数据中台的OneID是个什么鬼,主数据它不香吗?
Network related encapsulation introduced by webrtc native M96 basic base module
Implementing Domain Driven Design - using the ABP framework - Summary of a series of articles
R language uses GLM function to build Poisson logarithmic linear regression model, processes three-dimensional contingency table data to build saturation model, and poisgof function of epidisplay pack
Windows下MySQL的安装和删除
R语言使用nnet包的multinom函数构建无序多分类logistic回归模型、使用summary函数获取模型汇总统计信息
Kotlin study notes
An easy-to-use seal design tool - (can be converted to ofd file)
The network traceroute command is used to determine the path through which IP packets access the destination address.