On 2007-07-16T09:10:32, matilda matilda <[EMAIL PROTECTED]> wrote:

(Andreas, is that From: line intentional? ;-)

> Hi Andrew,
> 
> thank you for that hint. But be sure, I always try this, even
> if I'm sometimes too crazy to read the output.

Assuming you have the pengine/pe-* file, or a modified cib.xml file
(taken from cibadmin -Q with the changes you want to test):

ptest -VVVVV -X cib.xml -D cib.dot -G cib.te

will give you tons of diagnostic output (try tuning the -V count to
match the level you want to see). 

ptest has also been told to write the dot graph to cib.dot - if you then
use "dot -Tpng -o cib.png cib.dot" to convert this to a graph, you'll
see what the cluster would schedule for that transition in response to
the inputs.



Regards,
    Lars

-- 
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

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to