On Nov 24, 2010, at 11:36 AM, Dan Frincu wrote: > Hi, > > Vadym Chepkov wrote: >> On Nov 24, 2010, at 9:56 AM, Robinson, Eric wrote: >> >> >>> I performed a "power-plug-pull" test on my newest cluster and it failed >>> over as expected. However, when I restored power to the "failed" node, >>> the resources failed back. I don't understand why this happened since I >>> have resource stickiness set. >>> >>> There are three nodes in the cluster. I pulled the plug in node ha07b >>> and resource g_clust05 failed over to node ha07c just like it should. >>> But when I restored power to ha07b, the resource failed back. (Well, >>> almost. DRBD did not successfully fail back and both nodes ended up in a >>> secondary / standalone state.) >>> >>> Shouldn't the resource stickiness have kept the resource on the node >>> ha07c? >>> >> >> >> Not if you have this in your config: >> >> > This is set by the crm-fence-peer.sh in the handlers section of > /etc/drbd.conf when you enable resource level fencing for DRBD. The > question is once the node comes back it should remove the constraint > automagically, why doesn't it do it here as well?
Nope, this was created by "move"/"migrate" command. Somebody forgot "unmove"/"unmigrate" > > Maybe it's missing the crm-unfence-peer.sh in the same /etc/drbd.conf file? >>> location cli-prefer-g_clust04 g_clust04 \ >>> rule $id="cli-prefer-rule-g_clust04" inf: #uname eq >>> ha07a.mydomain.com >>> location cli-prefer-g_clust05 g_clust05 \ >>> rule $id="cli-prefer-rule-g_clust05" inf: #uname eq >>> ha07b.mydomain.com >>> >> >> > I've went through something similar, and this could be the case as well, > the combined score for the group is higher than the resource-stickiness > value, setting it to a much higher value (or even inf:) would do the job. > > Regards, > Dan >> Cheers, >> Vadym >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > -- > Dan FRINCU > Systems Engineer > CCNA, RHCE > Streamwide Romania > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
