- galera:
- master:
- enabled: true
- name: galeracluster
- bind:
- address: 127.0.0.1
- port: 3306
- maintenance_password: password
- admin:
- user: root
- password: password
- members:
- - host: 127.0.0.1
- port: 4567
- - host: 127.0.0.1
- port: 4567
- - host: 127.0.0.1
- port: 4567
- clustercheck:
- enabled: True
- user: clustercheck
- password: password
- available_when_donor: 1
- available_when_readonly: 1
- port: 9200
- max_connections: 20000
- innodb_buffer_pool_size: 3138M
- mysql:
- server:
- database:
- mydb:
- encoding: 'utf8'
- users:
- - name: haproxy
- host: localhost
- - name: haproxy
- host: '%'
- - name: haproxy
- host: 127.0.0.1
- - name: clustercheck
- #host: localhost
- password: password
- database: '*.*'
- grants: PROCESS
- - name: inspector
- host: 127.0.0.1
- password: password
- databases:
- - database: mydb
- table: mytable
- grant_option: True
- grants:
- - all privileges
|