<html><head></head><body bgcolor="#FFFFFF"><div>These are great options! Thanks :)<br><br>Sent from my iPhone</div><div><br>On 20/01/2012, at 14:52, Eric Windisch <<a href="mailto:eric@cloudscaling.com">eric@cloudscaling.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
                <div><br></div>
                 
                <p style="color: #A0A0A8;">On Thursday, January 19, 2012 at 12:52 PM, Jorge Luiz Correa wrote:</p><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>I would like to know if it's possible to configure quota in each nova-compute node. For example, I set up a new hardware with 8 GB of memory and install the nova-compute, but I wish only 4 GB of memory are used (dedicated to nova-compute). Is it possible? If so, how can I configure that?</div>
<div><br></div><div>I've seen quotas in projects, configured using nova-manage command line tool. But it isn't what I'm looking for. </div><div><br></div></div></div></span></blockquote><div>In Essex, you can use 'reserved_host_memory_mb' with the ZoneManager to reserve a certain amount of memory per host.</div><div><br></div><div>If you're on Diablo, Joe Gordon made a pluggable scheduler based on the SimpleScheduler to do the same:</div><div>  <a href="https://github.com/cloudscaling/cs-nova-simplescheduler">https://github.com/cloudscaling/cs-nova-simplescheduler</a></div><div>The relevent key here would be '<span style="font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px; white-space: pre; ">cs_host_reserved_memory_mb'.</span></div><div><div><br></div><div>Note that both of these define how much memory goes to your OS and applications, rather than how much memory is set aside for Nova / VMs.  If you had 8GB and wanted to give Nova 6GB, you would reserve 2GB for your host OS.  This is a soft limit, your OS will happily take more memory absent cgroup support as aforementioned.</div><div><br></div>-- <br>Eric Windisch</div><div><br></div>
            </div></blockquote></body></html>