You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Se...@troika.ru on 2011/02/03 14:35:53 UTC

Qpid: cluster-durable queues

Hi there,

I'm using qpid 0.8 and I'd like to use cluster durable queues.

Here is my test case:

1. Start a cluster that contains two nodes.
2. Create cluster durable queue: qpid-config add queue MyQueue 
--cluster-durable 
3. Kill one node by means of kill -9
4. Restart qpid on the second node
5. Expect cluster durable queue exists.

However there is no just created queue.

What I'm doing wrong?


Best Regards,
Sergey Zhemzhitsky

Re: Qpid: cluster-durable queues

Posted by Se...@troika.ru.
Thanks a lot for help.


Best Regards,
Sergey Zhemzhitsky




Alan Conway <ac...@redhat.com> 
09.02.2011 17:40
Please respond to
users@qpid.apache.org


To
users@qpid.apache.org
cc
Sergey_Zhemzhitsky@troika.ru
Subject
Re: Qpid: cluster-durable queues






On 02/08/2011 01:47 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Carl, thanks a lot.
>
> Could you provide me with links to read more about cman and quorum
> manager?

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Suite_Overview/s1-hasci-overview-CSO.html#s2-clumembership-overview-CSO



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org



Re: Qpid: cluster-durable queues

Posted by Alan Conway <ac...@redhat.com>.
On 02/08/2011 01:47 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Carl, thanks a lot.
>
> Could you provide me with links to read more about cman and quorum
> manager?

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Suite_Overview/s1-hasci-overview-CSO.html#s2-clumembership-overview-CSO


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: Qpid: cluster-durable queues

Posted by Se...@troika.ru.
Carl, thanks a lot.

Could you provide me with links to read more about cman and quorum 
manager?


Best Regards,
Sergey Zhemzhitsky




Carl Trieloff <cc...@redhat.com> 
07.02.2011 16:56
Please respond to
users@qpid.apache.org


To
users@qpid.apache.org
cc

Subject
Re: Qpid: cluster-durable queues







yes, that is correct.

One note is that if you use cman as a quorum manager, it will not let 
you get
down to 1 node unless you set weights in your cman config.

Carl.


On 02/07/2011 01:46 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Hi Gordon,
>
> So, if a queue is --durable, no persistent messages will be lost.
> If the queue is --durable and --cluster-durable all non persistent
> messages will become persistent when only one node of the cluster 
remains.
>
> Is my understanding of --cluster-durable option correct?
>
>
> Best Regards,
> Sergey Zhemzhitsky
>
>
>
>
> Gordon Sim<gs...@redhat.com>
> 04.02.2011 19:47
> Please respond to
> users@qpid.apache.org
>
>
> To
> users@qpid.apache.org
> cc
>
> Subject
> Re: Qpid: cluster-durable queues
>
>
>
>
>
>
> On 02/03/2011 02:40 PM, Sergey_Zhemzhitsky@troika.ru wrote:
>> I want my queue to become durable when only one node in the cluster
> stands
>> alive. I believe this is what the --cluster-durable option is for.
> The --cluster-durable option only works for durable queues. Its function
> is to make any transient *messages* on that queue persistent when the
> cluster drops down to the last node.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org



Re: Qpid: cluster-durable queues

Posted by Carl Trieloff <cc...@redhat.com>.
yes, that is correct.

One note is that if you use cman as a quorum manager, it will not let 
you get
down to 1 node unless you set weights in your cman config.

Carl.


On 02/07/2011 01:46 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Hi Gordon,
>
> So, if a queue is --durable, no persistent messages will be lost.
> If the queue is --durable and --cluster-durable all non persistent
> messages will become persistent when only one node of the cluster remains.
>
> Is my understanding of --cluster-durable option correct?
>
>
> Best Regards,
> Sergey Zhemzhitsky
>
>
>
>
> Gordon Sim<gs...@redhat.com>
> 04.02.2011 19:47
> Please respond to
> users@qpid.apache.org
>
>
> To
> users@qpid.apache.org
> cc
>
> Subject
> Re: Qpid: cluster-durable queues
>
>
>
>
>
>
> On 02/03/2011 02:40 PM, Sergey_Zhemzhitsky@troika.ru wrote:
>> I want my queue to become durable when only one node in the cluster
> stands
>> alive. I believe this is what the --cluster-durable option is for.
> The --cluster-durable option only works for durable queues. Its function
> is to make any transient *messages* on that queue persistent when the
> cluster drops down to the last node.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: Qpid: cluster-durable queues

Posted by Se...@troika.ru.
Hi Gordon,

So, if a queue is --durable, no persistent messages will be lost. 
If the queue is --durable and --cluster-durable all non persistent 
messages will become persistent when only one node of the cluster remains.

Is my understanding of --cluster-durable option correct?


Best Regards,
Sergey Zhemzhitsky




Gordon Sim <gs...@redhat.com> 
04.02.2011 19:47
Please respond to
users@qpid.apache.org


To
users@qpid.apache.org
cc

Subject
Re: Qpid: cluster-durable queues






On 02/03/2011 02:40 PM, Sergey_Zhemzhitsky@troika.ru wrote:
> I want my queue to become durable when only one node in the cluster 
stands
> alive. I believe this is what the --cluster-durable option is for.

The --cluster-durable option only works for durable queues. Its function 
is to make any transient *messages* on that queue persistent when the 
cluster drops down to the last node.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org



Re: Qpid: cluster-durable queues

Posted by Gordon Sim <gs...@redhat.com>.
On 02/03/2011 02:40 PM, Sergey_Zhemzhitsky@troika.ru wrote:
> I want my queue to become durable when only one node in the cluster stands
> alive. I believe this is what the --cluster-durable option is for.

The --cluster-durable option only works for durable queues. Its function 
is to make any transient *messages* on that queue persistent when the 
cluster drops down to the last node.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: Qpid: cluster-durable queues

Posted by Se...@troika.ru.
Hi Carl,

I want my queue to become durable when only one node in the cluster stands 
alive. I believe this is what the --cluster-durable option is for.


Best Regards,
Sergey Zhemzhitsky




Carl Trieloff <cc...@redhat.com> 
03.02.2011 17:36
Please respond to
users@qpid.apache.org


To
users@qpid.apache.org
cc

Subject
Re: Qpid: cluster-durable queues






On 02/03/2011 08:35 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Hi there,
>
> I'm using qpid 0.8 and I'd like to use cluster durable queues.
>
> Here is my test case:
>
> 1. Start a cluster that contains two nodes.
> 2. Create cluster durable queue: qpid-config add queue MyQueue
> --cluster-durable
> 3. Kill one node by means of kill -9
> 4. Restart qpid on the second node
> 5. Expect cluster durable queue exists.
>
> However there is no just created queue.
>
> What I'm doing wrong?
>
>
> Best Regards,
> Sergey Zhemzhitsky
>


I believe you want --durable  not cluster-durable for your use-case.

Carl.




---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org



Re: Qpid: cluster-durable queues

Posted by Carl Trieloff <cc...@redhat.com>.
On 02/03/2011 08:35 AM, Sergey_Zhemzhitsky@troika.ru wrote:
> Hi there,
>
> I'm using qpid 0.8 and I'd like to use cluster durable queues.
>
> Here is my test case:
>
> 1. Start a cluster that contains two nodes.
> 2. Create cluster durable queue: qpid-config add queue MyQueue
> --cluster-durable
> 3. Kill one node by means of kill -9
> 4. Restart qpid on the second node
> 5. Expect cluster durable queue exists.
>
> However there is no just created queue.
>
> What I'm doing wrong?
>
>
> Best Regards,
> Sergey Zhemzhitsky
>


I believe you want --durable  not cluster-durable for your use-case.

Carl.




---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org