[Linux-HA] Enhanced version of showscores and a major update on the score calculation documentation

2008-03-12 Thread Dominik Klein

Hi

just yesterday I found a way better way to get the scores from ptest. 
This new version can not only display normal scores, it can also display 
master scores, which seems quite important these days.


It still produces a heck of a lot of logs when executed, but thats just 
the nature of the commands I use - thats not to change right now :(


Now you can also sort the output by node or resource. Resource is the 
default, give node as a parameter to sort by node.


Please test and report problems.

Also, I put a major update on the ScoreCalculation page this morning to 
make things about scores clearer. Especially concerning groups and 
master_slave resources.


Post questions if there's something that's not clear yet.

http://www.linux-ha.org/ScoreCalculation

Regards
Dominik


showscores.sh
Description: Bourne shell script
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] Enhanced version of showscores and a major update on the score calculation documentation

2008-03-12 Thread Andreas Mock
Hi Dominik,

you know I like your script, but the newest version broke
something:
When a resource name has '.' (dots) in it, the way you split
the $line in the while loop to get the score, node and resource name
doesn't work any more.

Can you send me a line of relevant ptest-output with the pattern
After in it. I don't have such in my configuration.

Best regards
Andreas Mock

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Enhanced version of showscores and a major update on the score calculation documentation

2008-03-12 Thread Dominik Klein

Andreas Mock wrote:

Hi Dominik,

you know I like your script, but the newest version broke
something:
When a resource name has '.' (dots) in it, 


That might just be. Use dashes ;)


the way you split
the $line in the while loop to get the score, node and resource name
doesn't work any more.

Can you send me a line of relevant ptest-output with the pattern
After in it. I don't have such in my configuration.


I sent you a PM with the output from my test system.

Regards
Dominik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Enhanced version of showscores and a major update on the score calculation documentation

2008-03-12 Thread Dominik Klein

Use dashes ;)


Well - turns out to be hyphen. At least as of dict.leo.org :)

Regards
Dominik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Enhanced version of showscores and a major update on the score calculation documentation

2008-03-12 Thread Raoul Bhatia [IPAX]

Dominik Klein wrote:

http://www.linux-ha.org/ScoreCalculation


If I'm not running into some nasty cache problem, then this page has not 
been updated yet.


Use http://wiki.linux-ha.org/ScoreCalculation instead until it gets 
updated.


added two links: 
http://wiki.linux-ha.org/ScoreCalculation#head-4355c45fc51c60c8e0f8a063bdc4069fdc17f761


will be periodically published to the main site

cheers,
raoul
--

DI (FH) Raoul Bhatia M.Sc.  email.  [EMAIL PROTECTED]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG web.  http://www.ipax.at
Barawitzkagasse 10/2/2/11   email.[EMAIL PROTECTED]
1190 Wien   tel.   +43 1 3670030
FN 277995t HG Wien  fax.+43 1 3670030 15

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems