pgsql ra (WAS: Re: [Linux-ha-dev] ids ra)
Serge Dubrouski
sergeyfd at gmail.com
Mon Dec 10 15:51:55 MST 2007
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.
More information about the Linux-HA-Dev
mailing list