blob: 7cca3e8630e766e72f627beca9ddaab6e426dc88 [file] [log] [blame]
Filip Pytlounc66957a2016-04-11 17:20:37 +02001classes:
2- service.mysql.support
Filip Pytloun5b3c12e2015-10-06 16:28:32 +02003applications:
4- mysql
5parameters:
6 mysql:
7 cluster:
8 enabled: true
9 name: openstack
10 role: ${_param:mysql_cluster_role}
11 bind:
12 address: ${_param:cluster_local_address}
13 port: 4567
14 members:
15 - host: ${_param:cluster_node01_address}
16 port: 4567
17 - host: ${_param:cluster_node02_address}
18 port: 4567
19 - host: ${_param:cluster_node03_address}
20 port: 4567
21 gcache_size: 4000
22 server:
23 enabled: true
24 force_encoding: utf8
25 version: '5.5'
26 admin:
27 user: root
28 password: ${_param:mysql_admin_password}
29 bind:
30 address: ${_param:cluster_local_address}
31 port: 3306
Filip Pytloun5b3c12e2015-10-06 16:28:32 +020032 haproxy:
33 proxy:
34 listen:
35 mysql_cluster:
36 type: mysql
37 binds:
38 - address: ${_param:cluster_vip_address}
39 port: 3306
40 servers:
41 - name: ctl01
42 host: ${_param:cluster_node01_address}
43 port: 3306
44 params: check
45 - name: ctl02
46 host: ${_param:cluster_node02_address}
47 port: 3306
48 params: backup check
49 - name: ctl03
50 host: ${_param:cluster_node03_address}
51 port: 3306
52 params: backup check