Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22CA410D7D for ; Sun, 26 Jan 2014 03:08:37 +0000 (UTC) Received: (qmail 4735 invoked by uid 500); 26 Jan 2014 03:08:35 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 4701 invoked by uid 500); 26 Jan 2014 03:08:34 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 4693 invoked by uid 99); 26 Jan 2014 03:08:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jan 2014 03:08:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.19.15.108] (HELO ro.nux.ro) (217.19.15.108) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jan 2014 03:08:28 +0000 Received: from webmail.nux.ro (localhost [127.0.0.1]) by ro.nux.ro (Postfix) with ESMTP id 255E019F6A5 for ; Sun, 26 Jan 2014 03:08:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=li.nux.ro; s=dkimnux; t=1390705688; bh=7G6+QkLWFcaq0WPf1WVr0V+q1Dhvmpz+yI4/1j8V52M=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:In-Reply-To:References:Message-ID; b=luamsuusVHKHIaq3fgEDAMtlGu0F2O+9UcIoVlRrvUWBqhgz2ayTGyzVUPR4CZyO7 wOtMLEz3c61jtOwgAofg/A2Kefsznq+BgligXIOi70A867Ml8PFdp9ZyC2lFD5HfiQ Jqx3iuE6+QjxIXJ0p9NkumZ2ybxrACQtwT2L9shc= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 26 Jan 2014 03:08:08 +0000 From: Nux! To: users@cloudstack.apache.org Subject: Re: Connect to a MySQL Galera Cluster In-Reply-To: <52E4740B.9000808@cloudops.com> References: <52E4740B.9000808@cloudops.com> Message-ID: <5b0decdfd94fddd2f384feb0f1e71f5f@li.nux.ro> X-Sender: nux@li.nux.ro User-Agent: Roundcube Webmail/0.9-beta X-Virus-Checked: Checked by ClamAV on apache.org On 26.01.2014 02:33, Francois Gaudreault wrote: > We are trying to make CloudStack to work with a Galera two node > master/master cluster. We have a NetScaler doing DataStream LB in > front of the cluster, and we have two CloudStack management servers in > active/active. > > Anyone had success with this kind of scenario? As soon as I shut a > MySQL node, the CloudStack JDBC panics, and the management server > fence themselves. Why this is happening? Is there any way to handle > database failures in HA fashion? Any large cloud providers using > CloudStack handle this? Hello, I know there are people on the ml who are using galera and I'm planning on using it myself for Cloudstack. We already have a 3 node deployment, but it is loadbalanced on virtual IPs and load balancer (we run VIP on each node as well as Haproxy), hopefully this will keep Cloudstack happy, I suggest you do a similar thing. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro