You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by AD <st...@gmail.com> on 2008/08/05 15:40:01 UTC
pure master/slave
I am looking at using pure master/slave for redundancy but the following
statement concerns me:
"The master broker will only respond to a client when a message exchange has
been successfully passed to the slave. For example, a commit
in a clients transaction will not complete until the master and the slave
have processed the commit."
Does this mean if the slave is down the broker wont process messages ?
Adam
Re: pure master/slave
Posted by Rob Davies <ra...@gmail.com>.
Great! thx!
On 19 Aug 2008, at 13:37, Nicolas Mervaillie wrote:
> Hi all,
>
> For a test case, see http://issues.apache.org/activemq/browse/AMQ-1820
>
> cheers
>
> Nicolas
>
> 2008/8/18 Rob Davies <ra...@gmail.com>
>
>> Yes - this is bizarre - and what you are seeing is not by design
>> Could you submit a test case ?
>>
>> cheers,
>>
>> Rob
>>
>> Rob Davies
>> http://rajdavies.blogspot.com/
>>
>>
>>
>> On 18 Aug 2008, at 02:13, AD wrote:
>>
>> It doesnt seem that this comment from the site is in the context of a
>>> failover, only that if a master cant contact a slave, it wont
>>> process
>>> messages. In a cluster setup this seems quite bizarre that the
>>> system
>>> would
>>> stop responding if the passive node was down.
>>>
>>> On Fri, Aug 15, 2008 at 8:04 AM, Hiram Chirino <hiram@hiramchirino.com
>>>> wrote:
>>>
>>> Yes that is exactly right. The master cannot take over from the
>>> slave.
>>>>
>>>> On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
>>>>
>>>>>
>>>>> I have the same question on it. When I kills slave broker, I
>>>>> have found
>>>>>
>>>> that
>>>>
>>>>> the master broker is down as well.
>>>>> AMQ developer, would you please explain it for us. Thanks a lot.
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>>> http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
>>>>
>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Hiram
>>>>
>>>> Blog: http://hiramchirino.com
>>>>
>>>> Open Source SOA
>>>> http://open.iona.com
>>>>
>>>>
>>
Re: pure master/slave
Posted by Nicolas Mervaillie <nm...@gmail.com>.
Hi all,
For a test case, see http://issues.apache.org/activemq/browse/AMQ-1820
cheers
Nicolas
2008/8/18 Rob Davies <ra...@gmail.com>
> Yes - this is bizarre - and what you are seeing is not by design
> Could you submit a test case ?
>
> cheers,
>
> Rob
>
> Rob Davies
> http://rajdavies.blogspot.com/
>
>
>
> On 18 Aug 2008, at 02:13, AD wrote:
>
> It doesnt seem that this comment from the site is in the context of a
>> failover, only that if a master cant contact a slave, it wont process
>> messages. In a cluster setup this seems quite bizarre that the system
>> would
>> stop responding if the passive node was down.
>>
>> On Fri, Aug 15, 2008 at 8:04 AM, Hiram Chirino <hiram@hiramchirino.com
>> >wrote:
>>
>> Yes that is exactly right. The master cannot take over from the slave.
>>>
>>> On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
>>>
>>>>
>>>> I have the same question on it. When I kills slave broker, I have found
>>>>
>>> that
>>>
>>>> the master broker is down as well.
>>>> AMQ developer, would you please explain it for us. Thanks a lot.
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>> http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
>>>
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Hiram
>>>
>>> Blog: http://hiramchirino.com
>>>
>>> Open Source SOA
>>> http://open.iona.com
>>>
>>>
>
Re: pure master/slave
Posted by Rob Davies <ra...@gmail.com>.
Yes - this is bizarre - and what you are seeing is not by design
Could you submit a test case ?
cheers,
Rob
Rob Davies
http://rajdavies.blogspot.com/
On 18 Aug 2008, at 02:13, AD wrote:
> It doesnt seem that this comment from the site is in the context of a
> failover, only that if a master cant contact a slave, it wont process
> messages. In a cluster setup this seems quite bizarre that the
> system would
> stop responding if the passive node was down.
>
> On Fri, Aug 15, 2008 at 8:04 AM, Hiram Chirino
> <hi...@hiramchirino.com>wrote:
>
>> Yes that is exactly right. The master cannot take over from the
>> slave.
>>
>> On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
>>>
>>> I have the same question on it. When I kills slave broker, I have
>>> found
>> that
>>> the master broker is down as well.
>>> AMQ developer, would you please explain it for us. Thanks a lot.
>>>
>>> --
>>> View this message in context:
>> http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
Re: pure master/slave
Posted by James Strachan <ja...@gmail.com>.
FWIW some folks might not want a broker to process any messages if it
can't be sure that messages are being replicated to another data
centre. i.e. having a single broker own messages might be a concern.
Its kinda like having the failover option; where if a master dies, the
slave also can shut down too (as having 2 copies of each message in 2
data centres at all times might be a requirement).
2008/8/18 AD <st...@gmail.com>:
> It doesnt seem that this comment from the site is in the context of a
> failover, only that if a master cant contact a slave, it wont process
> messages. In a cluster setup this seems quite bizarre that the system would
> stop responding if the passive node was down.
>
> On Fri, Aug 15, 2008 at 8:04 AM, Hiram Chirino <hi...@hiramchirino.com>wrote:
>
>> Yes that is exactly right. The master cannot take over from the slave.
>>
>> On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
>> >
>> > I have the same question on it. When I kills slave broker, I have found
>> that
>> > the master broker is down as well.
>> > AMQ developer, would you please explain it for us. Thanks a lot.
>> >
>> > --
>> > View this message in context:
>> http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
>> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>> >
>> >
>>
>>
>>
>> --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
>
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: pure master/slave
Posted by AD <st...@gmail.com>.
It doesnt seem that this comment from the site is in the context of a
failover, only that if a master cant contact a slave, it wont process
messages. In a cluster setup this seems quite bizarre that the system would
stop responding if the passive node was down.
On Fri, Aug 15, 2008 at 8:04 AM, Hiram Chirino <hi...@hiramchirino.com>wrote:
> Yes that is exactly right. The master cannot take over from the slave.
>
> On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
> >
> > I have the same question on it. When I kills slave broker, I have found
> that
> > the master broker is down as well.
> > AMQ developer, would you please explain it for us. Thanks a lot.
> >
> > --
> > View this message in context:
> http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>
Re: pure master/slave
Posted by Hiram Chirino <hi...@hiramchirino.com>.
Yes that is exactly right. The master cannot take over from the slave.
On Wed, Aug 6, 2008 at 2:21 AM, qlin <li...@gmail.com> wrote:
>
> I have the same question on it. When I kills slave broker, I have found that
> the master broker is down as well.
> AMQ developer, would you please explain it for us. Thanks a lot.
>
> --
> View this message in context: http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
Regards,
Hiram
Blog: http://hiramchirino.com
Open Source SOA
http://open.iona.com
Re: pure master/slave
Posted by qlin <li...@gmail.com>.
I have the same question on it. When I kills slave broker, I have found that
the master broker is down as well.
AMQ developer, would you please explain it for us. Thanks a lot.
--
View this message in context: http://www.nabble.com/pure-master-slave-tp18831368p18845063.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.