Re: Turning a streaming standby into a hot-standby

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Axel Rau <axel(dot)rau(at)chaos1(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Turning a streaming standby into a hot-standby
Date: 2012-11-08 17:16:48
Message-ID: CAHGQGwFtGfhZpftUGJ-v=bOmz5BW-udbsrAMbYkT+tTwgm=3rA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Nov 9, 2012 at 1:13 AM, Axel Rau <axel(dot)rau(at)chaos1(dot)de> wrote:
> Hi dbas,
>
> I changed hot_standby to "on" on the standby and learned on restart:
> "hot standby is not possible because wal_level was not set to ""hot_standby"" on the master server"
> After restarting the master with "wal_level = hot_standby",
> I'm still getting the same error message on the standby.
> This is 9.1.2.
>
> What am I doing wrong?

After setting wal_level to hot_standby in the master, you need to take
a fresh base backup from the master onto the standby, and start the
standby from that backup.

The standby with hot_standby=on needs the backup which was backed
up from the master with wal_level=hot_standby.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Axel Rau 2012-11-08 17:44:30 Re: Turning a streaming standby into a hot-standby
Previous Message Mike Broers 2012-11-08 16:43:59 Re: bumping all sequence ids in a schema