[ClusterLabs] crmsh configure delete for constraints
Ferenc Wágner
wferi at niif.hu
Wed Feb 10 11:06:34 UTC 2016
Dejan Muhamedagic <dejanmm at 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.
More information about the Users
mailing list