[Pacemaker] is ptest 1.06 working correctly?

Darren.Mansell at opengi.co.uk Darren.Mansell at opengi.co.uk
Mon Nov 30 12:37:14 EST 2009


This sounds very interesting. I look forward to trying it :)

(sorry for Outlook-affliction)

-----Original Message-----
From: Dejan Muhamedagic [mailto:dejanmm at fastmail.fm] 
Sent: 30 November 2009 17:28
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] is ptest 1.06 working correctly?

Hi,

On Mon, Nov 30, 2009 at 05:04:35PM -0000, Darren.Mansell at opengi.co.uk
wrote:
> I've never really understood the correct time to do the ptest graphs.
I
> initiated a failover once and did the graph very quickly while it was
in
> a transitional state but I've always wondered if there is an easier
way
> i.e. "show me a graph of the migration plan if such and such were to
> happen".

There's a fairly new feature in the crm shell with which it
is possible to edit the status section, e.g. to simulate a
resource failure or the node lost event. Then you can try
the ptest command (in configure) and it will show you what
would happen. This feature has not been complete at the time
when 1.0.6 was released and may still change.

Also, if you change the configuration and run ptest _before_
commit, that will also display the graph of what would
happen if the new configuration had been committed.

Thanks,

Dejan

> -----Original Message-----
> From: Frank DiMeo [mailto:Frank.DiMeo at bigbandnet.com] 
> Sent: 30 November 2009 16:56
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] is ptest 1.06 working correctly?
> 
> Actually, I don't know what you mean by the phrase "you don't have any
> transitions in live cib".  Shouldn't ptest generate a graphical
> representation of the actions to be carried out on resources?
> 
> -Frank
> 
> > -----Original Message-----
> > From: Rasto Levrinc [mailto:rasto.levrinc at linbit.com]
> > Sent: Monday, November 30, 2009 11:38 AM
> > To: pacemaker at oss.clusterlabs.org
> > Subject: Re: [Pacemaker] is ptest 1.06 working correctly?
> > 
> > 
> > On Mon, November 30, 2009 5:21 pm, Frank DiMeo wrote:
> > > I actually did use "--" on the long options, for some reason the
> > > cut/paste in MS outlook collapsed them.  As you see from the
> enclosed
> > > files in my previous posting, the files are actually generated,
> > there's
> > > just not much in them.
> > >
> > 
> > Oh, I see. It is because you don't have any transitions in live cib.
> It
> > works correctly as far as I can tell.
> > 
> > Rasto
> > 
> > 
> > --
> > : Dipl-Ing Rastislav Levrinc
> > : DRBD-MC http://www.drbd.org/mc/management-console/
> > : DRBD/HA support and consulting http://www.linbit.com/
> > DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
> > 
> > 
> > 
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list