activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cobrien <clark.obr...@ttmsolutions.com>
Subject Re: master/slave status command
Date Mon, 26 Jul 2010 16:47:07 GMT

Andrew,
Could you satisfy your requirements using advisory messages to listen for
the  ActiveMQ.Advisory.MasterBroker notification to keep track of who is the
master broker?

http://activemq.apache.org/advisory-message.html
Clark 

www.ttmsolutions.com 
ActiveMQ reference guide at 
http://bit.ly/AMQRefGuide


Andrew Wasilczuk-2 wrote:
> 
> Hi there,
> 
> In a shared file system master/slave configuation is there an easy way
> to find out if a given broker is currently a master or slave?
> 
> I tired using activemq-admin query, but it always shows Slave = false.
> 
> I know it's possible to work it out from looking at the logs, however
> this method isn't easily scriptable.
> 
> 
> 
> Many thanks,
> 
> 
> Andrew.
> -- 
> [ Andrew Wasilczuk | Service Support Engineer ]
> [ NetDev Limited   | http://netdev.co.uk      ]
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/master-slave-status-command-tp29265876p29268517.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message