<div dir="ltr">Resend...<br><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">ning chan</b> <span dir="ltr">&lt;<a href="mailto:ninchan8328@gmail.com">ninchan8328@gmail.com</a>&gt;</span><br>
Date: Wed, Feb 13, 2013 at 9:29 PM<br>Subject: pgPool Online Recovery Streaming Replication<br>To: &quot;<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>&quot; &lt;<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>&gt;<br>
<br><br><div dir="ltr"><div>Hi all,<br></div>I have the following question regarding the recovery of a filed Primary Database Server.<br><div><div><br>Question 1: in the documentation, under Streaming Replication Online Recovery section.<br>


<br><a href="http://www.pgpool.net/docs/latest/pgpool-en.html#stream" target="_blank">http://www.pgpool.net/docs/latest/pgpool-en.html#stream</a><br><br>in steps 6:<br><ol><li value="6">After completing online recovery, pgpool-II will start PostgreSQL on
    the standby node.
    Install the script for this purpose on each DB nodes.
    <a href="http://www.pgpool.net/docs/latest/pgpool_remote_start" target="_blank">Sample script</a> is included in &quot;sample&quot;
    directory of the source code.
    This script uses ssh. You need to allow recovery_user to login from the
    primary node to the standby node without being asked password.
    </li></ol><p>To my understanding, i think the postgreSQL doesn&#39;t not
 need to be online for the recovery process right? Since later on it 
mentions that pgpool_remote_start will start up the DB on the failed 
node.</p>
<p><br></p><p>Question 2: in my configuration, i have 2 pgpool server with two backends. Will it work for oneline recovery?</p><p>Question
 3: when the failed node comes back online, should i use pcp_recovery 
from DB primary or should i use pcp_attach on the failed node to recover
 the failed system? Actually in my case, both methods do not recover my 
system every time.</p>
<p><br></p><p>Thank so much for helping!</p><span class="HOEnZb"><font color="#888888"><p><br></p><p>Ning<br></p></font></span></div></div></div>
</div><br></div></div>