<div dir="ltr"><div dir="ltr">Dears<div><br></div><div>I&#39;m having a problem regarding a high availability setup on Microsoft Azure since PG Pool high availability depends on the existence of Virtual IP, which simply doesn&#39;t work on Microsoft Azure and is not visible except on the same virtual machine.</div><div><br></div><div>I found the example for Amazon AWS below, but I don&#39;t like the solution that it&#39;s a public IP visible to the internet, and we can&#39;t accept that for security reasons, also I didn&#39;t find a comparable example on Microsoft Azure too.</div><div><br></div><div><a href="https://www.pgpool.net/docs/latest/en/html/example-aws.html">https://www.pgpool.net/docs/latest/en/html/example-aws.html</a></div><div><br></div><div>Also in addition to that I tried to disregard the virtual IP and configure my application using both internal IPs of both pg pool servers, but as per my observation I found the following:</div><div><br></div><div>1- Double the needed connections are opened to both backend application servers, which shouldn&#39;t be good to Postgres servers performance according to &quot;PostgreSQL High Availability Cookbook&quot; ( that Postgres performance is acceptable when the number of open connection is ~ triple the number of cores)</div><div>2- Also I find that both pg pool servers behave as Active/Active and can be used at the same time.</div><div><br></div><div>So what is the recommended solution in this case?</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Shereef Sakr<br>------------------------------------------------------------------<br></div></div></div></div></div></div></div></div>