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?
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org