Hello!. I understand the score in Heartbeat 2.1.3, by is the last release,
2.1.4, I have several doubts:
This is my cib.xml:
At the first time, the score is:
IPaddr_192_168_1_248 = 150 + (3*6) + (0*10) =168
IPaddr_192_168_1_248 = 149 (constraints location)
Heartbeat executes the group in ast1.
Warning: Script is not running on DC. This will be slow.
Resource Score Node Stickiness #Fail
Fail-Stickiness
asterisk_3 0 ast2 0 0 0
asterisk_3 18 ast1 0 0 0
group_1 0 ast2 6 0 -10
group_1 18 ast1 6 0 -10
IPaddr_192_168_1_248149 ast2 0 0 0
IPaddr_192_168_1_248168 ast1 0 0 0
mysql_2 0 ast2 0 0 0
mysql_2 18 ast1 0 0 0
mysql_5 100 ast2 0 0 0
mysql_5 -INFINITY ast1 0 0 0
Now, asterisk_3 fails and the fail-count is incremented to 1.The score should
be:
asterisk_3= (6*3) - (1*10) =8
Why the group's score (group_1) is not decremented ?
The score of IPaddr_192_168_1_248 should be:
IPaddr_192_168_1_248 = 150 + (3*6) + (1*10) =158. Why this is not updated?
Warning: Script is not running on DC. This will be slow.
Resource Score Node Stickiness #Fail
Fail-Stickiness
asterisk_3 0 ast2 0 0 0
asterisk_3 8 ast1 0 1 0
group_1 0 ast2 6 0 -10
group_1 18 ast1 6 0 -10
IPaddr_192_168_1_248149 ast2 0 0 0
IPaddr_192_168_1_248168 ast1 0 0 0
mysql_2 0 ast2 0 0 0
mysql_2 18 ast1 0 0 0
mysql_5 100 ast2 0 0 0
mysql_5 -INFINITY ast1 0 0 0
Now, asterisk_3 fails again. The score should be:
asterisk_3= (6*3) - (2*10) = -2
IPaddr_192_168_1_248 = 150 + (3*6) + (2*10) = 148 (therefore ast2 should will
be active: 148 < 149)
Warning: Script is not running on DC. This will be slow.
Resource Score Node Stickiness #Fail
Fail-Stickiness
asterisk_3 18 ast2 0 0 0
asterisk_3 -20 ast1 0 2 0
group_1 0 ast1 6 0 -10
group_1 18 ast2 6 0 -10
IPaddr_192_168_1_248150 ast1 0 0 0
IPaddr_192_168_1_248167 ast2 0 0 0
mysql_2 0 ast1 0 0 0
mysql_2 18 ast2 0 0 0
mysql_5 0 ast1 0 1 0
mysql_5 -INFINITY ast2 0 0 0
Yes, ast2 has been activated. But:
Why the score of IPaddr_192_168_1_248 not is 148?
Why the score of asterisk is -20?
Now, asterisk_3 fails again in the new ast2.
asterisk_3= (6*3) - (1*10) = 8
IPaddr_192_168_1_248 = 149 + (3*6) + (0*10) = 167
Resource Score Node Stickiness #Fail
Fail-Stickiness
asterisk_3 -20 ast1 0 2 0
asterisk_3 8 ast2 0 1 0
group_1 0 ast1 6 0 -10
group_1 18 ast2 6 0 -10
IPaddr_192_168_1_248150 ast1 0 0 0
IPaddr_192_168_1_248167 ast2 0 0 0
mysql_2 0 ast1 0 0 0
mysql_2 18 ast2 0 0 0
mysql_5 0 ast1 0 1 0
mysql_5 -INFINITY ast2 0 0 0
asterisk_3 fails again in ast2.
asterisk_3= (6*3) - (2*10) = -2.
Resource Score Node Stickiness #Fail
Fail-Stickiness
asterisk_3 -20 ast1 0 2 0
asterisk_3 -8 ast2 0 2 0
group_1 0 ast1 6 0 -10
group_1 12 ast2 6 0 -10
IPaddr_192_168_1_248150 ast1 0 0 0
IPaddr_192_168_1_248161 ast2 0 0 0
mysql_2 0 ast1 0 0 0
mysql_2 12 ast2 0 0 0
mysql_5 0 ast1 0 1 0
mysql_5 -INFINITY ast2 0 0 0
Why the score of asterisk is now -8?
Why the score of IPaddr_192_168_1_248 is 161? Why is updated now?
Finally:
If asterisk belongs to group_1, Why the group is being executed in ast2 without
asterisk?
Is possible that asterisk is running in a node and group_1 is running in other
node?
_________________________________________________________________
¿Preparándote para el verano? En Windows Live Search encontrarás las mejores
dietas para conseguir tu peso ideal
http://search.live.com/results.aspx?q=dieta&form=MKTPG_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems