Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxY6r-0002HP-BL for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 13:44:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxY6p-0003f1-E7 for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 13:44:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxY6p-0003en-2H for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 13:44:39 +0000 Received: from smtp6-g21.free.fr ([212.27.42.6]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxY6l-0003FF-UN for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 13:44:37 +0000 Received: from firost (unknown [109.9.170.195]) (Authenticated sender: ioguix) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 73BBC78035D; Wed, 5 Sep 2018 13:44:30 +0000 (UTC) Date: Wed, 5 Sep 2018 15:44:29 +0200 From: "Jehan-Guillaume (ioguix) de Rorthais" To: Thomas Poty Cc: pgsql-general@lists.postgresql.org Subject: Re: increasing HA Message-ID: <20180905154429.6a0f8ccb@firost> In-Reply-To: References: <3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR> <20180905113835.5abbc248@firost> <20180905141524.6ff9d4d1@firost> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 5 Sep 2018 15:06:21 +0200 Thomas Poty wrote: > > In fact, PAF does not support slots. So it is not a good candidate if > > slot are a requirement. > Effectively slots are a requirement we prefer to keep OK, so either patch PAF yourself (not recommended) or choose something else. Note that two other ways are working with Pacemaker: * the pgsql resource agent (see FAQ of PAF) * a shared disk architecture (no pgsql replication) > > > a proxy HAproxy and > > > for fencincg, i am a bit disappointed, i don't know what to do/use > > Depend on your hardware or your virtualization technology. > Our production cluster (master and slave) runs on LXC container. Each LXC > container runs on a HPE Blade Server. The storage is on a SAN 3PAR array. > Any advice ? I suppose you could find fencing agents for: * the blade itself, but it would fence all the container running on it * the access to the SAN from the failing container I don't know if fencing agent exists for a container itself. Note that I'm not familiar with the container world, I lack a lot of knowledge on this technology. ++