Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 173 invoked from network); 20 Jun 2006 10:34:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2006 10:34:56 -0000 Received: (qmail 62301 invoked by uid 500); 20 Jun 2006 10:34:56 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 62268 invoked by uid 500); 20 Jun 2006 10:34:55 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 62140 invoked by uid 99); 20 Jun 2006 10:34:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 03:34:55 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 03:34:52 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D92B01A983A; Tue, 20 Jun 2006 03:34:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r415603 - in /incubator/activemq/site: features.html replicated-message-store.html shared-file-system-failover.html Date: Tue, 20 Jun 2006 10:34:32 -0000 To: activemq-commits@geronimo.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060620103432.D92B01A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: jstrachan Date: Tue Jun 20 03:34:31 2006 New Revision: 415603 URL: http://svn.apache.org/viewvc?rev=415603&view=rev Log: Latest export from confluence Added: incubator/activemq/site/shared-file-system-failover.html Modified: incubator/activemq/site/features.html incubator/activemq/site/replicated-message-store.html Modified: incubator/activemq/site/features.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/features.html?rev=415603&r1=415602&r2=415603&view=diff ============================================================================== --- incubator/activemq/site/features.html (original) +++ incubator/activemq/site/features.html Tue Jun 20 03:34:31 2006 @@ -245,7 +245,7 @@ - + Added: incubator/activemq/site/shared-file-system-failover.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/shared-file-system-failover.html?rev=415603&view=auto ============================================================================== --- incubator/activemq/site/shared-file-system-failover.html (added) +++ incubator/activemq/site/shared-file-system-failover.html Tue Jun 20 03:34:31 2006 @@ -0,0 +1,271 @@ + + + + + + + + +Shared File System Failover + + + + + +
+ + + + + + +
+ + + +
+ +
+ + + + + + +
+ + + + + +
+ + +
+ + +

Shared File System Failover

+ +

If you have a SAN or shared file system it can be used to provide high availability such that if a broker is killed, another broker can take over immediately.

+ +

Basically you can run as many brokers as you wish from the same shared file system directory. The first broker to grab the exclusive lock on the file is the master broker. If that broker dies and releases the lock then another broker takes over. The slave brokers sit in a loop trying to grab the lock from the master broker.

+ +

Note that the requirements of this failover system are a distributed file system like a SAN for which exclusive file locks work reliably. If you do not have such a thing available then consider using MasterSlave instead which implements something similar but working on commodity hardware using local file systems which ActiveMQ does the replication.

+ +
+
+
+ + + + + + \ No newline at end of file