Hi,
On 2 November 2011 02:00, Debasis Mishra <debasis1982(at)gmail(dot)com> wrote:
> Thanks a lot for your replay. I just wanna know whether it is required for
> me to run initdb or setting the PGDATA environment variable is enough?
Master needs to be properly initialised & configured
- install postgres
- run initdb
- install your application schema,...
- point $PGDATA to SAN volume
Secondary:
- install Postgres
- point $PGDATA to SAN volume (volume is mounted on primary!)
During failover clustering software has to:
- shutdown primary (usually: STONITH (Shoot The Other Node In The
Head) aka fencing)
- mount SAN volume on secondary
- startup postgres on secondary
--
Ondrej Ivanic
(ondrej(dot)ivanic(at)gmail(dot)com)