Forge Home

percona

Installs, configures, and manages percona xtradb cluster.

10,068 downloads

7,208 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.2 (latest)
  • 0.1.1
  • 0.0.1
released Feb 24th 2016
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'filiadata-percona', '0.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add filiadata-percona
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install filiadata-percona --version 0.2.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

filiadata/percona — version 0.2.2 Feb 24th 2016

#percona

Build Status By FILIADATA

####Table of Contents

  1. Overview
  2. Usage

##Overview

This module installs and configures a Percona XtraDB Cluster.

##Usage

For Percona XtraDB Cluster with exported resource support

  class { '::percona':
    db_galera              => true,
    exported_resource      => true,
    reserved_os_memory     => 128,
    wsrep_cnf              => {
      mysqld => {
        wsrep_cluster_name => 'percona_test',
        wsrep_sst_method   => 'xtrabackup-v2',
        wsrep_sst_auth     => 'sst_user:78sdu4538',
        wsrep_node_name    => "${::hostname}_${::ipaddress_eth1}",
        wsrep_node_address => $::ipaddress_eth1,
      },
    },
    mysql_admin_user       => 'mroot',
    mysql_admin_password   => 'mroot_pw',
    mysql_monitor_user     => 'mmonitor',
    mysql_monitor_password => 'mmonitor_pw',
  }

For Percona Garbd with exported resource support

  class { '::percona':
    db_galera         => true,
    is_arbitrator     => true,
    exported_resource => true,
    wsrep_cnf         => {
      mysqld => {
        wsrep_cluster_name => 'percona_test',
      },
    },
  }

For Percona XtraDB Server (Standalone)

  class { '::percona':
    reserved_os_memory     => 128,
    mysql_admin_user       => 'mroot',
    mysql_admin_password   => 'mroot_pw',
  }

Set additional parameter in my.cnf config

  mysql_config { 'server-id':
    value => 16,
  }
  mysql_config { 'master-host':
    value => '10.55.3.1',
  }