[Pacemaker] crm_resource enhancement requests

Andrew Beekhof beekhof at gmail.com
Thu May 15 13:23:09 UTC 2008


On May 15, 2008, at 3:03 PM, Dominik Klein wrote:

>>>> Besides, checking for a node with a positive score
>>>> requires a full PE run, I'm not sure that's desirable.
>>>
>>> I have no experience with large setups, so I have no idea about  
>>> how long this takes with many nodes and many resources. But I  
>>> guess I get your point. If out of my comment you think I don't -  
>>> please don't hesitate to explain further :)
>> plus it would need to understand how to make such a change before  
>> it could run the simulation
>> -EOUTOFSCOPE :)
>>>
>>>
>>>>> -M -H $nodename should check whether $nodename has a score of - 
>>>>> INFINITY or a failcount of INFINITY (which wouldnt allow  
>>>>> $resource to run there even with the added constraint of score  
>>>>> INFINITY) and refuse entering the migration constraint if any of  
>>>>> that is true.
>>>> Same here.
>>>
>>> Even if only the specified node is to be checked?
>> yes - because there are plenty of reasons why a node would have a  
>> score of -INFINITY
>
> Right. Thanks for your thoughts and explanations.
>
> I guess I'll just stick to using showscores.sh output and tell my  
> resource admins how to force a migration if my rather simple script  
> mechanism thinks it's not possible.


-M always moves it off the current node to the next most preferred one

if you set up the node preferences properly you shouldn't need to  
specify a destination with -H

but granted there may be nowhere left for it to run





More information about the Pacemaker mailing list