Re: [Pacemaker] is ptest 1.06 working correctly?

2009-12-01 Thread Andrew Beekhof
On Mon, Nov 30, 2009 at 5:55 PM, Frank DiMeo frank.di...@bigbandnet.com wrote:
 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?


Yes, and it does.
It just happens that in your case, the cluster doesn't need to do
anything - all the resources are where they should be.

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Rasto Levrinc

On Mon, November 30, 2009 5:00 pm, Frank DiMeo wrote:
 I ran the command:




 ptest -live-check - -save-graph tmp.graph -save-dotfile tmp.dot

you need -- instead of - in your long option names. Only - should have
one -

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@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
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.

-Frank

 -Original Message-
 From: Rasto Levrinc [mailto:rasto.levr...@linbit.com]
 Sent: Monday, November 30, 2009 11:08 AM
 To: pacemaker@oss.clusterlabs.org
 Subject: Re: [Pacemaker] is ptest 1.06 working correctly?
 
 
 On Mon, November 30, 2009 5:00 pm, Frank DiMeo wrote:
  I ran the command:
 
 
 
 
  ptest -live-check - -save-graph tmp.graph -save-dotfile tmp.dot
 
 you need -- instead of - in your long option names. Only - should
 have
 one -
 
 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@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Rasto Levrinc

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@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
So ptest can analyze transitions that have already happened on a live node?  I 
thought it could analyze the configuration and predict behavior.  I suppose 
that's not correct?

-Frank

 -Original Message-
 From: Rasto Levrinc [mailto:rasto.levr...@linbit.com]
 Sent: Monday, November 30, 2009 11:38 AM
 To: pacemaker@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@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Frank DiMeo
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.levr...@linbit.com]
 Sent: Monday, November 30, 2009 11:38 AM
 To: pacemaker@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@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Darren.Mansell
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.

-Original Message-
From: Frank DiMeo [mailto:frank.di...@bigbandnet.com] 
Sent: 30 November 2009 16:56
To: pacemaker@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.levr...@linbit.com]
 Sent: Monday, November 30, 2009 11:38 AM
 To: pacemaker@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@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] is ptest 1.06 working correctly?

2009-11-30 Thread Darren.Mansell
This sounds very interesting. I look forward to trying it :)

(sorry for Outlook-affliction)

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

Hi,

On Mon, Nov 30, 2009 at 05:04:35PM -, darren.mans...@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.di...@bigbandnet.com] 
 Sent: 30 November 2009 16:56
 To: pacemaker@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.levr...@linbit.com]
  Sent: Monday, November 30, 2009 11:38 AM
  To: pacemaker@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@oss.clusterlabs.org
  http://oss.clusterlabs.org/mailman/listinfo/pacemaker
 
 ___
 Pacemaker mailing list
 Pacemaker@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker
 
 ___
 Pacemaker mailing list
 Pacemaker@oss.clusterlabs.org
 http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker