[Pacemaker] 2012年3月26日 10:13:08 自动保存草稿

Andrew Beekhof andrew at beekhof.net
Thu Mar 29 02:36:29 EDT 2012


2012/3/26 sinchb <sinchb at 163.com>:
> 2012/3/23 sinchb <sinchb at 163.com>:
>> What's the meanings of "native_color","group_color","clone_color" and so
>> on,when I use crm_simulate -L -s to calculate the scores of the cluster
>> resource? And difference ?
>
> Show us the output you're looking at and we can try to explain it.
>
>> I am looking forward to your reply.
> I have two resources :myrsc1 ,myrsc2.then I defined  a group that contains
> myrsc1 and myrsc2. when I enter the command : crm_simulte -L -s to compute
> the score of the resource ,I get confused.what is the difference between
> native_color and group/clone color.
> My output :

Sorry, I should have asked for the config too

> native_color: myrsc3 allocation score on h10_111: 0
> native_color: myrsc3 allocation score on h10_147: 0
> native_color: myrsc3 allocation score on h10_148: 0
> native_color: myrsc3 allocation score on h10_149: 0
> group_color: group_myrsc allocation score on h10_111: 0
> group_color: group_myrsc allocation score on h10_147: 0
> group_color: group_myrsc allocation score on h10_148: 0
> group_color: group_myrsc allocation score on h10_149: 0
> group_color: myrsc1 allocation score on h10_111: -INFINITY
> group_color: myrsc1 allocation score on h10_147: 0
> group_color: myrsc1 allocation score on h10_148: INFINITY
> group_color: myrsc1 allocation score on h10_149: 0
> group_color: myrsc2 allocation score on h10_111: -INFINITY
> group_color: myrsc2 allocation score on h10_147: 0
> group_color: myrsc2 allocation score on h10_148: 0
> group_color: myrsc2 allocation score on h10_149: 0
> native_color: myrsc1 allocation score on h10_111: -INFINITY
> native_color: myrsc1 allocation score on h10_147: -INFINITY
> native_color: myrsc1 allocation score on h10_148: INFINITY
> native_color: myrsc1 allocation score on h10_149: 0
> native_color: myrsc2 allocation score on h10_111: -INFINITY
> native_color: myrsc2 allocation score on h10_147: -INFINITY
> native_color: myrsc2 allocation score on h10_148: 0
> native_color: myrsc2 allocation score on h10_149: -INFINITY
>
> thans for you reply.
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>




More information about the Pacemaker mailing list