Skip to content

Stands up HA (keepalived) HAProxy in front of MariaDB Galera on RHEL/CentOS

Notifications You must be signed in to change notification settings

mamercad/ansible-mariadb-galera-haproxy-keepalived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mamercad.mariadb-galera-haproxy-keepalived

Stands up HA (keepalived) HAProxy in front of MariaDB Galera on RHEL/CentOS

Warnings

The role puts SELinux into permissive mode and disabled firewalld

Requirements

None

Role Variables

See the example inventory below, as well as vars/main.yml (basically, it spins up a VIP, and haproxy listens on the VIP for TCP, redirecting round-robin to each of the MariaDB nodes)

Dependencies

None

Example Inventory

[marialb]
marialb1
marialb2

[marialb:vars]
ansible_ssh_user=root

Example Playbook

- hosts:
    - marialb
  roles:
    - mamercad.mariadb-galera-haproxy-keepalived

License

GPLv3

Author Information

Mark Mercado mamercad@umflint.edu

About

Stands up HA (keepalived) HAProxy in front of MariaDB Galera on RHEL/CentOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages