Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: HA-WG-Technical
Re: RA spec: explicit "probe" operation?
 

Index | Next | Previous | View Flat


lmb at suse

Jun 30, 2011, 1:48 PM


Views: 2379
Permalink
Re: RA spec: explicit "probe" operation? [In reply to]

On 2011-06-30T12:48:03, Dejan Muhamedagic <dejan [at] suse> wrote:

> > > > The RA can sometimes ascertain that the resource will never be able to
> > > > be started on that node unless the admin intervenes or the environment
> > > > is changed by other resources being brought online first. (Which is what
> > > > ERR_INSTALLED being returned by monitor_0 basically implies.)
> > > Which doesn't work for all resources, as we recently discussed.
> > > Some, such as oracle or db2, may even have binaries on shared
> > > storage.
> > Which is exactly the point. I'm not sure where you're contradicting me?
> ERR_INSTALLED says that the resource can never run on this node.
> In case of probes, that may not be true if for instance shared
> storage is not mounted. So, in some RAs probe must return
> NOT_RUNNING if some requirements are not fulfilled.

Which is exactly why "monitor" shouldn't return ERR_INSTALLED, if this
possibility exists. That was the whole point of this discussion?

Note that "binary not present", if one wants to be pedantic, is not
identical to "not running"; it is identical to "not start or stoppable",
in all likelihood, but ps could still be used to see if the process is
around. On the other hand, "data share not mounted" probably is a pretty
good indicator of "not running".

> ocf_rarun $@

Ah, so a template function that takes care of the code that is shared
across resource agents. Yes, that's a good idea, but a completely
different discussion than this one.


Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
ha-wg-technical mailing list
ha-wg-technical [at] lists
https://lists.linux-foundation.org/mailman/listinfo/ha-wg-technical

Subject User Time
RA spec: explicit "probe" operation? lmb at suse Jun 28, 2011, 2:10 AM
    Re: RA spec: explicit "probe" operation? florian.haas at linbit Jun 28, 2011, 3:51 AM
        Re: RA spec: explicit "probe" operation? lmb at suse Jun 28, 2011, 5:32 AM
            Re: RA spec: explicit "probe" operation? dejan at suse Jun 28, 2011, 7:36 AM
                Re: RA spec: explicit "probe" operation? lmb at suse Jun 28, 2011, 2:02 PM
                    Re: RA spec: explicit "probe" operation? dejan at suse Jun 30, 2011, 3:48 AM
                        Re: RA spec: explicit "probe" operation? lmb at suse Jun 30, 2011, 1:48 PM
            Re: RA spec: explicit "probe" operation? florian.haas at linbit Jun 28, 2011, 10:56 PM
                Re: RA spec: explicit "probe" operation? tserong at novell Jun 28, 2011, 11:40 PM
                Re: RA spec: explicit "probe" operation? lmb at suse Jun 29, 2011, 2:06 AM
                    Re: RA spec: explicit "probe" operation? andrew at beekhof Jun 29, 2011, 5:32 PM
                        Re: RA spec: explicit "probe" operation? lmb at suse Jun 30, 2011, 1:10 AM
                            Re: RA spec: explicit "probe" operation? andrew at beekhof Jun 30, 2011, 2:07 AM
                                Re: RA spec: explicit "probe" operation? lmb at suse Jun 30, 2011, 2:09 AM
                                    Re: RA spec: explicit "probe" operation? andrew at beekhof Jun 30, 2011, 2:36 AM
                                        Re: RA spec: explicit "probe" operation? florian.haas at linbit Jul 1, 2011, 12:47 AM
                                            Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 1, 2011, 1:09 AM
                                                Re: RA spec: explicit "probe" operation? dejan at suse Jul 1, 2011, 1:51 AM
                                                Re: RA spec: explicit "probe" operation? lmb at suse Jul 6, 2011, 8:31 AM
                                                    Re: RA spec: explicit "probe" operation? florian.haas at linbit Jul 6, 2011, 8:43 AM
                                                        Re: RA spec: explicit "probe" operation? lmb at suse Jul 7, 2011, 3:42 AM
                                                            Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 7, 2011, 5:54 PM
    Re: RA spec: explicit "probe" operation? lmb at suse Jul 8, 2011, 2:40 PM
        Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 9, 2011, 12:23 AM
        Re: RA spec: explicit "probe" operation? dejan at suse Jul 9, 2011, 6:09 AM
    Re: RA spec: explicit "probe" operation? lmb at suse Jul 11, 2011, 3:21 AM
        Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 11, 2011, 4:10 AM
    Re: RA spec: explicit "probe" operation? lmb at suse Jul 11, 2011, 4:19 AM
        Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 11, 2011, 4:38 AM
    Re: RA spec: explicit "probe" operation? lmb at suse Jul 12, 2011, 4:27 AM
        Re: RA spec: explicit "probe" operation? andrew at beekhof Jul 12, 2011, 10:44 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.