WAL Replication Server + repmgr + Slony

Started by bastiabout 12 years ago2 messagesgeneral
Jump to latest
#1basti
black.fledermaus@arcor.de

Hello,

at the moment we use a Postgres (9.1) Master and a Hot-Standby with WAL
Replication.

We also use Slony to copy some (not all) Tables to fronted server.
Is it possible to use repmgr to switch between Master and Hot-standby
without lose the slony functionality?

When I use repmgr and switch between master and slave what's about
IP-addresses and hostnames? Do I need a virtual IP that can I switch
from one to the other server?

Thanks a lot for your help!

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2Jan Wieck
JanWieck@Yahoo.com
In reply to: basti (#1)
Re: WAL Replication Server + repmgr + Slony

On 03/20/14 10:37, basti wrote:

Hello,

at the moment we use a Postgres (9.1) Master and a Hot-Standby with WAL
Replication.

We also use Slony to copy some (not all) Tables to fronted server.
Is it possible to use repmgr to switch between Master and Hot-standby
without lose the slony functionality?

When I use repmgr and switch between master and slave what's about
IP-addresses and hostnames? Do I need a virtual IP that can I switch
from one to the other server?

Unless your standby moves backwards in time (async replication and
failover losing transactions), all that is needed should be to issue
STORE PATH commands with the new IP/hostname to the Slony replica(s).

Regards,
Jan

--
Jan Wieck
Senior Software Engineer
http://slony.info

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general