activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santonel <stefanoantone...@tin.it>
Subject Activemq 5.9 leveldb replication problem
Date Tue, 02 Jul 2013 07:42:37 GMT
I'm trying to setup a replicated LevelDB Store (following the instruction on
http://activemq.apache.org/replicated-leveldb-store.html).
The version i'm using of activemq is 5.9 snapshot (20130609.215120-72).

I've setup 3 zookeeper servers and 4 activemq servers (3 replica nodes so
that I can take one down without suffering a service outage) using the
following configuration for each one (all broker have the same name):

        <persistenceAdapter>
            <replicatedLevelDB
                  directory="${activemq.data}"
                  replicas="3"	  
		  hostname="192.168.56.110"     //192.168.56.111, 192.168.56.112,
192.168.56.113
                  bind="tcp://0.0.0.0:61619" 
                 
zkAddress="192.168.56.102:2181,192.168.56.103:2181,192.168.56.104:2181"
		  zkPath="/activemq/leveldb-stores"
	    />
        </persistenceAdapter>
		
The server run smooth, if I take down the master one replica will come up,
so far, so good.

The problem arise when I create a queue and put some messages in the server.
The data will not propagate to the slaves, so if I take down (activemq stop
using wrapper) the server
where i have created the queue and the messages, one slave come up but
without the master queue/messages.

I've also try the same configuration, with the options "sync" with value
quorum_disk, to be sure that any changes will be written in local disk and
remote disk,
but no lucky.

I'm wrong with some configuration? I can't figure it out, any help will be
appreciated.

Thanks!

--Stefano




--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-5-9-leveldb-replication-problem-tp4668775.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message