Hi, On Tue, Apr 14, 2009 at 05:03:55PM +0200, David Dumortier wrote: > Hi the list, > > I have to setup an heartbeat on a 2 computers-cluster with PostGreSQL. I > setuped a fail-over on PG with a warm-stanby : a file flag tell the slave > to take the master state.
There is a RA for postgres (pgsql). I guess you should try to use that. > I'm new on high-availability. So I browse documentation, list and web but > I've some questions. > > It seems there's no "plugin" for stonith on PG. What is the best link to > make a short plugin to flag my file ? stonith shouldn't have anything to do with whatever file you are talking about. You can take a look here: http://linux-ha.org/STONITH http://www.clusterlabs.org/mediawiki/images/f/f2/Crm_fencing.pdf > My other question is about the CIB file. Is it a necessity for stonith ? CIB contains your cluster configuration. > If it is, I don't know how to define my ressources. Am I on a clone case ? > or is there another type like master slave ? > > heartbeat : 2.1.3 > Ubuntu 8.04 LTS. > Postgresql : 8.3.7 If possible, upgrade to 2.1.4 or the latest pacemaker. Thanks, Dejan > Thanks for any advice. > -- > 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
