[ClusterLabs] Prevent resources from beeing restarted when activating placement-strategy

Ken Gaillot kgaillot at redhat.com
Fri Nov 3 15:55:46 CET 2017


On Fri, 2017-11-03 at 09:55 +0100, Philipp Achmüller wrote:
> Hi, 
> 
> i have a 4 node cluster with several VirtualDomain resources.
> (SLES12.2, pacemaker 1.1.15) 
> 
> i set up required resource capacities, and provided capacitiy per
> node 
> 
> when activating placement-strategy the first time to e.g. balanced
> all VMs get restarted once by the cluster. 
> afterwards i can switch/remove the placement-strategy without any
> impact on running resources. 
> 
> - why is this happening? 
> - is there a way to prevent this behaviour on the first time?? 
> 
> thank you! 
> regards 
> Philipp
> 

Good question, I didn't realize that. crm_simulate is a good tool for
exploring that sort of "why", but it's rather arcane. If you have a pe-
input file from the transition with the restart, I can take a look.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list