On Wed, Jul 13, 2011 at 5:08 AM, Sanjay Rao <[email protected]>wrote:
> Hi All, > > I am using postgres 9.0 with streaming replication(master/standby). I > want to use pacemaker/corosync to create a trigger file(dummy file) to > indicate the standby to take over. > > how can I execute a script on standby server whenever a failure happens ? > Currently pacemaker (or at least pgsql RA) doesn't support PostgreSQL replication. So basically you need to write your own script that will monitor primary instance and create a trigger file on the standby node when primary fails. > Regards, > Sanjay Rao > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
