Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +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: | ||||
10 | user: root | ||||
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 11 | password: password |
Petr Michalec | 5ff575c | 2017-11-06 15:37:05 +0100 | [diff] [blame] | 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 | ||||
19 | clustercheck: | ||||
20 | enabled: True | ||||
21 | user: clustercheck | ||||
22 | password: password | ||||
23 | available_when_donor: 1 | ||||
24 | available_when_readonly: 1 | ||||
25 | port: 9200 | ||||
26 | max_connections: 20000 | ||||
27 | innodb_buffer_pool_size: 3138M | ||||
28 | mysql: | ||||
29 | server: | ||||
30 | enabled: true | ||||
31 | bind: | ||||
32 | address: 0.0.0.0 | ||||
33 | port: 3306 | ||||
34 | protocol: tcp | ||||
35 | database: | ||||
36 | mydb: | ||||
37 | encoding: 'utf8' | ||||
38 | users: | ||||
39 | - name: haproxy | ||||
40 | host: localhost | ||||
41 | - name: haproxy | ||||
42 | host: '%' | ||||
43 | - name: haproxy | ||||
44 | host: 127.0.0.1 | ||||
45 | - name: clustercheck | ||||
46 | #host: localhost | ||||
47 | password: password | ||||
48 | database: '*.*' | ||||
49 | grants: PROCESS | ||||
50 | - name: inspector | ||||
51 | host: 127.0.0.1 | ||||
52 | password: password | ||||
53 | databases: | ||||
54 | - database: mydb | ||||
55 | table: mytable | ||||
56 | grant_option: True | ||||
57 | grants: | ||||
58 | - all privileges |