Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 1 | galera: |
| 2 | master: |
| 3 | enabled: true |
| 4 | name: galeracluster |
| 5 | bind: |
| 6 | address: 127.0.0.1 |
| 7 | port: 3306 |
| 8 | maintenance_password: password |
| 9 | admin: |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 10 | user: root |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 11 | password: password |
| 12 | members: |
| 13 | - host: 127.0.0.1 |
| 14 | port: 4567 |
| 15 | - host: 127.0.0.1 |
| 16 | port: 4567 |
| 17 | - host: 127.0.0.1 |
| 18 | port: 4567 |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 19 | clustercheck: |
| 20 | enabled: True |
| 21 | user: clustercheck |
| 22 | password: password |
| 23 | available_when_donor: 1 |
| 24 | available_when_readonly: 1 |
| 25 | port: 9200 |
Dmitry Kalashnik | d4e5f47 | 2017-08-09 14:28:17 +0400 | [diff] [blame] | 26 | max_connections: 20000 |
| 27 | innodb_buffer_pool_size: 3138M |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 28 | mysql: |
| 29 | server: |
Petr Michalec | c721ed0 | 2017-08-04 12:08:08 +0200 | [diff] [blame] | 30 | database: |
| 31 | mydb: |
| 32 | encoding: 'utf8' |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 33 | users: |
| 34 | - name: haproxy |
| 35 | host: localhost |
| 36 | - name: haproxy |
| 37 | host: '%' |
| 38 | - name: haproxy |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 39 | host: 127.0.0.1 |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 40 | - name: clustercheck |
| 41 | #host: localhost |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 42 | password: password |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 43 | database: '*.*' |
| 44 | grants: PROCESS |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 45 | - name: inspector |
| 46 | host: 127.0.0.1 |
| 47 | password: password |
| 48 | databases: |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 49 | - database: mydb |
| 50 | table: mytable |
| 51 | grant_option: True |
| 52 | grants: |
| 53 | - all privileges |