Giter VIP home page Giter VIP logo

innodbclusterlab's Introduction

InnoDBClusterLab

This is the Lab exercise about building InnoDB Cluster

Environment : The provided VM instance has already installed with MySQL enterprise edition binary.

The /usr/local folder contains the binaries from corresponding tar packages.

The soft links are built to standardize the paths to the corresponding tar folders.

MySQL Home   : /usr/local/mysql
MySQL Shell  : /usr/local/shell
MySQL Router : /usr/local/router

Data

3310 : /home/mysql/data/3310
3320 : /home/mysql/data/3320
3330 : /home/mysql/data/3330

Preparation

Ensure there is no mysqld service running. By default with the provided VM instance, there are 4 active mysql services running.

Please login as opc and stop those services

  1. login as opc
  2. Stop the services
sudo systemctl stop mysqld@mysql01
sudo systemctl stop mysqld@mysql02
sudo systemctl stop mysqld@mysql03
sudo systemctl stop mysqld
  1. Check if any mysqld is running
ps -ef|grep mysqld
  1. Switch user to mysql
sudo su - mysql
  1. Using git to clone InnoDB Cluster environment (mysql as user)
cd  /home/mysql
mkdir lab
cd lab
git clone https://github.com/ivanxma/InnoDBClusterLab
cd ~/lab/InnoDBClusterLab

The exercise includes

  1. Initialization of 3 servers (3310,3320, 3330) on the same VM
  2. Configuration for GTID
  3. Using MySQL Shell and Configuring Group Replication Admin User & settings
  4. Creating InnoDB Cluster - 1 member, and add 2nd node using Incremental, and add 3rd node usign Clone
  5. Administrating InnoDB Cluster
  6. Bootstraping MySQL Router with InnoDB Cluster
  7. Creating another 3 servers (3340, 3350, 3360) and building clusterset to link mycluster and mycluster2(3340,3350,3360)

innodbclusterlab's People

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.