Re: Restoring normal master-slave roles after replication failure

From: "Gilberto Castillo" <gilberto(dot)castillo(at)etecsa(dot)cu>
To: "Alex Balashov" <abalashov(at)evaristesys(dot)com>
Cc: gilberto(dot)castillo(at)etecsa(dot)cu, pgsql-admin(at)postgresql(dot)org
Subject: Re: Restoring normal master-slave roles after replication failure
Date: 2015-04-01 18:40:56
Message-ID: 38093.192.168.207.54.1427913656.squirrel@webmail.etecsa.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
> Hi Gilberto,
>
> On 04/01/2015 02:29 PM, Gilberto Castillo wrote:
>
>> Have you seen pgpool or rpmgr-3?
>
> I have, but prefer not to use these tools if possible as it would
> complicate the setup.
>
> I'm not so much looking for front-end simplicity as I am looking for a
> way to avoid having to do a base backup back to the master. I am fine
> with having to reconfigure master and slave roles manually.

I commented, and I used pgpool ensures failover a transparent manner to
end users.
Now use rpmgr-3, which allows me the same; but without the complicated
motaje of pgpool.

But if you want to do manuel, you define archive_command = "hot_stanby" on
both nodes

Saludos,
Gilberto Castillo
ETECSA, La Habana, Cuba

Attachment Content-Type Size
unknown_filename text/plain 179 bytes

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message BRUNO CESAR BERNARDES 2015-04-01 18:42:56 Re: Catalog permissions
Previous Message Gilberto Castillo 2015-04-01 18:29:55 Re: Restoring normal master-slave roles after replication failure