blob: e8c28a90419992fa724e1889ab857410bae686fa [file] [log] [blame]
Filip Pytlounef5b0af2015-10-06 16:28:32 +02001applications:
2- rabbitmq
Ales Komareka07cd782015-12-04 14:32:17 +01003classes:
4- service.rabbitmq.support
Kirill Bespalovb0cd0ae2017-05-30 17:45:13 +03005
Filip Pytlounef5b0af2015-10-06 16:28:32 +02006parameters:
7 rabbitmq:
8 server:
9 enabled: true
10 secret_key: ${_param:rabbitmq_secret_key}
11 memory:
12 vm_high_watermark: 0.8
13 bind:
14 address: ${_param:cluster_local_address}
15 port: 5672
Jiri Konecny01494bb2016-04-11 12:04:02 +020016 management:
17 bind:
18 address: ${_param:cluster_local_address}
19 port: 15672
Filip Pytlounef5b0af2015-10-06 16:28:32 +020020 plugins:
21 - amqp_client
22 - rabbitmq_management
23 admin:
24 name: admin
25 password: ${_param:rabbitmq_admin_password}
Filip Pytlounef5b0af2015-10-06 16:28:32 +020026 cluster:
27 enabled: true
28 name: openstack
29 role: ${_param:rabbitmq_cluster_role}
30 master: ${_param:cluster_node01_hostname}
31 mode: disc
32 members:
33 - name: ${_param:cluster_node01_hostname}
34 host: ${_param:cluster_node01_address}
35 - name: ${_param:cluster_node02_hostname}
36 host: ${_param:cluster_node02_address}
37 - name: ${_param:cluster_node03_hostname}
38 host: ${_param:cluster_node03_address}
39 haproxy:
40 proxy:
41 listen:
42 rabbitmq_cluster:
43 type: rabbitmq
44 binds:
45 - address: ${_param:cluster_vip_address}
46 port: 5672
47 servers:
Guillaume Thouvenin2978c712017-02-01 15:54:05 +010048 - name: ${_param:cluster_node01_hostname}
Filip Pytlounef5b0af2015-10-06 16:28:32 +020049 host: ${_param:cluster_node01_address}
50 port: 5672
Guillaume Thouvenin2978c712017-02-01 15:54:05 +010051 params: check inter 5000 rise 2 fall 3
52 - name: ${_param:cluster_node02_hostname}
Filip Pytlounef5b0af2015-10-06 16:28:32 +020053 host: ${_param:cluster_node02_address}
54 port: 5672
55 params: backup check inter 5000 rise 2 fall 3
Guillaume Thouvenin2978c712017-02-01 15:54:05 +010056 - name: ${_param:cluster_node03_hostname}
Filip Pytlounef5b0af2015-10-06 16:28:32 +020057 host: ${_param:cluster_node03_address}
58 port: 5672
59 params: backup check inter 5000 rise 2 fall 3