Know the problem now! The backed no. Can not be configured as 0. After I changed one with 1and another with 2, it works already with both ends having database created correctly .<div><br></div><div><br></div><div>Barco<span></span><br>
<div><br>On Monday, May 28, 2012, Tatsuo Ishii  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; psql -h 10.0.3.3 -p 9999 -U postgres<br>
&gt; postgres&gt;show pool_status;<br>
<br>
Nothing showed? Looks like you have basic problem with pgpool<br>
installation. You might want to look into pgpool log.<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
&gt; On Sun, May 27, 2012 at 5:48 PM, Tatsuo Ishii &lt;<a>ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; How was &quot;show pool_status&quot; output then?<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
&gt;&gt; &gt; Yes, it&#39;s sure that postgresql on two backends running, because I can use<br>
&gt;&gt; &gt; psql connect to them!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, May 27, 2012 at 4:42 PM, Tatsuo Ishii &lt;<a>ishii@postgresql.org</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Are you sure that postgresql on 10.0.3.12 is running?  If so, execute<br>
&gt;&gt; &gt;&gt; &quot;show pool_status&quot; command and check value &quot;backend_status1&quot;. That<br>
&gt;&gt; &gt;&gt; will show the status of backend1 from the point of view of pgpool.  If<br>
&gt;&gt; &gt;&gt; pgpool thinks backend1 is not healthy, it does not send create<br>
&gt;&gt; &gt;&gt; database command to backend1.<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Tatsuo Ishii<br>
&gt;&gt; &gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; &gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; &gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; I install pgpool-II 3.1.3 from source on machine 10.0.3.3 and I have<br>
&gt;&gt; to<br>
&gt;&gt; &gt;&gt; &gt; postgres backends (postgresql 9.1) at 10.0.3.12 and 10.0.3.186<br>
&gt;&gt; &gt;&gt; respectively.<br>
&gt;&gt; &gt;&gt; &gt; I have the following configuration for the pgpool.conf.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; After I use &quot;psql -h 10.0.3.3 -p 9999 -U postgres&quot; to connect pgpool<br>
&gt;&gt; from<br>
&gt;&gt; &gt;&gt; &gt; another machine I can connect correctly and I do &quot;create database<br>
&gt;&gt; xxxxx<br>
&gt;&gt; &gt;&gt; &gt; with xxxx&quot; successfully.<br>
&gt;&gt; &gt;&gt; &gt; But if I check the backend DB server, only one server<br>
&gt;&gt; (backend_hostname0)<br>
&gt;&gt; &gt;&gt; &gt; has the databse xxxx create correctly, there is no this database at<br>
&gt;&gt; &gt;&gt; &gt; backend_hostname1.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Could you please help indicate why. Thanks!<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; backend_hostname0 = &#39;10.0.3.12&#39;<br>
&gt;&gt; &gt;&gt; &gt;                                    # Host name or IP address to<br>
&gt;&gt; connect<br>
&gt;&gt; &gt;&gt; to<br>
&gt;&gt; &gt;&gt; &gt; for bb<br>
&gt;&gt; &gt;&gt; &gt; ackend 0<br>
&gt;&gt; &gt;&gt; &gt; backend_port0 = 5432<br>
&gt;&gt; &gt;&gt; &gt;                                    # Port number for backend 0<br>
&gt;&gt; &gt;&gt; &gt; backend_weight0 = 1<br>
&gt;&gt; &gt;&gt; &gt;                                    # Weight for backend 0 (only in<br>
&gt;&gt; load<br>
&gt;&gt; &gt;&gt; &gt; balancinn<br>
&gt;&gt; &gt;&gt; &gt; g mode)<br>
&gt;&gt; &gt;&gt; &gt; backend_data_directory0 = &#39;/etc/postgresql/9.1/main&#39;<br>
&gt;&gt; &gt;&gt; &gt;                                    # Data directory for backend 0<br>
&gt;&gt; &gt;&gt; &gt; backend_flag0 = &#39;ALLOW_TO_FAILOVER&#39;<br>
&gt;&gt; &gt;&gt; &gt;                                    # Controls various backend behavior<br>
&gt;&gt; &gt;&gt; &gt;                                    # ALLOW_TO_FAILOVER or<br>
&gt;&gt; &gt;&gt; &gt; DISALLOW_TO_FAILOVER<br>
&gt;&gt; &gt;&gt; &gt; backend_hostname1 = &#39;10.0.3.186&#39;<br>
&gt;&gt; &gt;&gt; &gt; backend_port1 = 5432<br>
&gt;&gt; &gt;&gt; &gt; backend_weight1 = 1<br>
&gt;&gt; &gt;&gt; &gt; backend_data_directory1 = &#39;/etc/postgresql/9.1/main&#39;<br>
&gt;&gt; &gt;&gt; &gt; backend_flag1 = &#39;ALLOW_TO_FAILOVER&#39;<br></blockquote></div></div><br><br>-- <br><br>Best regards,<br>Barco<br><br>