[Pacemaker] ptest -D not showing master_slave promotion

Lars Marowsky-Bree lmb at suse.de
Sat Sep 13 13:54:21 UTC 2008


On 2008-09-11T12:20:35, "Raoul Bhatia [IPAX]" <r.bhatia at ipax.at> wrote:

> hi,
> 
> i made a very simple cib.xml file (attached) with a master_slave
> resource. when i try to create a dot file to see the transactions,
> i do not see any promoting in the dot output.
> 
> > ptest -D cib.dot -X cib.xml
> 
> am i missing something?

Yes.

The master won't be promoted before at least one of the slaves has
called "crm_master", which happens either during start or their
post-start notifications. The initial transition graph can't look
further than that yet.


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





More information about the Pacemaker mailing list