Re: DRDB?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: DRDB?
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7713@algol.sollentuna.se
обсуждение исходный текст
Ответ на DRDB?  ("Martin Fandel" <martin.fandel@alphyra-evs.de>)
Ответы Re: DRDB?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: DRDB?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Martin Fandel wrote:
> >> is DRDB (http://www.drbd.org/) a recommended
> replication-solution for
> >> PostgreSQL? I asked some PostgreSQL-People and DRDB-People on the
> >> Linux-Tag in germany. But I'm not very assured about this solution.
>
> > Uh, we really don't _recommend_ replication solutions.  However, I
> > will say I have heard of Slony, but never of DRDB.  It seems DRDB
> > replicates the file system blocks to another machine.

(Um, Bruce, we talked to Alan Robertson about this in Copenhagen a
couple of months back. So you've certainly *heard* of it :P)

> I have not probed further than the site's top page, but
> unless DRBD offers some pretty strong guarantees about
> physical write order on the master being duplicated on the
> slave, it won't work reliably for Postgres.

From what I've heard, it does guarantee this. I think it requires you to
put all your stuff on the same DRBD device (no special device for WAL).
But I'm not 100% sure on this.

For example, DB2 is supported on these devices. I would assume they have
the same requirements as postgresql in this case. (See
ftp://ftp.software.ibm.com/software/data/pubs/papers/db2halinux.pdf)

//Magnus

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DRDB?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DRDB?