Without log_slave_updates enabled, the bin logs are only written on the cluster server that handles the request. This makes database recovery more difficult as the bin logs are spread across all servers and must be combined manually in order to recover the database. Enabling log_slave_updates ensures all nodes in the cluster contain the complete bin logs and recovery can be performed from any cluster member. Change-Id: I978d6aea93369382faeace96b7865b9e56a7995a Closes-Bug: #1479473
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