blob: 16c73a1ac6fe6c10d5e50b80a643f43225f299d3 [file] [log] [blame]
Jakub Pavlik0647d432016-09-30 11:47:12 +02001parameters:
2 _param:
3 galera_server_cluster_name: galeracluster
4 galera_server_bind_port: 3306
5 galera_server_admin_user: root
Stanislav Riazanov7205cbf2018-12-18 14:38:29 +04006 galera_server_sst_user: sstuser
7 galera_server_sst_password: ${_param:galera_server_admin_password}
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +04008 galera_max_connections: 20000
9 galera_innodb_buffer_pool_size: 3138M
Dennis Dmitriev2c572892018-03-05 23:32:34 +020010 galera_innodb_read_io_threads: 8
11 galera_innodb_write_io_threads: 8
12 galera_wsrep_slave_threads: 8
13 galera_xtrabackup_parallel: 4
Michal Kobus6a33c422018-09-28 14:32:57 +020014 galera_error_log_enabled: true
15 galera_error_log_path: /var/log/mysql/error.log
Jakub Pavlik0647d432016-09-30 11:47:12 +020016 kubernetes:
17 control:
18 configmap:
19 galera-master:
20 grains:
21 os_family: Debian
22 pillar:
23 galera:
24 master:
25 enabled: true
26 name: ${_param:galera_server_cluster_name}
27 bind:
28 address: 0.0.0.0
29 port: ${_param:galera_server_bind_port}
30 maintenance_password: ${_param:galera_server_maintenance_password}
31 admin:
32 user: ${_param:galera_server_admin_user}
33 password: ${_param:galera_server_admin_password}
Stanislav Riazanov7205cbf2018-12-18 14:38:29 +040034 sst:
35 user: ${_param:galera_server_sst_user}
36 password: ${_param:galera_server_sst_password}
Jakub Pavlik0647d432016-09-30 11:47:12 +020037 members:
38 - host: ${_param:mysql_service_host01}
39 port: 4567
40 - host: ${_param:mysql_service_host02}
41 port: 4567
42 - host: ${_param:mysql_service_host03}
43 port: 4567
Dmitry Kalashnikd4e5f472017-08-09 14:28:17 +040044 max_connections: ${_param:galera_max_connections}
45 innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size}
Dennis Dmitriev2c572892018-03-05 23:32:34 +020046 innodb_read_io_threads: ${_param:galera_innodb_read_io_threads}
47 innodb_write_io_threads: ${_param:galera_innodb_write_io_threads}
48 wsrep_slave_threads: ${_param:galera_wsrep_slave_threads}
49 xtrabackup_parallel: ${_param:galera_xtrabackup_parallel}
50 error_log_enabled: ${_param:galera_error_log_enabled}
Michal Kobus6a33c422018-09-28 14:32:57 +020051 error_log_path: ${_param:galera_error_log_path}
Jakub Pavlik0647d432016-09-30 11:47:12 +020052 mysql:
53 server:
54 users:
Stanislav Riazanov7205cbf2018-12-18 14:38:29 +040055 - name: ${_param:galera_server_sst_user}
56 password: ${_param:galera_server_sst_password}
57 host: localhost
58 database: '*.*'
59 grants:
60 - PROCESS
61 - RELOAD
62 - LOCK TABLES
63 - REPLICATION CLIENT