![Dave Wilde](/assets/img/avatar_default.png)
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
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