| From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Adding Additional Standby |
| Date: | 2011-09-03 16:30:45 |
| Message-ID: | 20110903163045.GA12956@tux |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Andrew Hannon <ahannon(at)fiksu(dot)com> wrote:
> Hello,
>
> We have an existing master-slave setup running on 9.0. I was looking
> into adding a new hot standby into this setup — I have added a script
> that satisfies the requirements of the archive_command, but it isn't
> clear to me how to add this new standby into the mix. Is it as simple
> as calling pg_start_backup to create a new base backup and then
> starting postgresql on the new machine once the base backup has
> completed?
Yes, that's all. You should increase max_wal_senders (on the server) to
(count of clients) + reserve (maybe 3 or so)
And you need a propper recovery.conf on the new client.
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sim Zacks | 2011-09-04 05:44:42 | Re: md5 of table |
| Previous Message | Andrew Hannon | 2011-09-03 15:35:04 | Adding Additional Standby |