blob: 38c23c4def7723920568e8d1e4fbc37fbdc9177d [file] [log] [blame]
Ales Komarek72da8052015-04-30 13:57:30 +02001applications:
2- galera
Simon Pasquiera9c71142016-10-25 07:06:35 +02003classes:
4- service.galera.support
Ales Komarek72da8052015-04-30 13:57:30 +02005parameters:
6 _param:
7 galera_server_cluster_name: galeracluster
8 galera_server_bind_address: ${_param:cluster_local_address}
9 galera_server_bind_port: 3306
10 galera_server_admin_user: root
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +040011 galera_max_connections: 20000
12 galera_innodb_buffer_pool_size: 3138M
Vasyl Saienkoc50ffc72018-11-15 10:58:50 +000013 galera_innodb_read_io_threads: 0
14 galera_innodb_write_io_threads: 0
15 galera_wsrep_slave_threads: 0
16 galera_xtrabackup_parallel: 0
Michal Kobus6a33c422018-09-28 14:32:57 +020017 galera_error_log_enabled: true
18 galera_error_log_path: /var/log/mysql/error.log
Ales Komarek72da8052015-04-30 13:57:30 +020019 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}
Ales Komarek63b99f42015-04-30 14:03:45 +020026 maintenance_password: ${_param:galera_server_maintenance_password}
Ales Komarek72da8052015-04-30 13:57:30 +020027 admin:
28 user: ${_param:galera_server_admin_user}
29 password: ${_param:galera_server_admin_password}
30 members:
31 - host: ${_param:cluster_node01_address}
32 port: 4567
33 - host: ${_param:cluster_node02_address}
34 port: 4567
35 - host: ${_param:cluster_node03_address}
36 port: 4567
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +040037 max_connections: ${_param:galera_max_connections}
38 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
Vasyl Saienkoc50ffc72018-11-15 10:58:50 +000039 innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
40 innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
41 wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
42 xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
Dennis Dmitriev2c572892018-03-05 23:32:34 +020043 error_log_enabled: ${_param:galera_error_log_enabled}
Michal Kobus6a33c422018-09-28 14:32:57 +020044 error_log_path: ${_param:galera_error_log_path}
Ales Komarekb7667f62015-05-05 15:51:37 +020045 mysql:
46 server:
47 users:
48 - name: haproxy
49 host: localhost
50 - name: haproxy
51 host: '%'
52 - name: haproxy
Simon Pasquiera9c71142016-10-25 07:06:35 +020053 host: ${_param:cluster_local_address}