WildFly HornetQ Collocated Message Replication-Based HA and Load Balancing Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

It is an overlay of the following two procedures:

Start with Collocated Topology with Memory Replication.

Then apply TCP-Based Clustering Configuration in top of it.

Local Example - Two JBoss Instances on the Same VM

Example of relevant parts of a working local two-node cluster configuration files. Both JBoss instances run on the same host, and the second node must be started with a port offset of 200. This example was extensively tested:

Diagram:

Diagram

The actual working configuration files:

https://github.com/NovaOrdis/playground/tree/master/jboss/hornetq/collocated-message-replication-HA-with-load-balancing

Amazon EC2 Example - Two Different VMs

Example of relevant parts of a working Amazon EC2 two-node cluster configuration files: