Dave Wilde 390e97ca7c Move Galera logs to /var/log/mysql_logs and set correct ownership
By default the permissions on the Galera log files are too restrictive
for rsyslog to read.  This patch moves those files to /var/log/mysql_log
and gives it group ownership of syslog.  Further it sets the sticky bit
on /var/log/mysql_log and ensures that the syslog group has read
access.

Change-Id: I57403a4147a07f949c78e648357070e23fe6d47f
Closes-bug: 1452316
2015-05-07 09:42:12 -05:00
..

OpenStack Galera Server

tags

openstack, galera, server, cloud, ansible

category

*nix

Role for the installation and installation of a Galera Cluster powered by MariaDB

- name: Install galera server
  hosts: galera_all
  user: root
  roles:
    - { role: "galera_server", tags: [ "galera-server" ] }
  vars:
    container_address: "{{ ansible_ssh_host }}"
    galera_wsrep_address: "10.0.0.1,10.0.0.2,10.0.0.3"
    galera_wsrep_node_name: "{{ ansible_hostname }}"
    galera_wsrep_cluster_address: "{{ container_address }}"
    galera_address: "{{ container_address }}"
    galera_root_password: secrete
    galera_root_user: root