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

sinchb sinchb at 163.com
Mon Mar 26 02:17:55 UTC 2012


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 :
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120326/460779d1/attachment-0003.html>


More information about the Pacemaker mailing list