[Pacemaker] Time-based resource stickiness not working cleanly

Phil Frost phil at macprofessionals.com
Wed Jun 27 14:44:18 EDT 2012


On 06/27/2012 02:33 PM, Velayutham, Prakash wrote:
> and the cluster works fine, except that when the fenced (STONITHed) node comes back up and joins the cluster, all resources (including the one that is running in its preferred location) gets restarted.
>
> This is annoying and I am trying to find out why this is. I started another thread for that exact issue this morning and I have shared the relevant portions of my CIB there. Please let me know if you see anything there that could cause this.

Your best approach is probably to simplify the configuration as much as 
you can. Eliminate any resources or constraints that aren't necessary to 
demonstrate the problem, and use ocf:pacemaker:Dummy and 
ocf:pacemaker:Stateful resources instead of the real ones. In 
simplifying the configuration, you may discover a mistake. If not, you 
will have something that doesn't take so much time to consider, so more 
people will be willing to help you.

Also, play with crm_simulate.

Also see my previous response about a similar problem I had, and a 
suspected bug that may be affecting you. If you can independently 
confirm the bug, after working out a minimal test case as above, it's 
more likely someone will fix it.






More information about the Pacemaker mailing list