Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - rabbitmq |
Ales Komarek | a07cd78 | 2015-12-04 14:32:17 +0100 | [diff] [blame] | 3 | classes: |
| 4 | - service.rabbitmq.support |
Kirill Bespalov | b0cd0ae | 2017-05-30 17:45:13 +0300 | [diff] [blame] | 5 | |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 6 | parameters: |
| 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 Konecny | 01494bb | 2016-04-11 12:04:02 +0200 | [diff] [blame] | 16 | management: |
| 17 | bind: |
| 18 | address: ${_param:cluster_local_address} |
| 19 | port: 15672 |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 20 | plugins: |
| 21 | - amqp_client |
| 22 | - rabbitmq_management |
| 23 | admin: |
| 24 | name: admin |
| 25 | password: ${_param:rabbitmq_admin_password} |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 26 | 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 Thouvenin | 2978c71 | 2017-02-01 15:54:05 +0100 | [diff] [blame] | 48 | - name: ${_param:cluster_node01_hostname} |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 49 | host: ${_param:cluster_node01_address} |
| 50 | port: 5672 |
Guillaume Thouvenin | 2978c71 | 2017-02-01 15:54:05 +0100 | [diff] [blame] | 51 | params: check inter 5000 rise 2 fall 3 |
| 52 | - name: ${_param:cluster_node02_hostname} |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 53 | host: ${_param:cluster_node02_address} |
| 54 | port: 5672 |
| 55 | params: backup check inter 5000 rise 2 fall 3 |
Guillaume Thouvenin | 2978c71 | 2017-02-01 15:54:05 +0100 | [diff] [blame] | 56 | - name: ${_param:cluster_node03_hostname} |
Filip Pytloun | ef5b0af | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 57 | host: ${_param:cluster_node03_address} |
| 58 | port: 5672 |
| 59 | params: backup check inter 5000 rise 2 fall 3 |