Replication monitoring questions

Поиск
Список
Период
Сортировка
От Scott Whitney
Тема Replication monitoring questions
Дата
Msg-id 18871234.487716.1358439617072.JavaMail.root@mail.int.journyx.com
обсуждение исходный текст
Ответы Re: Replication monitoring questions  (Ray Stell <stellr@vt.edu>)
Список pgsql-admin
I've got replication setup (streaming replication) between two 9.2.2 clusters. Everything went just fine on that, and it's working as expected.

Now, obviously, I'll know if my primary goes down. I just monitor him as usual.

How do I tell whether the standby has gone out of sync for whatever reason?

Obviously, I can monitor this:

ps -elf | grep "wal receiver"

but is there a situation in which the wal receiver is running, but the replication is not working, or there are errors? I know about the replay/receive xlog locations, but those can be off due to lag, of course.

What I want to know is whether there's a situation in which my standby is running, the receiver process is running, but "something" is wrong.

Sorry this isn't more definite. I'm not quite sure what I'm looking for.

Thanks,
Scott

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: Autovacuum issues with truncate and create index ...
Следующее
От: dx k9
Дата:
Сообщение: centos install