Skip to content
Puppet module for MySQL InnoDB Cluster
Puppet HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files
manifests
templates
README.md

README.md

Puppet - MySQL InnoDB Cluster Module

This module is made for CentOS/RHEL and allows to install and bootstrap a MySQL InnoDB Cluster group using MySQL Shell's AdminAPI.

Example

Hiera example with 3 nodes:

hieradata/common.yaml


---

innodbcluster::mysql_root_password: fred
innodbcluster::mysql_bind_interface:    eth1
innodbcluster::cluster_name: mycluster
innodbcluster::grant::user: root
innodbcluster::grant::password: fred
innodbcluster::seed: mysql1

hieradata/mysql1.yaml


---
classes:
    - innodbcluster

    innodbcluster::mysql_serverid:  1

hieradata/mysql2.yaml


---
classes:
    - innodbcluster

    innodbcluster::mysql_serverid:  2

hieradata/mysql3.yaml


---
classes:
    - innodbcluster

    innodbcluster::mysql_serverid:  3

I really encourage you to encrypt the passwords using hiera-eyaml in the hiera files

Todo

add router

You can’t perform that action at this time.