No description, website, or topics provided.
Clone or download
july2993 Merge pull request #604 from pingcap/update_binlog_dash
binlog.json: add queue size and query histogram
Latest commit cd6602e Nov 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
callback_plugins update support email Apr 9, 2018
cloud/aws-ansible cloud: fix grafana config Mar 17, 2017
common_tasks Fix check get store id is undefined result output Nov 1, 2018
conf conf: set right default capacity value for tidb txn_local_latches Nov 13, 2018
filter_plugins modify spark Sep 28, 2017
group_vars binlog: disable systemd SendSIGKILL Oct 27, 2018
library modify library cores_facts Jun 20, 2017
log log: remove log/ansible.log from the git repository (#503) Aug 22, 2018
roles Merge pull request #600 from lysu/fix-latch-capacity Nov 14, 2018
scripts binlog.json: add queue size and query history Nov 16, 2018
templates 1.0 dev: massive changes (#3) Feb 16, 2017
.gitignore Update for review Aug 24, 2017
LICENSE add license May 31, 2017
README.md readme: update wording (#392) May 18, 2018
ansible.cfg develop a help plugin (#207) Jan 11, 2018
bootstrap.yml check: add check_config_dynamic role Jul 27, 2018
clean_log_cron.yml add log clean (#532) Sep 11, 2018
collect_diagnosis.yml tidb-ansible: add more logs to collect (#537) Sep 25, 2018
create_users.yml remove root remote user limit (#466) Jul 18, 2018
deploy.yml binlog: add new tidb binlog Oct 27, 2018
deploy_drainer.yml binlog: add new tidb binlog Oct 27, 2018
deploy_ntp.yml update deploy_ntp.yml (#535) Sep 11, 2018
graceful_stop.yml playbook: add graceful_stop.yml (#531) Sep 11, 2018
hosts.ini Louis/user (#226) Jan 26, 2018
inventory.ini binlog: refine monitor policy Oct 27, 2018
local_prepare.yml remove curl check (#358) Apr 22, 2018
migrate_monitor.yml remove tikv_instances Sep 24, 2018
requirements.txt ansible: restrict ansible with min and max version range (#559) Oct 9, 2018
rolling_update.yml binlog: add new tidb binlog Oct 27, 2018
rolling_update_monitor.yml add lightning monitor dashboard and alert Oct 26, 2018
start.yml binlog: add new tidb binlog Oct 27, 2018
start_drainer.yml binlog: add new tidb binlog Oct 27, 2018
start_spark.yml install spark standalone (#114) Sep 13, 2017
stop.yml binlog: add new tidb binlog Oct 27, 2018
stop_drainer.yml binlog: add new tidb binlog Oct 27, 2018
stop_spark.yml install spark standalone (#114) Sep 13, 2017
unsafe_cleanup.yml binlog: add new tidb binlog Oct 27, 2018
unsafe_cleanup_container.yml pump monitor (#378) May 10, 2018
unsafe_cleanup_data.yml binlog: add new tidb binlog Oct 27, 2018

README.md

Ansible Playbook for TiDB

Overview

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates.

TiDB-Ansible is a TiDB cluster deployment tool developed by PingCAP, based on Ansible playbook. TiDB-Ansible enables you to quickly deploy a new TiDB cluster which includes PD, TiDB, TiKV, and the cluster monitoring modules.

You can use the TiDB-Ansible configuration file to set up the cluster topology, completing all operation tasks with one click, including:

  • Initializing the system, including creating the user for deployment, setting up the hostname, etc.
  • Deploying the components
  • Rolling update, including module survival detection
  • Cleaning data
  • Cleaning the environment
  • Configuring monitoring modules

Tutorial

License

TiDB-Ansible is under the Apache 2.0 license.