[pgcluster: 748] Re: psqlで更新すると、だんまりになります。

mitani mitani @ sraw.co.jp
2005年 3月 15日 (火) 16:59:20 JST


三谷@広島です.

レプリケーションサーバに登録されているホスト名と,
実際のホスト名が違うようですね.

レプリケーションサーバに登録されているクラスタDBのホスト名は
・master
・master_2
ですね.
> 【pgreplicate.conの設定】
> <Cluster_Server_Info>
> <Host_Name> master </Host_Name>
> <Port> 5432 </Port>
> <Recovery_Port> 7101 </Recovery_Port>
> <LifeCheck_Port> 7201 </LifeCheck_Port>
> </Cluster_Server_Info>
> <Cluster_Server_Info>
> <Host_Name> master_2 </Host_Name>
> <Port> 5432 </Port>
> <Recovery_Port> 7101 </Recovery_Port>
> <LifeCheck_Port> 7201 </LifeCheck_Port>
> </Cluster_Server_Info>

しかし実際に接続されてくるホストは
・apsvr
となっているようです.
> DEBUG:PGRreplicate_packet_send():from_host=apsvr
これでは,セッションが送信元に戻りません.

クラスタDBでhostnameコマンドを実行し,登録されているホスト名をレプリケー
ションサーバに登録してください.

あと,
> <Use_Replication_Log> yes </Use_Replication_Log>
と,レプリケーションログ機能を有効にしておられますが,
この機能はレプリケーションサーバが2台以上カスケード接続されている必要が
あります.

レプリケーションサーバが1台であれば,<Use_Replication_Log> はnoにしてお
いてください.

=============================
STATUS:Windows対応調査中...
三谷 篤<mitani @ sraw.co.jp>
=============================




pgcluster メーリングリストの案内