With a 'pure' master/slave configuration, you want the master and slave brokers to run on their own separate machines, so you shouldn't have to fiddle with their default data directory settings.
Do you have the 'masterConnectorURI' attribute set on the slave broker? For example, <broker xmlns="http://activemq.org/config/1.0" masterConnectorURI="tcp://masterhost:62001" brokerName="slave" dataDirectory="${activemq.base}/data"> Joe CobraTheSleek wrote: > > Hi, > > I am trying to understand the master/slave configuration. > > I am following the instructions on the website: > > "shutdown the slave broker (The clients do not need to be shutdown - they > will wait until the topology is re-established if they are failover > clients > copy the data directory from the slave over the data directory of the > master broker > re-start the master and the slave " > > The directories of the slave is ${ACTIVEMQ_HOME}/data-slave while the > directory of the master is at ${ACTIVEMQ_HOME}/data > > When I overrite the data directory with the data-slave directory, the > messages persisted in the queue are not available when the master starts > up. > > What am I missing? Which directories do I specifically need to override > with data from the slave? > > Thanks much in advance. > -- View this message in context: http://www.nabble.com/Assistance-with-Master-Slave-tp15054743s2354p15065238.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
