Re: Streaming replication: rsync to switchover

From: rudi <rudolone(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Streaming replication: rsync to switchover
Date: 2011-04-19 09:16:08
Message-ID: 4DAD52D8.1090006@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 04/19/2011 10:09 AM, Gerhard Hintermayer wrote:
> assuming you have configured rsyncd on the server as:
>
> [postgresql-data]
> uid = postgres
> path = /var/lib/postgresql/9.0/data
> comment = PostgreSQL 9.0 data dir
> exclude = postmaster.log pg_xlog/* postmaster.pid postgresql.conf

So you keep the old pg_xlog ... But, what about wal that the former
master hasn't yet sent to the slave? I wonder if the former-master could
apply them, becoming out-of-sync with the former-slave (that never
recevied those wal).

thanks

--
rudi

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gerhard Hintermayer 2011-04-19 09:28:47 Re: Streaming replication: rsync to switchover
Previous Message H S 2011-04-19 08:53:32 Re: "postgres" is needed by initdb but was not found