Dejan Muhamedagic <deja...@fastmail.fm> writes:

> If the environment is no good (bad installation, missing configuration
> and similar), then the stop operation probably won't do much good.

Agreed.  It may not even know how to probe it.

> In ocf-rarun, validate_all is run, but then the operation is not
> carried out if the environment is invalid. In particular, the resource
> is considered to be stopped, and the stop operation exits with
> success.

This sounds dangerous.  What if the local configuration of a node gets
damaged while a resource is running on it?  Eventually the cluster may
try to stop it, think that it succeeded and start the resource on
another node.  Now you have two instances running.  Or is the resource
probed on each node before the start?  Can a probe failure save your day
here?  Or do you only mean resource parameters by "environment" (which
should be identical on each host, so validation would fail everywhere)?
-- 
Thanks,
Feri.

_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to