tidb-ansible | Ansible is an IT automation tool | Continuous Deployment library
kandi X-RAY | tidb-ansible Summary
kandi X-RAY | tidb-ansible Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return the host information
- Updates API calls to the API
- Add an elasticache cluster to the inventory
- Return a list of ElastiCacheClusters
- Request a topology
- Write a key - value pair
- Parse the address part from a string
- Count the number of regions in a table
- Draw the region of the region
- Print information about the peers
- Merges two distributions
- Delete a job from the pushgateway
- Parse the address part of the query
- Prints the leaders of each leader
- Merges dist1 with dist2
- Parse a list of regions
- Parse an inventory object
- Delete series by job instance
- Parse RegionPeers
- Read the content of a given URL
- Format a TSV server label string
- Check if the given server_list is a conflict
- Parse command line arguments
- Parse command line options
- Get the content of a file
- Get a JSON object from a URL
tidb-ansible Key Features
tidb-ansible Examples and Code Snippets
Community Discussions
Trending Discussions on tidb-ansible
QUESTION
I am trying to install tidb on a single node using tidb ansible. I have set up the right IP address for PD, TiDB and TiKV server in inventory.ini file. I am following the instructions in https://pingcap.com/docs/v1.0/op-guide/ansible-deployment/. However I am facing the following error with command: ansible-playbook local_prepare.yml. The ansible complains about an older version inspite of being on latest ansible version. It would be really great if someone could help me in installation of TiDB
...ANSWER
Answered 2019-Dec-04 at 02:55This is because the ansible version is not compatible, please use
pip install -r ./requirements.txt
to install, therequirements.txt
file is in thetidb-ansible
directory.Note: You need to uninstall the existing
ansible
before installing.ansible_version.full|version_compare('2.4.2', '>=')
maybe should be optimized when ansible have newer version but incompatible.
QUESTION
I had a working TiDB instance running in gcloud, deployed using the tidb-ansible scripts. I wanted to replace the PD nodes with new ones, so I destroyed and replaced those. The PD cluster comes up ok now, but when I try to start the TiKV nodes, I get this error:
...ANSWER
Answered 2018-Mar-01 at 03:47Is there a way to destroy the local cluster ID on the TiKV instance so it can hook up with the PD properly?
To hook up the TiKV instance with PD properly, you can change the PD’s cluster ID. See the following steps and example.
Will PD be able to coordinate my existing TiKV nodes (with existing data) if I can get them to talk again?
Yes, it will.
You can use "pd-recover" to fix this issue.
Step 1. Run the new pd-server with the cluster ID:
6527407705559138241
.Step 2. Change the cluster ID to
6520261967047847245
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tidb-ansible
You can use tidb-ansible like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page