[ADMIN] Setting Up Cascading Standby

Поиск
Список
Период
Сортировка
От Don Seiler
Тема [ADMIN] Setting Up Cascading Standby
Дата
Msg-id CAHJZqBBPGgsBEfYb6j6oqj9kLxWB96JQhd1J2TcPvNn_1u11ew@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Running Pg 9.2 on CentOS. Currently have a standard primary/standby setup, with the standby in a different DC across the country from the primary. These are all on VMs.

We want to add another standby in the same standby DC. What I'd like to do is have the current standby become a cascading standby, and restrict user queries to the new hot standby (and/or any others we hang off of it). But the soon-to-be-cascading standby would be strictly for DR and cascading WALs.

The docs and articles I've read seem to focus heavily on the streaming replication aspect of things. But I imagine we want to also have WAL files getting copied downstream as well. I'm writing to ask how the pros from Dover handle this. Custom script in place of archive_cleanup_command on the cascading standby to push the archived files downstream before deleting them? Or some rsync job on the cascading standby running every minute to push changes downstream?

Don.

--
Don Seiler
www.seiler.us

В списке pgsql-admin по дате отправления:

Предыдущее
От: Rijo Roy
Дата:
Сообщение: [ADMIN] PPAS 9.5 - PEM server generating high number of wal files
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [ADMIN] PostgreSQL 9.4.13 is facing issue in shutting down