<div dir="auto">Thanks, I'll check it out. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 May 2024, 05:22 Bo Peng, <<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
> I did a setup PostgreSQL 16, and Pgpool-II on Ubuntu 22.04, to create a<br>
> 3_node cluster,<br>
> But backend_hostname3 is not being used by the pgpool !<br>
<br>
The number in backend_hostnameX should start from 0.<br>
<br>
<a href="https://www.pgpool.net/docs/latest/en/html/runtime-config-backend-settings.html" rel="noreferrer noreferrer" target="_blank">https://www.pgpool.net/docs/latest/en/html/runtime-config-backend-settings.html</a><br>
<br>
If you want to create a 3 postgresql nodes cluster,<br>
you should set:<br>
<br>
backend_hostname0<br>
backend_hostname1<br>
backend_hostname2<br>
<br>
If the settings above don't work, could you share your pgpool.conf and log files?<br>
<br>
> Is there limitations on Ubuntu or there is a solution for that??<br>
> <br>
> Also I had to make some changes on follow_primary.sh and recovery_1_stage<br>
> and all scripts contains postgresql.conf path, because of postgresql.conf<br>
> is on /etc/postgres path by default but my Data directory is /data as<br>
> example when setup postgres on ubuntu.<br>
<br>
You need to modify the scripts to meet your setup.<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank" rel="noreferrer">pengbo@sraoss.co.jp</a>><br>
SRA OSS LLC<br>
TEL: 03-5979-2701 FAX: 03-5979-2702<br>
URL: <a href="https://www.sraoss.co.jp/" rel="noreferrer noreferrer" target="_blank">https://www.sraoss.co.jp/</a><br>
</blockquote></div>