blob: 7ac04d9f24b3b330aef0d9894e73de6118e9b54c [file] [log] [blame]
Petr Michalecbafff1b2018-03-23 12:40:13 +01001applications:
2- galera
3classes:
4- service.galera.support
5parameters:
6 _param:
7 galera_server_cluster_name: galeracluster
8 galera_server_bind_address: ${_param:single_address}
9 galera_server_bind_port: 3306
10 galera_server_admin_user: root
11 galera_max_connections: 20000
12 galera_innodb_buffer_pool_size: 3138M
Michal Kobus6a33c422018-09-28 14:32:57 +020013 galera_error_log_enabled: true
Vasyl Saienkoc50ffc72018-11-15 10:58:50 +000014 galera_innodb_read_io_threads: 0
15 galera_innodb_write_io_threads: 0
16 galera_wsrep_slave_threads: 0
17 galera_xtrabackup_parallel: 0
Michal Kobus6a33c422018-09-28 14:32:57 +020018 galera_error_log_path: /var/log/mysql/error.log
Petr Michalecbafff1b2018-03-23 12:40:13 +010019 galera:
20 master:
21 enabled: true
22 name: ${_param:galera_server_cluster_name}
23 bind:
24 address: ${_param:galera_server_bind_address}
25 port: ${_param:galera_server_bind_port}
26 maintenance_password: ${_param:galera_server_maintenance_password}
27 admin:
28 user: ${_param:galera_server_admin_user}
29 password: ${_param:galera_server_admin_password}
30 members:
31 - host: ${_param:single_address}
32 port: 4567
33 max_connections: ${_param:galera_max_connections}
34 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
Vasyl Saienkoc50ffc72018-11-15 10:58:50 +000035 innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
36 innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
37 wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
38 xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
Petr Michalecbafff1b2018-03-23 12:40:13 +010039 error_log_enabled: ${_param:galera_error_log_enabled}
Michal Kobus6a33c422018-09-28 14:32:57 +020040 error_log_path: ${_param:galera_error_log_path}
Petr Michalecbafff1b2018-03-23 12:40:13 +010041 mysql:
42 server:
43 users:
44 - name: haproxy
45 host: localhost
46 - name: haproxy
47 host: '%'
48 - name: haproxy
49 host: ${_param:single_address}