On Thu, Aug 20, 2009 at 8:18 PM, Raoul Bhatia [IPAX]<[email protected]> 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. [email protected] > Technischer Leiter > > IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at > Barawitzkagasse 10/2/2/11 email. [email protected] > 1190 Wien tel. +43 1 3670030 > FN 277995t HG Wien fax. +43 1 3670030 15 > ____________________________________________________________________ > > _______________________________________________ > Pacemaker mailing list > [email protected] > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > _______________________________________________ Pacemaker mailing list [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
