On 5/14/2010 at 07:39 AM, Paul Graydon <p...@ehawaii.gov> wrote: > Hi, > > One of my nodes decided to throw a wobbly this morning and locked up > it's network card for about a minute. Pacemaker came to the rescue, > merrily transferred everything over to the other node successfully, > however when the original node came back again it transferred the > functions back across. > > Is is possible at all to make resources sticky? i.e. resources start on > node 1. Node 1 fails, resources migrate to node 2. Node 1 recovers, > but resources stay on node 2 until node 2 fails, at which point they'd > migrate to node 1.
Yes, you want the "resource-stickiness" property. Using "crm configure", per resource: # primitive foo .... \ meta resource-stickiness="1" Or, to make everything a bit sticky: # rsc_defaults resource-stickiness="1" Regards, Tim -- Tim Serong <tser...@novell.com> Senior Clustering Engineer, OPS Engineering, Novell Inc. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf