[Pacemaker] Full API description for Fence Agent

Digimer lists at alteeve.ca
Thu Jul 4 09:40:09 EDT 2013


On 04/07/13 08:31, Andreas Mock wrote:
> Hi Digimer, hi all,
>
> there is a little thing in the API doc which is also unclear to me.
> It says:
>
> "[...]
> status - this is not implemented by most agents nor used by fenced at this
> time. Return values:
>
>      0 if the fence device is reachable and the port is in the on state
>      1 if the fence device could not be contacted
>      2 if the fence device is reachable but is in the off state
> [...]"
>
> What is meant with return code 2? Does it mean I could contact the fence
> device
> and it says that the PORT is in off state?
> How do I have to understand the state "fence device in off state"?
>
> Best regards
> Andreas Mock

Hi Andreas,

   I interpreted it as (and implemented it as) meaning that '2' should 
be returned if, for example, ipmi said the node was powered down, pdu 
outlet we open, etc.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?




More information about the Pacemaker mailing list