The problem is that I don't really understand what we are talking about here. Are you trying to build master/slave setup using SLONY or some other replication mechanism? If yes, then pgsql RA doesn't support it.
The standard setup for pgsql RA is a shared storage between cluster nodes (SAN, iSCSI, DRBD, etc..), filesystem RA, IP Address RA and then pgsql RA configured in a group or tied up by some collocation rules. You do not need to have any flags. Pacemaker will monitor master cluster nodes and resources and will make sure that PostgreSQL is available over particular IP from one of the cluster nodes. On Thu, Apr 16, 2009 at 8:44 AM, Dejan Muhamedagic <[email protected]> wrote: > Hi, > > On Thu, Apr 16, 2009 at 11:57:28AM +0200, David Dumortier wrote: >> Hi all, >> >> Dejan Muhamedagic a ?crit : >> > Hi, >> > There is a RA for postgres (pgsql). I guess you should try to use >> > that. >> >> I will have to modify it. >> The Warm standy of PG work with two servers running : >> 1 a master pushing data to slave >> 2 a slave taking data from master >> 3 when master is down a flag have to be touch on slave >> >> Is it the goal of the RA to make third point ? > > No idea. But I think that the author of the RA is subscribed to > the list. > > Thanks, > > Dejan > >> > CIB contains your cluster configuration. >> How to specify 1 running service for each server, but a slave one ? >> >> Thanks for your help in my h-a quest ! >> -- >> David Dumortier >> >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > 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
