pgsql ra (WAS: Re: [Linux-ha-dev] ids ra)
Serge Dubrouski
sergeyfd at gmail.com
Mon Dec 10 20:52:53 MST 2007
This is a patch that I believe make pgsql RA compatible with those rules.
On Dec 10, 2007 3:51 PM, Serge Dubrouski <sergeyfd at gmail.com> 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 <lmb at suse.de> wrote:
> > On 2007-12-10T12:38:34, Serge Dubrouski <sergeyfd at gmail.com> 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: Linux-HA-Dev at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
>
>
>
> --
> Serge Dubrouski.
>
--
Serge Dubrouski.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgsql.patch
Type: application/octet-stream
Size: 1686 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20071210/166528de/pgsql.obj
More information about the Linux-HA-Dev
mailing list