[one-users] setting hard limits on OpenNebula resources (memory, disk, etc).
Carlos Martín Sánchez
cmartin at opennebula.org
Thu Dec 5 02:29:18 PST 2013
Hi Steven,
Yes, that was a problem in older versions. I think that memory was only
considered if CPU was present.
Both CPU and MEMORY are now mandatory, I believe since version 3.6 when we
added the quotas.
So in current versions the hard limit is enforced always, the VM can be
created but it will not be possible to deploy it. And you can also use soft
limits with user or group quotas [1], this way the VM will be rejected when
the user tries to create it.
Best regards,
Carlos
[1] http://opennebula.org/documentation:rel4.4:quota_auth
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Wed, Dec 4, 2013 at 5:07 PM, Steven Timm <timm at fnal.gov> wrote:
>
> It appears that if you include a "CPU=n" in your VM definition
> under OpenNebula 3.2, then the corresponding values of
> "ACPU" and "AMEN" that show in onehost list/show are decremented
> to account for that CPU and memory being used. If you don't have
> that, then the corresponding columns are not decremented.
> Furthermore, it appears that there's no way to allocate memory only.
>
> Since the CPU flag is optional, it doesn't seem like this
> is a reliable way to make sure everyone obeys the allocated memory
> standards. Have newer opennebula versions gotten better at this?
>
> Steve Timm
>
>
>
> On Wed, 4 Dec 2013, Steven Timm wrote:
>
> I just had a user successfully launch a 64GB VM even though none
>> of my hosts have more than 48GB of physical RAM. All works fine
>> until you actually try to use more than 48G of RAM, in which case it goes
>> deep into swap.
>>
>> Is there any way that OpenNebula can be configured to just outright
>> reject VM's that request too many resources? We are running 3.2 right
>> now but would appreciate help for any version.
>>
>> Steve Timm
>>
>>
>> ------------------------------------------------------------------
>> Steven C. Timm, Ph.D (630) 840-8525
>> timm at fnal.gov http://home.fnal.gov/~timm/
>> Fermilab Scientific Computing Division, Scientific Computing Services
>> Quad.
>> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D (630) 840-8525
> timm at fnal.gov http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131205/8a1b9087/attachment-0002.htm>
More information about the Users
mailing list