Re: pgpool2 master fail problem

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: pgpool2 master fail problem
Дата
Msg-id 20120420.092238.850057944285421866.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на pgpool2 master fail problem  (Videanu Adrian <videanuadrian@yahoo.com>)
Список pgsql-general
> Hi all,
> i try to build a postgresql cluster using postgresql 9.1.3 and pgpool2 3.1.2.
> I want to setup this cluster as a master/slave with streaming copy. Everything is ok execept the case when the
mastersfails, and i try to recover it, because the old master recovers as master instead of slave. I have installed
pgpool-walrecrunningon both servers but still does not seems to work. 
> any ideea ?

I'm not sure I fully understand your complain but I guess you expected
the failed master became new standby by just restarting it? That is
not allowed with streaming replication system anyway. You need to
recreate the failed master as a new standby from base backup. Pgpool
provides a convenient way called "online recovery" to do that.  See
pgpool manual or tutorials at pgpool web site (http://www.pgpool.net),
especially this one:
http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2_3.1/index.html
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

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

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: problem with serial
Следующее
От: John R Pierce
Дата:
Сообщение: Re: pgpool2 master fail problem