tidb-ansible | Ansible is an IT automation tool | Continuous Deployment library

 by   pingcap Python Version: v3.0.20 License: Apache-2.0

kandi X-RAY | tidb-ansible Summary

kandi X-RAY | tidb-ansible Summary

tidb-ansible is a Python library typically used in Devops, Continuous Deployment, Ansible applications. tidb-ansible has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

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

            kandi-support Support

              tidb-ansible has a low active ecosystem.
              It has 319 star(s) with 268 fork(s). There are 101 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 38 open issues and 145 have been closed. On average issues are closed in 66 days. There are 15 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tidb-ansible is v3.0.20

            kandi-Quality Quality

              tidb-ansible has no bugs reported.

            kandi-Security Security

              tidb-ansible has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              tidb-ansible is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tidb-ansible releases are available to install and integrate.
              Build file is available. You can build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tidb-ansible and discovered the below as its top functions. This is intended to give you an instant insight into tidb-ansible implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            tidb-ansible Key Features

            No Key Features are available at this moment for tidb-ansible.

            tidb-ansible Examples and Code Snippets

            No Code Snippets are available at this moment for tidb-ansible.

            Community Discussions

            QUESTION

            TiDB-ansible installation - ansible-playbook local_prepare.yml command failure
            Asked 2019-Dec-04 at 07:24

            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:55
            • This is because the ansible version is not compatible, please use pip install -r ./requirements.txt to install, the requirements.txt file is in the tidb-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.

            Source https://stackoverflow.com/questions/59167411

            QUESTION

            How do I connect existing TiKV nodes to a new cluster of PDs in TiDB?
            Asked 2018-Apr-24 at 08:31

            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:47

            Is 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.

            Source https://stackoverflow.com/questions/49035036

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tidb-ansible

            You can download it from GitHub.
            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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pingcap/tidb-ansible.git

          • CLI

            gh repo clone pingcap/tidb-ansible

          • sshUrl

            git@github.com:pingcap/tidb-ansible.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link