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 |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 26 | mysql: |
| 27 | server: |
| 28 | users: |
| 29 | - name: haproxy |
| 30 | host: localhost |
| 31 | - name: haproxy |
| 32 | host: '%' |
| 33 | - name: haproxy |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 34 | host: 127.0.0.1 |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 35 | - name: clustercheck |
| 36 | #host: localhost |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame^] | 37 | password: password |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 38 | database: '*.*' |
| 39 | grants: PROCESS |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 40 | - name: inspector |
| 41 | host: 127.0.0.1 |
| 42 | password: password |
| 43 | databases: |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame^] | 44 | - database: mydb |
| 45 | table: mytable |
| 46 | grant_option: True |
| 47 | grants: |
| 48 | - all privileges |