Enable rabbit HA queues for Ranger-agent pods

Change-Id: I25214b0174549c66fc4de01a5703d557cce314ad
This commit is contained in:
Chi Lo 2019-10-13 04:55:42 -07:00
parent f6537ed4f8
commit 759acc5fb4
1 changed files with 15 additions and 0 deletions

View File

@ -560,6 +560,8 @@ conf:
retry_limits: 5
oslo_messaging_notifications:
driver: messagingv2
oslo_messaging_rabbit:
rabbit_ha_queues: true
ssh:
user: ranger_agent
user_home: /home/ranger_agent
@ -568,3 +570,16 @@ conf:
ssh_config: null
test:
expected_end_status_key: Success
rabbitmq:
policies:
- vhost: "ranger-agent"
name: "ha_ttl_ranger_agent"
definition:
#mirror messges to other nodes in rmq cluster
ha-mode: "all"
ha-sync-mode: "automatic"
#70s
message-ttl: 70000
priority: 0
apply-to: all
pattern: '^(?!(amq\.|reply_)).*'