Sidebar

How can QIE be configured to use RabbitMQ in a High Availability environment?

0 votes
400 views
asked Oct 8, 2019 by mike-r-7535 (13,830 points)
High Availability will be a native part of QIE starting in version 4.0.47.  How can QIE be configured to use RabbitMQ in this environment?

1 Answer

0 votes

Starting in 4.0.47, multiple instances of QIE can be deployed in a clustered HA environment.  Each QIE instance in this cluster will share a common database.  If message queueing is desired, each QIE instance will connect to a common RabbitMQ environment.  Inbound and outbound messages will be queued through RabbitMQ, and then processed by the QIE instance that picks up the message.  Below are the java options that will need to be added to each QIE instance:

-Dqie.haEngine=RabbitHAServiceImpl
-Dqie.rabbitMQ.host={rabbitMQ-server}
-Dqie.rabbitMQ.port={port rabbitMQ-default:5672}
-Dqie.rabbitMQ.user={rabbitMQ-username}
-Dqie.rabbitMQ.password={rabbitMQ-password}

If tuning is needed, here are some additional options that can be overridden, otherwise you can ignore:
-Dqie.rabbitMQ.bundleSizeLimit=10
-Dqie.rabbitMQ.prefetch=5000
-Dqie.rabbitMQ.durable=true
-Dqie.rabbitMQ.persistent=false
-Dqie.rabbitMQ.queuePrefix=

Here are some resources on setting up a RabbitMQ environment: https://www.qvera.com/kb/index.php/2312/where-find-information-about-setting-rabbitmq-environment

NOTE: High Availability is only supported in QIE Enterprise edition.  QIE Standard edition does not support High Availability.

answered Oct 8, 2019 by mike-r-7535 (13,830 points)
...