blob: 9e6061b0cebb2028c8654d4f8a9203b797c21ade [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
13 galera_innodb_read_io_threads: 8
14 galera_innodb_write_io_threads: 8
15 galera_wsrep_slave_threads: 8
16 galera_xtrabackup_parallel: 4
17 galera_error_log_enabled: false
18 galera:
19 master:
20 enabled: true
21 name: ${_param:galera_server_cluster_name}
22 bind:
23 address: ${_param:galera_server_bind_address}
24 port: ${_param:galera_server_bind_port}
25 maintenance_password: ${_param:galera_server_maintenance_password}
26 admin:
27 user: ${_param:galera_server_admin_user}
28 password: ${_param:galera_server_admin_password}
29 members:
30 - host: ${_param:single_address}
31 port: 4567
32 max_connections: ${_param:galera_max_connections}
33 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
34 innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
35 innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
36 wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
37 xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
38 error_log_enabled: ${_param:galera_error_log_enabled}
39 mysql:
40 server:
41 users:
42 - name: haproxy
43 host: localhost
44 - name: haproxy
45 host: '%'
46 - name: haproxy
47 host: ${_param:single_address}