blob: 8f829b25136ad21288aac00a4bb3c3fdcdb68fa2 [file] [log] [blame]
Ales Komarek72da8052015-04-30 13:57:30 +02001applications:
2- galera
3parameters:
4 _param:
5 galera_server_cluster_name: galeracluster
6 galera_server_bind_address: ${_param:cluster_local_address}
7 galera_server_bind_port: 3306
8 galera_server_admin_user: root
9 galera:
10 slave:
11 enabled: true
12 name: ${_param:galera_server_cluster_name}
13 bind:
14 address: ${_param:galera_server_bind_address}
15 port: ${_param:galera_server_bind_port}
Ales Komarek63b99f42015-04-30 14:03:45 +020016 maintenance_password: ${_param:galera_server_maintenance_password}
Ales Komarek72da8052015-04-30 13:57:30 +020017 admin:
18 user: ${_param:galera_server_admin_user}
19 password: ${_param:galera_server_admin_password}
20 members:
21 - host: ${_param:cluster_node01_address}
22 port: 4567
23 - host: ${_param:cluster_node02_address}
24 port: 4567
25 - host: ${_param:cluster_node03_address}
26 port: 4567
Ales Komarekb7667f62015-05-05 15:51:37 +020027 mysql:
28 server:
29 users:
30 - name: haproxy
31 host: localhost
32 - name: haproxy
33 host: '%'
34 - name: haproxy
35 host: ${_param:cluster_local_address}