PGCluster1.3環境構築

PGClusterを導入している。
PostgreSQL8.2系に対応しているPGCluster1.7系が最新らしいが、
それとは知らず、PGClusterの日本語サイトの情報から1.3を導入
してしまった。。。まぁ、これで続けるか。

現時点で、うまくレプリケーションがされず試行錯誤を行っている。
とりあえず、現時点で参考にしたサイトを紹介しておこう。


PGCluster(日本語サイト)
http://pgcluster.projects.postgresql.org/jp/
最新版(現時点、2007年9月の最新版1.7系)は、pgFoundryから
ダウンロードできる。


pgFoundry
http://pgfoundry.org/frs/?group_id=1000072


以下のページも2004年当時の情報で古いが非常に参考になる。
Yet Another 仕事のツール
http://journal.mycom.co.jp/column/yetanother/033/index.html
http://journal.mycom.co.jp/column/yetanother/034/index.html
http://journal.mycom.co.jp/column/yetanother/035/index.html
http://journal.mycom.co.jp/column/yetanother/036/index.html
http://journal.mycom.co.jp/column/yetanother/037/index.html
http://journal.mycom.co.jp/column/yetanother/038/index.html
http://journal.mycom.co.jp/column/yetanother/039/index.html
http://journal.mycom.co.jp/column/yetanother/040/index.html
http://journal.mycom.co.jp/column/yetanother/041/index.html
http://journal.mycom.co.jp/column/yetanother/042/index.html
http://journal.mycom.co.jp/column/yetanother/043/index.html
http://journal.mycom.co.jp/column/yetanother/044/index.html

上記のページでは、PGcluster1.0.8を使用しており、ベースとなる
PostgreSQLも7.3系となっている。そのため、一部、PostgreSQL
設定も異なるので注意しよう。
tcpip_socketオプションは、8.x系では、listen_addressesオプション
に置き換わっている。
全てのインタフェースで接続を受け付けるなら、「*」を指定しておけばよい。
listen_addresses = '*' # what IP interface(s) to listen on;


また、IPA DBクラスタ検証の情報も参考にすると良いだろう。
http://www.ipa.go.jp/software/open/forum/development/download/051115/db-cls.pdf