環境

以下の図のような構成で設定を行う


imageプラグインエラー : 画像を取得できませんでした。しばらく時間を置いてから再度お試しください。

送信先のサーバをnfsサーバとしてファイルマウントを行う

nfsサーバを各PCにインストールしておくこと


プライマリ機での作業

データベースクラスタの作成

$ initdb --no-locale --encoding=UTF-8 sampledb1
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.
The default text search configuration will be set to "english".

creating directory sampledb1 ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 32MB/204800
creating configuration files ... ok
creating template1 database in sampledb1/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

    postgres -D sampledb1
or
    pg_ctl -D sampledb1 -l logfile start

$ 

postgressql.confを編集

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

ベースバックアップを作成

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

ベースバックアップを送信

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

ベースバックアップを停止

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

スタンバイ機での作業

ファイルを削除

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

postgressql.confを編集

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

recovery.confを編集

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。

スタンバイ機をスタンバイ状態で起動

html2 plugin Error : このプラグインで利用できない命令または文字列が入っています。
最終更新:2009年06月02日 16:55