blob: e756e1f03d5f19025d162f998dd6cae803fc6ec2 [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
32 users:
33 - name: haproxy
34 host: localhost
35 - name: haproxy
36 host: '%'
37 - name: haproxy
38 host: ${_param:cluster_local_address}
39 haproxy:
40 proxy:
41 listen:
42 mysql_cluster:
43 type: mysql
44 binds:
45 - address: ${_param:cluster_vip_address}
46 port: 3306
47 servers:
48 - name: ctl01
49 host: ${_param:cluster_node01_address}
50 port: 3306
51 params: check
52 - name: ctl02
53 host: ${_param:cluster_node02_address}
54 port: 3306
55 params: backup check
56 - name: ctl03
57 host: ${_param:cluster_node03_address}
58 port: 3306
59 params: backup check