activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@apache.com>
Subject Re: How to configure colocated backup servers for data replication approach
Date Thu, 11 Aug 2016 17:41:48 GMT
> What is the deal of setting up colocated backup servers for data replication approach?

I'm not clear on what you're asking here.  Can you clarify your question?


> What are the use cases which we need to set up collocated backup?  How to set it up?

Colocated backups are useful when you want the performance benefits of load-balanced clustering
as well as the data integrity enhancement of high-availability all using the same hardware.
 For example, if you had 2 physical servers and you wanted a load-balanced 2-node cluster
then you would configure a clustered broker on each physical server.  However, there is no
high-availability or fail-over with this approach.  Typically if you wanted to configure HA
you'd add another 2 nodes to serve as backups for the current ones.  However, using colocation
the backup brokers can run in the same JVM as the live brokers..

For configuration information I suggest you consult the documentation [1] as well as the examples
we ship with Artemis (specifically the "ha" examples).



Justin

[1] http://activemq.apache.org/artemis/docs/1.3.0/ha.html


----- Original Message -----
From: "wwang2016" <wayne.wang@impactmobile.com>
To: users@activemq.apache.org
Sent: Thursday, August 11, 2016 11:06:33 AM
Subject: How to configure colocated backup servers for data replication approach

Hi,

The colocated backup servers for shared store approach is to set up a backup
server which basically read the messages that are written by another
instance of live server. 

instance #1(master.1 + slave.1)
instance #2 (master.2 + slave.2)

Where the directory of slave.1 is the same as that of master.2. This will
allow instance#1 to get unprocessed messages from instance#2 when instance#2
has shut down, and vise versa.

Normally when you set up data replication, you would set one instance as
master, and another instance as slave.

I am working on a project that needs me to set up HA for messaging with data
replication, and it looks like I am running into issues with the normal
setup.

What is the deal of setting up colocated backup servers for data replication
approach? 
What are the use cases which we need to set up collocated backup?
How to set it up?

Thanks

Wayne



--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-configure-colocated-backup-servers-for-data-replication-approach-tp4715415.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message