Closed Wythetells closed 5 years ago
can you provide your inventory.ini file? you can remove some sensitive information @Wythetells
@WangXiangUSTC Think you~ OK,that is my inventory.ini file
ansible-playbook deploy.yml -l 10.92.6.68 ansible-playbook start.yml --tags=pump
## TiDB Cluster Part
[tidb_servers]
10.92.6.68
[tikv_servers]
10.92.6.59
10.92.6.66
10.92.6.67
[pd_servers]
10.92.6.68
[spark_master]
[spark_slaves]
[lightning_server]
[importer_server]
## Monitoring Part
# prometheus and pushgateway servers
[monitoring_servers]
10.92.6.68
[grafana_servers]
10.92.6.68
# node_exporter and blackbox_exporter servers
[monitored_servers]
10.92.6.59
10.92.6.66
10.92.6.67
10.92.6.68
[alertmanager_servers]
10.92.6.68
[kafka_exporter_servers]
## Binlog Part
[pump_servers]
pump1 ansible_host=10.92.6.68 deploy_dir=/tidb/binlog/
[drainer_servers]
#drainer_mysql ansible_host=10.92.6.68 initial_commit_ts="405787959649894401"
## Group variables
[pd_servers:vars]
# location_labels = ["zone","rack","host"]
## Global variables
[all:vars]
deploy_dir = /tidb/deploy
## Connection
# ssh via normal user
ansible_user = tidb
cluster_name = Bytedance-cluster
tidb_version = v2.1.2
# process supervision, [systemd, supervise]
process_supervision = systemd
timezone = Asia/Shanghai
enable_firewalld = False
# check NTP service
enable_ntpd = True
set_hostname = False
## binlog trigger
enable_binlog = True
# kafka cluster address for monitoring, example:
# kafka_addrs = "192.168.0.11:9092,192.168.0.12:9092,192.168.0.13:9092"
kafka_addrs = ""
# zookeeper address of kafka cluster for monitoring, example:
# zookeeper_addrs = "192.168.0.11:2181,192.168.0.12:2181,192.168.0.13:2181"
zookeeper_addrs = ""
# store slow query log into seperate file
enable_slow_query_log = False
# enable TLS authentication in the TiDB cluster
enable_tls = False
# KV mode
deploy_without_tidb = False
# Optional: Set if you already have a alertmanager server.
# Format: alertmanager_host:alertmanager_port
alertmanager_target = ""
grafana_admin_user = "admin"
grafana_admin_password = "**"
### Collect diagnosis
collect_log_recent_hours = 2
enable_bandwidth_limit = True
# default: 10Mb/s, unit: Kbit/s
collect_bandwidth_limit = 10000
and i find this dir /tidb/deploy/bin have not pump,I don't know if that is true.
[tidb@tidb-tipddb01-10-92-6-68 bin]$ ls
alertmanager blackbox_exporter grafana_collector node_exporter pd-server prometheus pushgateway tidb-server
ansible-playbook deploy.yml -l 10.92.6.68
should be changed to ansible-playbook deploy.yml -l pump1
ansible-playbook deploy.yml -l 10.92.6.68
should be changed toansible-playbook deploy.yml -l pump1
Thank you very much! Congrats! All goes well. :-)
Hi ~ I need help!
I want Deploy and start a TiDB cluster with a Pump component and use Method 1 : Adding a Pump component to an existing TiDB cluster requires step-by-step steps as follows.
but there have a error when i start pump
err info:
and I checked iptables,the port 8250 in open
and now,what should I do