[Pacemaker] Differences in scoring between similar resources

Bobbie Lind blind at sms-fed.com
Mon Aug 22 17:44:04 CET 2011


I tested this out on our duplicate dev system to see if it was old scores or
a bad configuration.  I got the exact same ptest scores on a new cluster set
up exactly the same way.  This lead me to believe that it IS my
configuration that needed to be changed.  So I started looking at what was
different.  I changed the following lines of my configuration:

from:

colocation colocOSS1OSS2 -inf: anchorOSS2 anchorOSS1
*colocation colocOSS1OSS4 -inf: anchorOSS4 anchorOSS1*
colocation colocOSS1group 300: ( resOST0000 resOST0004 resOST0008 )
anchorOSS1
colocation colocOSS2OSS3 -inf: anchorOSS3 anchorOSS2
colocation colocOSS2group 300: ( resOST0001 resOST0005 resOST0009 )
anchorOSS2
colocation colocOSS3OSS4 -inf: anchorOSS4 anchorOSS3
colocation colocOSS3group 300: ( resOST0002 resOST0006 resOST000a )
anchorOSS3
colocation colocOSS4group 300: ( resOST0003 resOST0007 resOST000b )
anchorOSS4


to:

colocation colocOSS1OSS2 -inf: anchorOSS2 anchorOSS1
colocation colocOSS1group 300: ( resOST0000 resOST0004 resOST0008 )
anchorOSS1
colocation colocOSS2OSS3 -inf: anchorOSS3 anchorOSS2
colocation colocOSS2group 300: ( resOST0001 resOST0005 resOST0009 )
anchorOSS2
colocation colocOSS3OSS4 -inf: anchorOSS4 anchorOSS3
colocation colocOSS3group 300: ( resOST0002 resOST0006 resOST000a )
anchorOSS3
*colocation colocOSS4OSS1 -inf: anchorOSS1 anchorOSS4*
colocation colocOSS4group 300: ( resOST0003 resOST0007 resOST000b )
anchorOSS4

This fixed the scoring error!  Now my question is why?

What was so screwy about the original set up that changing it made the
difference?


Bobbie Lind
Systems Engineer
*Solutions Made Simple, Inc (SMSi)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20110822/2e027ced/attachment.html>


More information about the Pacemaker mailing list