qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: recovering a persistent cluster after a clean shutdown
Date Fri, 03 Sep 2010 16:38:54 GMT
On 09/03/2010 09:23 AM, Robert ┼╗migrodzki wrote:
>  I have a problem with recovering a persistent cluster after a clean 
> shutdown. Here is my scenario:
>
> Fedora 13
>
> yum install qpidd-cluster
> yum install qpidc-devel
> yum install amqp python-qpid
> yum install rhm
>
> qpidd -p5672 --cluster-name=MY_CLUSTER -d --data-dir /root/qpid/q2 
> --store-dir /root/qpid/s2 --auth=no
>
> Everything looks OK so far. I can create queues, send and receive 
> messages.
>
> Then I shut down the running instance.
>
> qpid-cluster -s 10.0.2.15:18148
>
> The server shuts down cleanly, without any visible warnings. But then 
> I want to restart the server.
>
> qpidd -p5672 --cluster-name=MY_CLUSTER -d --data-dir /root/qpid/q2 
> --store-dir /root/qpid/s2 --auth=no
>
> And what I get is an error message:
> *Deamon startup failed: Cannot recover, no clean store*
>
> Shouldn't the last working server in a cluster (in this case the only 
> one) have a clean storage after a clean restart? Or perhaps
> I do something wrong? I've googled around but didn't find anything 
> that would solve my problem. Any help is welcomed.
>
>
> -- 
> Robert
>
>
>
>
>
>
>
>


 From Alan

You should use qpid-cluster -k to stop the entire cluster, even though 
there's only one member. That will cause the stores to be marked as clean.

1.3 will work the way he expects: if the cluster is reduced to a single 
member its store will be marked clean.

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


Mime
View raw message