[Pacemaker] status and monitor - why the duplicity?

Lars Marowsky-Bree lmb at suse.com
Fri Jun 15 10:20:23 EDT 2012


On 2012-06-15T14:13:59, "Stallmann, Andreas" <AStallmann at CONET.DE> wrote:

> Hi!
> 
> I figure that many ocf agents use either “status” or “monitor” and sometimes both.

OCF only uses "monitor".

"status" is still around because many of the agents started out as LSB
init scripts, and many agents just have both. It's not necessary for OCF
RAs.

> -          tomcat agent always returns OCF_SUCCESS on status: why ask, when you always get the same answer

That strikes me as a bug.

Regards,
    Lars

-- 
Architect Storage/HA
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





More information about the Pacemaker mailing list