Giter Club home page Giter Club logo

puppet-galera's Introduction

Galera module

This is a module for installing and confiuring galera.

It depends on the mysql module from puppetlabs as well as xinetd.

Usage

galera::server

Used to configure a MariaDB Galera server cluster.

class { 'galera::server':
  wsrep_cluster_name => 'galera_cluster',
  wsrep_sst_method   => 'rsync'
  wsrep_sst_username => 'ChangeMe',
  wsrep_sst_password => 'ChangeMe',
}

galera::monitor

Used to monitor a MariaDB Galera cluster server. The class is meant to be used in a server load-balancer environment.

class {'galera::monitor':
  monitor_username => 'mon_user',
  monitor_password => 'mon_pass'
}

Here is a sample 3-node HAProxy Configuration:

listen galera 192.168.220.40:3306
  balance leastconn
  mode    tcp
  option  tcpka
  option  httpchk
  server  control01 192.168.220.41:3306 check port 9200 inter 2000 rise 2 fall 5
  server  control02 192.168.220.42:3306 check port 9200 inter 2000 rise 2 fall 5
  server  control03 192.168.220.43:3306 check port 9200 inter 2000 rise 2 fall 5

Authors

Daneyon Hansen, Ryan O'Hara

puppet-galera's People

Contributors

rohara avatar s0enke avatar gildub avatar strider avatar cwolferh avatar bodepd avatar aldavud avatar djuran avatar ctrlaltdel avatar opuk avatar xbezdick avatar paramite avatar

Stargazers

Malik Bougacha avatar  avatar

Watchers

Jordan OMara avatar Iván Chavero avatar  avatar Mark Lamourine avatar Steve Linabery avatar  avatar Francesco Vollero avatar  avatar Sebastien Badia avatar  avatar James Cloos avatar  avatar Alex Schultz avatar  avatar Alfredo Moralejo avatar  avatar Sunil Thaha avatar Will Foster avatar Kambiz Aghaiepour avatar Roger Lopez avatar Sai Sindhur Malleni avatar  avatar

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.