<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear All!<br><br></div>I have read many docs, but still have totally silly problems, like the following:<br><br></div>I run two Debian 7.3 boxes, with postgresql 9.3 and pgpool 3. on each.<br>

</div>I use  pgpool's own wd mech.<br><br></div>It seems to work fine in this scenario, but everything fails when I add a 3rd backend node.<br><br></div>I just insert the following section into both pgpool.conf:<br><br>

backend_hostname2 = 'pool-3'<br>backend_port1 = 5433<br>backend_weight1 = 1<br>backend_data_directory1 = '/var/lib/postgresql/9.3/main/'<br>backend_flag1 = 'ALLOW_TO_FAILOVER'<br><br></div>after the first and the second, which are the same, just with backend_hostname0 = 'pool-1', and backend_hostname1 = 'pool-2' respectively. pgpool replication works with the two nodes.<br>

<br></div><div>Stop pgpools<br>Stop database<br>rsync the master database to the 3rd node (I would like to have online sync, but always got backend_error, so I have decided to start with offline sync)<br>start all databases<br>

</div><div>start pgpool#1<br></div><div>start pgpool#2 (I have experienced that starting at once doesn't make any sense, it usually doesn't work such way, some, or all of the pgpool nodes should be restarted)<br>
</div>
<div><br></div>And pgpool stops replicating, although the pools see each other, wd seems to work.  Any DB operation goes only the db on the active pool node.<br><br></div>What do I do wrong??<br><br></div>Regards,<br><br>

Attila<br></div>