Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20C5E18C0F for ; Fri, 4 Dec 2015 17:18:36 +0000 (UTC) Received: (qmail 49281 invoked by uid 500); 4 Dec 2015 17:18:35 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 49217 invoked by uid 500); 4 Dec 2015 17:18:35 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 49201 invoked by uid 99); 4 Dec 2015 17:18:35 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 17:18:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D32FF1A5F8B for ; Fri, 4 Dec 2015 17:18:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id adEOQ5oJTVkp for ; Fri, 4 Dec 2015 17:18:34 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C75D642B82 for ; Fri, 4 Dec 2015 17:18:33 +0000 (UTC) Received: by wmec201 with SMTP id c201so83966973wme.0 for ; Fri, 04 Dec 2015 09:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LbfsmeH6tihDtCJJ3hxfhwNbR3EZ2Ho+c3UjqEO2Ovo=; b=LSPHCjuFaxA/reK9j4i+eXhkNOsVpIqvFwkiZJKV+63qcoRHacfv4J09Et14uf9d4y zYiLga4rMACnEMGpTJGCi3A4JcPTemnZT7dbdLrGhwGABLmIwAh26Y8+sl/SZnW0927X E5gi7H4OwQ8x3QEK2quSB6IJ6PfuVPcdO+Zpw4foHrVjyyr3TM8wZHBonMvT4o53gKt3 ebzRi61N/1BMN1XbIJFdM+XzDEJ90q2WT+S4Ls3mxjvWMp/1MOBBIhO3Y9VsolSyuHys +H5NvS6CHL57YbSZnAIR1OtH6GpoZipupz8iDTcABzUOy7v6FfZwJbJhudbdsUZv1Fre smGQ== MIME-Version: 1.0 X-Received: by 10.194.59.108 with SMTP id y12mr18787358wjq.33.1449249512914; Fri, 04 Dec 2015 09:18:32 -0800 (PST) Received: by 10.194.90.80 with HTTP; Fri, 4 Dec 2015 09:18:32 -0800 (PST) In-Reply-To: <8FB20314-C4E6-4EAD-9E42-990015F26749@gmail.com> References: <8FB20314-C4E6-4EAD-9E42-990015F26749@gmail.com> Date: Fri, 4 Dec 2015 17:18:32 +0000 Message-ID: Subject: Re: how to implement "database HA" feature From: Gonzalo Herreros To: user Content-Type: multipart/alternative; boundary=047d7ba9797e688d1c052615b228 --047d7ba9797e688d1c052615b228 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I don't know what is this "Database HA" feature but I can tell you what I do. I use Kafka channels and have multiple agents with the same configuration. In front of the agents I have an http load balancer. That way, any agent can accept requests and any agent can process them once in the channel. In addition, Cloudera Manager monitors are restarts agents if they die. Regards, Gonzalo On 4 December 2015 at 16:18, Zhishan Li wrote: > How to implement the =E2=80=9CDatabase HA=E2=80=9D failover feature? > > I have read > https://flume.apache.org/FlumeUserGuide.html#handling-agent-failures but > still without ideas. Please show me more details information? > > Thanks > --047d7ba9797e688d1c052615b228 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I don't know what is this "Database HA" feat= ure but I can tell you what I do.

I use Kafka channels a= nd have multiple agents with the same configuration. In front of the agents= I have an http load balancer.
That way, any agent can accept req= uests and any agent can process them once in the channel.

In addition, Cloudera Manager monitors are restarts agents if they = die.

Regards,
Gonzalo

On 4 December 2015 at 16= :18, Zhishan Li <zhishanlee@gmail.com> wrote:
How to implement= the =E2=80=9CDatabase HA=E2=80=9D failover feature?

I h= ave read=C2=A0https://flume.apache.org/FlumeUserGui= de.html#handling-agent-failures=C2=A0but still without ideas. Please sh= ow me more details information?

Thanks
=

--047d7ba9797e688d1c052615b228--