<div dir="ltr"><div>Dear Tatsuo,</div><div><br></div>I am implementing example setup on pgpool website. Nothing different from setup. It runs successfully. In case of failover, standby follows the new primary db and syncronizes. What I see is /var/lib/pgsql/13/data is moved to .../data.old.<div><br><div>Then I created two non-default tablespaces in /u01/xxx and /u01/yyy. Tried the failover but it is not working. It looks follow_primary.sh is not working as before. I could not find any clue. Shall I move non-default tablespaces to xxx.old, yyy.old at beginning of follow_primary.sh? What is the proper way of working with non-defult tablespaces?</div><div><br></div><div>Thanks,</div><div>murat </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 15, 2021 at 11:43 AM Tatsuo Ishii <<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Dear All,<br>
> <br>
> My configuration is pgpool 4.2.1, postgresql-13 and centos7. I have<br>
> non-default tablespaces. It looks in case of recovery and failover it is<br>
> not working as I anticipated. As far as I see pgpool moves var directory to<br>
> var.old but for non-default tablespace directories it does not behave like<br>
> that. What is the proper way of working with non-default tablespaces?<br>
<br>
Can you elaborate more? How exactly Pgpool-II does not work as you<br>
expected?  Since for recovery and failover you need to provide scripts<br>
to perform actual recovery and failover, without sharing those scripts<br>
I cannot say anything about what's wrong.<br>
<br>
Also I don't understand "pgpool moves var directory to var.old"<br>
because Pgpool-II does not have code that does that.<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
</blockquote></div>