[ClusterLabs] VM failure during shutdown

Andrei Borzenkov arvidjaar at gmail.com
Tue Jun 26 13:05:46 EDT 2018


26.06.2018 19:36, Ken Gaillot пишет:
> 
> One problem is that you are creating the VM, and then later adding
> constraints about what the cluster can do with it. Therefore there is a
> time in between where the cluster can start it without any constraint.
> The solution is to make your changes all at once. Both pcs and crm have
> a way to do this; with pcs, it's:
> 
>   pcs cluster cib <filename>
>   pcs -f <filename> ...whatever command you want...
>   ...repeat...
>   pcs cluster cib-push --config <filename>
> 

Alternative is to initially create resources with target-role=Stopped
and then remove it after having added suitable constraints.



More information about the Users mailing list