On Tue, Jul 8, 2008 at 22:58, Andreas Kurz <[EMAIL PROTECTED]> wrote: > On Tuesday 08 July 2008, Ciro Iriarte wrote: >> 2008/7/7 Lars Marowsky-Bree <[EMAIL PROTECTED]>: >> > On 2008-07-07T01:00:39, Ciro Iriarte <[EMAIL PROTECTED]> wrote: >> >> I know that graphviz is used, but this utility harvests the info, >> >> something that graphviz can't do on its own.. I was just asking if >> >> someone already worked on a utility that talks to the crm to make this >> >> kind of graph. >> > >> > ptest -D >> >> Seems you thought about everything :D >> >> I got a blank graph: > > 'ptest -D' gives you a transition graph for your config - no transitions=blank > graph .... you can use it to test changes to your cib and see what would > happen to your cluster before applying the changes.
to get a full graph, do this: cibadmin -Q > saved.xml vi saved.xml # remove the "lrm_resources" tags ptest -D full.dot --xml-file saved.xml by removing the lrm_resources tags, the tool thinks that nothing is running and shows you what it would do to start everything from scratch. might be worth making that a CLI option _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
