Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - galera |
Simon Pasquier | a9c7114 | 2016-10-25 07:06:35 +0200 | [diff] [blame] | 3 | classes: |
| 4 | - service.galera.support |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 5 | parameters: |
| 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 Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 11 | galera_max_connections: 20000 |
| 12 | galera_innodb_buffer_pool_size: 3138M |
Dennis Dmitriev | 2c57289 | 2018-03-05 23:32:34 +0200 | [diff] [blame] | 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 |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 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} |
Ales Komarek | 63b99f4 | 2015-04-30 14:03:45 +0200 | [diff] [blame] | 25 | maintenance_password: ${_param:galera_server_maintenance_password} |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 26 | admin: |
| 27 | user: ${_param:galera_server_admin_user} |
| 28 | password: ${_param:galera_server_admin_password} |
| 29 | members: |
| 30 | - host: ${_param:cluster_node01_address} |
| 31 | port: 4567 |
| 32 | - host: ${_param:cluster_node02_address} |
| 33 | port: 4567 |
| 34 | - host: ${_param:cluster_node03_address} |
| 35 | port: 4567 |
Dmitry Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 36 | max_connections: ${_param:galera_max_connections} |
| 37 | innodb_buffer_pool_size: ${_param:galera_innodb_buffer_pool_size} |
Dennis Dmitriev | 2c57289 | 2018-03-05 23:32:34 +0200 | [diff] [blame] | 38 | innodb_read_io_threads: ${_param:galera_innodb_read_io_threads} |
| 39 | innodb_write_io_threads: ${_param:galera_innodb_write_io_threads} |
| 40 | wsrep_slave_threads: ${_param:galera_wsrep_slave_threads} |
| 41 | xtrabackup_parallel: ${_param:galera_xtrabackup_parallel} |
| 42 | error_log_enabled: ${_param:galera_error_log_enabled} |
Ales Komarek | b7667f6 | 2015-05-05 15:51:37 +0200 | [diff] [blame] | 43 | mysql: |
| 44 | server: |
| 45 | users: |
| 46 | - name: haproxy |
| 47 | host: localhost |
| 48 | - name: haproxy |
| 49 | host: '%' |
| 50 | - name: haproxy |
Simon Pasquier | a9c7114 | 2016-10-25 07:06:35 +0200 | [diff] [blame] | 51 | host: ${_param:cluster_local_address} |