I'm trying to configure a hot-standby system. I have two machines:
- db0 :: continuously archiving master
- db1 :: continuously replicating slave
I have my system laid out somewhat differently than usual, mostly to accomadate the limitations of puppet. You'll find my postgresql.conf
s and pg_hba.conf
here. The mapping of my disks to mount points are like so:
/dev/md0
-->/srv/pg/data
/dev/md1
-->/srv/pg/xlog
/dev/xvdn
-->/srv/pg/archive