Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 208 invoked from network); 4 May 2007 14:48:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2007 14:48:34 -0000 Received: (qmail 60192 invoked by uid 500); 4 May 2007 14:48:40 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 60164 invoked by uid 500); 4 May 2007 14:48:40 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 60155 invoked by uid 99); 4 May 2007 14:48:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:48:40 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dbudworth@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:48:32 -0700 Received: by an-out-0708.google.com with SMTP id b38so846998ana for ; Fri, 04 May 2007 07:48:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=pY9nLOT6YwG9FMMV3Ay/EEZtkeofzmRaHxI82bqVEO94+3YcVQ8E6i0SLQ0jAfnAC4V/yfyq2xOhVDuX2DAlPNAfxiy0RJa+WlbhXcVxbr5+vA1Xfttc7UxIPdrTQD+elWo4cErjnhhH4vrIC+YCNRes0/v5wWv298qEDm4H9SM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ajzvVgOsQZkIKkaeXQ3IKeXZu3rLL5KjSKOjCXAHCwgauKyAzgsYzrAyXjZpVXPrjmfyxbqN/gbpX8p1Wznvfv79GF6sA9w8R2YF/TT5r2PUArh0bWflG83OksMtBtIrVxzTaZlJ1CvBw7ar1HoLa2oklTWifNnOGJGnjzAUEoM= Received: by 10.100.106.5 with SMTP id e5mr2730407anc.1178290085360; Fri, 04 May 2007 07:48:05 -0700 (PDT) Received: by 10.100.48.6 with HTTP; Fri, 4 May 2007 07:48:05 -0700 (PDT) Message-ID: <2e23d1d20705040748g33f1a44bwb58fab7fc895d17c@mail.gmail.com> Date: Fri, 4 May 2007 09:48:05 -0500 From: "David Budworth" To: users@activemq.apache.org Subject: question about Master/Slave shared-nothing and synchronization MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_52867_16396215.1178290085313" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_52867_16396215.1178290085313 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I mistakenly hijacked another thread yesterday when asking this, so I'll repost it as it's own thread. If I understand the wiki and comments I've read on this list recently, AMQ has no state synchronizer. Meaning that if I have Master / Slave and the Master dies, i can't restart it without stopping the slave, copying it's database over to the master then restarting both. The part I'm confused about is how does work when you have clients attempting to send messages? If I start up the master and clients reconnect and start sending messages, then start the slave, what happens? Do I need the clients to wait until both master and slave are both up before it starts sending? Or does Master -> Slave state sync work fine, it's just that you can't do it the other way? Reason I'm asking is that we currently use SonicMQ for their CAA feature which allows transparent failover / failback which is great. We would like to use AMQ for some things that have special requirements we don't get from SMQ but at the same time we don't want to give up the HA aspects of having the clients not have to be stopped/started in the event we have a broker failure and want to eventually get back to normal Master/Slave environment. Thanks, -David ------=_Part_52867_16396215.1178290085313--