Hi<br><br>I was using a RANK expression which takes into account freecpu, freemem and running vms. However, the value of this expression for each Host may go up 10^10. I have seen the following in sched.log<br><br><br><span style="display: block; padding-left: 6em;"><span>Virtual Machine:
2397<br> -1 28<br> -1 27<br>-1 29<br>-1 30<br>-1 22<br>-1 21<br>-1 9<br>-1 26</span></span><br>If I ensure that the value of RANK for each host lies below 10^8, I see the following in sched.log<br>
<br><span style="display: block; padding-left: 6em;"><span>Virtual Machine:
2398<br> 1 28<br> 1 27<br> 0.99875 29<br>
0.555 30<br> 0.5 22<br> 0.5 21<br>
0.49875 19<br> 0.46625 26</span></span><br><br clear="all">Please let me know if RANK value is captured as float or integer ? <br>I suspect some float to integer casting happening in the code ?<br><br>-- <br>Regards,<br>
Shashank Rachamalla<br>