An open API service indexing awesome lists of open source software.

https://github.com/lefred/puppet-lefred-innodbcluster

Puppet module for MySQL InnoDB Cluster
https://github.com/lefred/puppet-lefred-innodbcluster

Last synced: 4 months ago
JSON representation

Puppet module for MySQL InnoDB Cluster

Awesome Lists containing this project

README

          

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