[Pacemaker] Bug in ptest -s for promotion scores?

Michael Schwartzkopff misch at clusterbau.com
Wed Jan 19 08:37:29 UTC 2011


Hi,

I have pacemaker-1.0.10 on opensuse11.3 from the clusterlabs repo installed.

When I have a ms DRBD resource with a filesystem depending on the master state 
of the DRBD and look at the scores I get:

# ptest -sL
(...)
resDRBD:0 promotion score on hakurs27: 10020
resDRBD:1 promotion score on hakurs28: 10000
resDRBD:0 promotion score on hakurs27: 1000000
resDRBD:1 promotion score on hakurs28: -1000000
(...)

please note that lines 1 and 3 are identical. also lines 2 and 4 a re 
identical. So does resDRBD:0 get 10020 points or inf? And what would be the 
promotion score of resDRBD:0 on node hakurs28?

Anybody with a good explanation?

Greetings.

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20110119/fc0e232a/attachment.sig>


More information about the Pacemaker mailing list