[Linux-HA] Whats the Score!

ktomlinson at scarpgold.co.uk ktomlinson at scarpgold.co.uk
Mon Oct 29 08:05:14 MDT 2007


Be even better if we had an inbuilt score status command that provides this information. This script cuts/greps the output from ptest which could change in future releases so the script is not the best way of getting this information. Also i dont think this is picking up the 'multiplier' information as some of these scores are not what we expect.

I think these -/+ 1000000 are INFINITY values.

justin.kinney at academy.com wrote:
> linux-ha-bounces at lists.linux-ha.org wrote on 10/29/2007 08:24:36 AM:
> 
> > Got the script outputing but still very confusing to a newbie.
> 
> I agree.  It'd be great if one of the more experienced list members could 
> help explain what the scores are.  Do the -1000000 and 1000000 actually 
> represent -INFINITY and INFINITY (respectively)? 
> 
> > sh /tmp/score_status
> > Resource        Node    Score   [target_role]
> > dm_fs_rsc       ukblx220        -1000000
> > dm_fs_rsc       ukblx221        1000000
> > dm_ipaddr_rsc   ukblx220        -89
> > dm_ipaddr_rsc   ukblx221        80
> > dm_vg101_rsc    ukblx220        -1000000
> > dm_vg101_rsc    ukblx221        1000000
> > dm_webserver    ukblx220        -1000000
> > dm_webserver    ukblx221        1000000
> > medchem_fs_rsc  ukblx220        1000000
> > medchem_fs_rsc  ukblx221        -1000000
> > medchem_ipaddr_rsc      ukblx220        60
> > medchem_ipaddr_rsc      ukblx221        0
> > medchem_vg201_rsc       ukblx220        1000000
> > medchem_vg201_rsc       ukblx221        -1000000
> > ping_rsc:0      ukblx220        1
> > ping_rsc:0      ukblx221        0
> > ping_rsc:1      ukblx220        -1000000
> > ping_rsc:1      ukblx221        1
> > stonith_220_rsc ukblx220        0
> > stonith_220_rsc ukblx221        120
> > stonith_221_rsc ukblx220        120
> > stonith_221_rsc ukblx221        0
> > ukblx220        ping_rsc
> > ukblx221        ping_rsc
> 
> > 
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 




More information about the Linux-HA mailing list