This is a patch that I believe make pgsql RA compatible with those rules. On Dec 10, 2007 3:51 PM, Serge Dubrouski <[EMAIL PROTECTED]> wrote: > Ok, I think I got where the problem is. Before calling "monitor" or > "stop" it should check if the resource is stopped and if it is it > should return 0, not 1 as it does now when called not by root. Right? > > > On Dec 10, 2007 2:54 PM, Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote: > > On 2007-12-10T12:38:34, Serge Dubrouski <[EMAIL PROTECTED]> wrote: > > > > > Both operations include calling pg_ctl or psql. validate_all checks > > > that they are set in the right way. > > > > /usr/sbin/ocf-tester can very quickly show whether everything works as > > it should ;-) > > > > I can see an option to ocf-tester: --live <rsc_id> > > > > Which would pull the resource data from the CIB (making sure it's > > stopped & unmanaged) and would try to run it where the user invoked the > > command. > > > > And then the GUI could call out to that script via a button. > > > > Wouldn't that be nice. > > > > > > Regards, > > Lars > > > > -- > > Teamlead Kernel, SuSE Labs, Research and Development > > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) > > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > > > -- > Serge Dubrouski. >
-- Serge Dubrouski.
pgsql.patch
Description: Binary data
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
