Re: Listening ip in postgres database cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 
You need to assign a virtual IP (VIP) to your cluster and applications using VIP to connect instead if physical IP so in case of failover VIP will assign to new master.
I suggest to use keepalive for VIP

Regards
Abbas

On 28 Dec 2022, at 7:58 PM, Erik Serrano <eserranos@xxxxxxxxx> wrote:


Hello guys,

I have a question, it happens that I have a monitoring web application that connects to my postgresql onpremise database... so far so good, however I need to do a HA cluster replication between the databases and the tests I have done have worked in my laboratory.
However, I have 2 nodes that replicate with different ips... but my application should only see one ip, and when it changes due to failover it stops seeing the server and I must change it manually and restore it when I do the switchover (go back or normalize the database cluster) .
I would like to know if there is any open source application, script or configuration that allows switching the IPs in case of failover... something like a listener (sqlserver) but postgres.

I would greatly appreciate if you can give me ideas to solve this problem to set up a laboratory and solve the problem.

Thank you very much guys in advance
regards


Erik R. Serrano Saavedra
Ingeniero de Sistemas Informáticos
      Data Base Administrator
        eserranos@xxxxxxxxx
                 998596691

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux