Giter Site home page Giter Site logo

tidb-tool-v5.3's Introduction

Simplest Demo for Playing with TiDB

No containers for this version

Preparattion steps for the "cloud guys"

  1. Spin up an Ubuntu 18.04 VM in the cloud.
  2. ssh into this VM by using -A option (for simple handling the -i and -u options with tiup tool).
  3. Make sure current user has passwordless sudo permission.

general-lab folder

Concept

  • general-lab will deploy an all-in-one cluster on single EC2 instance.
  • No replication for any components.

Manual Preparation

  • N/A

How to Run

  • Simple setup scripts: 00, 01, 02
  • Start/Stop scripts: 03, 04
  • Simple check: check-cluster.sh
  • Simple connection for MySQL interface: connect.sh
  • Tier down caution: destroy-all.sh

tidb-lab folder

Concept

  • tikv-lab will deploy an all-in-one cluster on single EC2 instance.
  • 2 tidb servers will be deployed.

Manual Preparation

  • N/A

How to Run

  • Simple setup scripts: 00, 01, 02
  • Start/Stop scripts: 03, 04
  • Simple check: check-cluster.sh
  • Simple connection for MySQL interface: connect-4000.sh or connect-4001.sh
  • Tier down caution: destroy-all.sh

tikv-lab folder

Concept

  • Currently scripts are designed for AWS
  • tikv-lab will deploy a hybrid cluster across two EC2 instances.
  • 3 tikv servers will be deployed.

Manual Preparation

  • Spin up two EC2 instances, tag:Name them with bastion and demo respectively.
  • Assign read EC2 service role to above EC2 instances.
  • Smooth the network traffics between them.

How to Run

  • Simple setup scripts: 00, 01, 02
  • Start/Stop scripts: 03, 04
  • Simple check: check-cluster.sh
  • Simple connection for MySQL interface: connect-demo.sh and connect-bastion.sh
  • Tier down caution: destroy-all.sh

tidb-tool-v5.3's People

Contributors

guangleibao avatar

Stargazers

Ryan Lao avatar  avatar

Watchers

 avatar

Forkers

sunl mmichael-s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.