General good practice is to keep them set to the same dir as brokers can share scheduler info as well (if that feature is used). However you might consider keeping logs locally.
Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net 2012/1/3 Stevo Slavić <ssla...@gmail.com> > Thanks Dejan for clarifying this one! > > Example config for shared filesystem storage master/slave setup found here > http://activemq.apache.org/shared-file-system-master-slave.html shows just > persistenceAdapeter configuration so I assume it should be enough to > configure just persistenceAdapter directory to use shared filesystem. > > For that ActiveMQ setup, would it be an error or is it on the contrary > preferred that broker dataDirectory points to same shared filesystem too? > > Regards, > Stevo. > > On Tue, Jan 3, 2012 at 12:07 PM, Dejan Bosanac <de...@nighttale.net> > wrote: > > > Hi, > > > > dataDirectory is used to hold other stuff as well, such as temp store and > > scheduler store. By default kahaDB uses dataDir/kahadb > > > > Regards > > -- > > Dejan Bosanac - http://twitter.com/dejanb > > ----------------- > > The experts in open source integration and messaging - > > http://fusesource.com > > ActiveMQ in Action - http://www.manning.com/snyder/ > > Blog - http://www.nighttale.net > > > > > > On Fri, Dec 30, 2011 at 9:51 AM, Stevo Slavić <ssla...@gmail.com> wrote: > > > > > Hello ActiveMQ community, > > > > > > I was wondering: > > > > > > What is broker dataDirectory being used for? > > > > > > Is there a case where one would want it to be different from directory > of > > > persistenceAdapter like kahaDB? > > > > > > Regards, > > > Stevo. > > > > > >