Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - galera |
Simon Pasquier | a9c7114 | 2016-10-25 07:06:35 +0200 | [diff] [blame] | 3 | classes: |
| 4 | - service.galera.support |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 5 | parameters: |
| 6 | _param: |
| 7 | galera_server_cluster_name: galeracluster |
| 8 | galera_server_bind_address: ${_param:cluster_local_address} |
| 9 | galera_server_bind_port: 3306 |
| 10 | galera_server_admin_user: root |
| 11 | galera: |
| 12 | master: |
| 13 | enabled: true |
| 14 | name: ${_param:galera_server_cluster_name} |
| 15 | bind: |
| 16 | address: ${_param:galera_server_bind_address} |
| 17 | port: ${_param:galera_server_bind_port} |
Ales Komarek | 63b99f4 | 2015-04-30 14:03:45 +0200 | [diff] [blame] | 18 | maintenance_password: ${_param:galera_server_maintenance_password} |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 19 | admin: |
| 20 | user: ${_param:galera_server_admin_user} |
| 21 | password: ${_param:galera_server_admin_password} |
| 22 | members: |
| 23 | - host: ${_param:cluster_node01_address} |
| 24 | port: 4567 |
| 25 | - host: ${_param:cluster_node02_address} |
| 26 | port: 4567 |
| 27 | - host: ${_param:cluster_node03_address} |
| 28 | port: 4567 |
Ales Komarek | b7667f6 | 2015-05-05 15:51:37 +0200 | [diff] [blame] | 29 | mysql: |
| 30 | server: |
| 31 | users: |
| 32 | - name: haproxy |
| 33 | host: localhost |
| 34 | - name: haproxy |
| 35 | host: '%' |
| 36 | - name: haproxy |
Simon Pasquier | a9c7114 | 2016-10-25 07:06:35 +0200 | [diff] [blame] | 37 | host: ${_param:cluster_local_address} |