2012/3/23 sinchb <sin...@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 :
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@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

Reply via email to