[Linux-HA] Tool for querying current resource score
lmb at suse.de
Sat Jul 14 13:17:58 MDT 2007
On 2007-07-14T17:49:53, matilda matilda <matilda at grandel.de> wrote:
> Even if Maxim starts to document this stuff as the new volunteer ;-)
> it would be great to have a tool that shows the current score of a
> resource at a certain or all available nodes. In my case it would help
> me to understand how the calculation is done, how I have to set the
> values to achieve what I want to, help to understand why a certain
> resource stays where it is (even if I don't want it :-)) and it would
> help to create a tutorial with valuable examples.
> So, is there a tool to read the current scores of resources?
ptest can do what you want. If you run it against a given configuration,
you can see what the cluster would do, and what weights would be
assigned because of that.
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
More information about the Linux-HA