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

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

Index | Next | Previous | View Flat


lmb at suse

Jun 28, 2011, 2:10 AM


Views: 2411
Permalink
RA spec: explicit "probe" operation?

Hi all,

triggered by the linux-ha-dev discussion, I'd also like to open the
discussion on another item on the revised specification list; namely, a
dedicated "probe" operation.

To recap, right now, Pacemaker uses the "monitor" operation to check if
the resource is active at all (prior to starting anything, as part of
the discovery process on a node).

Now, at this stage, in an empty cluster, nothing else will be active
yet either; so something that would be an error later, at "start" for
example, may just be expected. (Such as a file missing or a command
returning a weird state because they try to access shared storage.)

This, apparently, isn't all that easy to get right. A specific "probe"
operation, that is not tasked with verifying if the resource is healthy,
just if it is at all active, might be clearer, or at least that has been
suggested in the past.


The alternative would be to clarify the "monitor" semantics; "monitor"
just almost never strikes me as the right place to return
"ERR_INSTALLED" or "ERR_CONFIGURED", unless the evidence is really
strong (such as syntax violations in the parameters, for example).
These requirements can only be checked in full when we're attempting the
operation that actually needs them; "monitor" isn't "validate-all", it's
meant to find out the state of the resource only. IMHO, most of the
"ocf_is_probe" checks indicate that the monitor op is trying too much.


Personally, I'm leaning towards the latter; I don't really like the
"probe" operation idea, but being a completely impartial moderator, I'm
alas forced to bring it up, how bad the idea might be. ;-) Any
comments?


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.