From: Sanjay Rao <srao@noida.interrasystems.com>
To: pgsql-admin@postgresql.org
Subject: How to auto switch the roles of master and standby
Date: Wed, 13 Jul 2011 16:01:42 +0530
Message-ID: <4E1D740E.6020000@noida.interrasystems.com> (raw)
In-Reply-To: <1309678517759-4546630.post@n5.nabble.com>
References: <1309678517759-4546630.post@n5.nabble.com>
Hi All,
I am using postgres 9.0 with streaming replication(master/standby). I
want to use pacemaker/corosync to create trigger file to indicate the
standby to take over. ho can I execute a script using pacemaker whenever
a failure happens.
Regards,
Sanjay Rao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: srao@noida.interrasystems.com
Subject: Re: How to auto switch the roles of master and standby
In-Reply-To: <4E1D740E.6020000@noida.interrasystems.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox