blob: c7c9ec21b40d6935e234c07a1b4bf4813b3ce208 [file] [log] [blame]
Filip Pytlounef5b0af2015-10-06 16:28:32 +02001applications:
2- rabbitmq
3parameters:
4 rabbitmq:
5 server:
6 enabled: true
7 secret_key: ${_param:rabbitmq_secret_key}
8 memory:
9 vm_high_watermark: 0.8
10 bind:
11 address: ${_param:cluster_local_address}
12 port: 5672
13 plugins:
14 - amqp_client
15 - rabbitmq_management
16 admin:
17 name: admin
18 password: ${_param:rabbitmq_admin_password}
19 host:
20 '/openstack':
21 enabled: true
22 user: openstack
23 password: ${_param:rabbitmq_openstack_password}
24 policies:
25 - name: HA
26 pattern: '^(?!amq\.).*'
27 definition: '{"ha-mode": "all"}'
28 cluster:
29 enabled: true
30 name: openstack
31 role: ${_param:rabbitmq_cluster_role}
32 master: ${_param:cluster_node01_hostname}
33 mode: disc
34 members:
35 - name: ${_param:cluster_node01_hostname}
36 host: ${_param:cluster_node01_address}
37 - name: ${_param:cluster_node02_hostname}
38 host: ${_param:cluster_node02_address}
39 - name: ${_param:cluster_node03_hostname}
40 host: ${_param:cluster_node03_address}
41 haproxy:
42 proxy:
43 listen:
44 rabbitmq_cluster:
45 type: rabbitmq
46 binds:
47 - address: ${_param:cluster_vip_address}
48 port: 5672
49 servers:
50 - name: ctl01
51 host: ${_param:cluster_node01_address}
52 port: 5672
53 params: check inter 5000 rise 2 fall 3
54 - name: ctl02
55 host: ${_param:cluster_node02_address}
56 port: 5672
57 params: backup check inter 5000 rise 2 fall 3
58 - name: ctl03
59 host: ${_param:cluster_node03_address}
60 port: 5672
61 params: backup check inter 5000 rise 2 fall 3