Re: Client IP in Patroni

From: Michael Banck <mbanck(at)gmx(dot)net>
To: Ninad Shah <ninad(dot)shah(at)percona(dot)com>
Cc: Anjul Tyagi <anjul(at)ibosstech-us(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Client IP in Patroni
Date: 2022-11-21 19:07:56
Message-ID: 637bcc8d.170a0220.d85c0.6cb3@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

On Tue, Nov 22, 2022 at 12:27:38AM +0530, Ninad Shah wrote:
> Also, it is not compulsory to use HAProxy as a front of Patroni. You
> may use Pgbouncer instead of HAProxy as well, however there some
> concerns associated with it.

Another option would be to use vip-manager in order to maintain a
virtual ip on the leader node, or to use client-based failover by
putting all Patroni hosts in the connection string along with the
target_session_attrs option.

Michael

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Frank Rueter 2022-11-21 22:16:10 Re: user credentials rejected by pgAdmin right after new install
Previous Message Ninad Shah 2022-11-21 18:57:38 Re: Client IP in Patroni