activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Pure Master Slave scenario - questions
Date Thu, 03 Jun 2010 06:35:39 GMT

Hi,

In a pure master slave running on the same machine / server, are we oblige
to activate persistence like that ?

Master

<broker xmlns="http://activemq.apache.org/schema/core"  brokerName="master"
waitForSlave="true" shutdownOnSlaveFailure="true" persistent="true"
dataDirectory="${activemq.base}/datamaster">

Slave

<broker xmlns="http://activemq.apache.org/schema/core"
masterConnectorURI="tcp://localhost:61616" brokerName="slave"
shutdownOnMasterFailure="true" persistent="true"
dataDirectory="${activemq.base}/dataslave">

AND 

Do we have to share the same data directory for the persistence adapter
between master and slave ?

        <persistenceAdapter>
            <amqPersistenceAdapter directory="d:/data/amqstore"
maxFileLength="128mb"/>
        </persistenceAdapter> 

KR,

Charles


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/Pure-Master-Slave-scenario---questions-tp28763666p28763666.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message