[Pacemaker] non-standby node scores

Andrew Beekhof andrew at beekhof.net
Fri Aug 21 07:07:51 UTC 2009


On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX]<r.bhatia at ipax.at> wrote:
> hi,
>
> i have a node that is placed in standby mode. when i use showscores.sh,
> i can see that resources have a score of -1000000 (-INFINITY) for this
> host.
>
> is it possible to get a "if this node wasn't in standby" score for
> those resources?

sure, use the crm shell, create a shadow copy of the config, unset
standby, run ptest, commit shadow copy to the cluster if you're happy

>
> i'm asking because i fear that when i bring the node online, a
> currently unnecessary fail-over will happen, due to my constraints.
>
> and apart from this current issue, i think it would be nice to
> make some quick "what would be" games on the command line with
> no need to dump/edit/ptest the cib.
>
> cheers,
> raoul
> --
> ____________________________________________________________________
> DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
> Technischer Leiter
>
> IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
> Barawitzkagasse 10/2/2/11           email.            office at ipax.at
> 1190 Wien                           tel.               +43 1 3670030
> FN 277995t HG Wien                  fax.            +43 1 3670030 15
> ____________________________________________________________________
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list