<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thank you all very much for the
replies!<br>
<br>
Gene<br>
<br>
On 14-05-13 06:37 PM, Ruben S. Montero wrote:<br>
</div>
<blockquote
cite="mid:CAGi56tfQkU_v=qYyoZ2gmoQk6WA+i+w21V=_RKjgeifu9fwL7Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Yes, there maybe a problem. There won't be nothing
to stop the scheduler from allocating the VM if it's resumed.
That's the reason for accounting the capacity even if you are
not actually using it, you'll be granted with it as soon you
request it (and its available).
<div>
<br>
</div>
<div>
<div>So you may be not making a "complete" use of the resource
them but you have a "reservation" for them, especially for
SUSPENDED/POWER OFF. But also for HOLD, PENDING, STOP, that
will potentially interfere with other users when the VM is
resumed.</div>
<div><br>
</div>
<div>Now we could check the quota when the VM is moved to
PENDING. For example, OpenNebula won't let you resume the
VM. </div>
<div><br>
</div>
<div>However, the other quotas should be also modified to
follow the same convention. For example, number of IP's
leased from a network. The main problem I see here is that
would be conflicting with other metrics like (number of
VMs). If we only limit ACTIVE VMs a DoS attack could be done
easily by creating VMs in STOP (e.g. size of checkpoint
files is implicitly controlled by the MEMORY quota). If we
preserve the quota as in 4.6, then the MEMORY quota for
ACTIVE VMs wouldn't be useful. </div>
<div><br>
</div>
<div>Maybe is not "fair" in all cases (I believe that only
stop VMs are a problem, and that operation is not exposed
for the end-users, i.e. cloud view ) but it is consistent
for all the quotas...</div>
<div><br>
</div>
<div>Cheers</div>
<div>
<div><br>
</div>
<div>
<div>Ruben</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, May 13, 2014 at 11:15 PM, Jon
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">How would that affect scheduling? For
instance I have a vm that only comes on at certain times
of the day. </p>
<p dir="ltr">I think this is a good change too, I'm just
curious if there are any repercussions to the change. </p>
<p dir="ltr">Thanks, <br>
Jon A</p>
<div>
<div>
<div class="gmail_quote">On May 13, 2014 2:04 PM,
"kiran ranjane" <<a moz-do-not-send="true"
href="mailto:kiran.ranjane@gmail.com"
target="_blank">kiran.ranjane@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">+1 vote for this
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Kiran Ranjane</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, May 13, 2014 at
3:05 PM, Stefan Kooman <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:stefan@bit.nl"
target="_blank">stefan@bit.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div>Quoting Carlos Martín Sánchez (<a
moz-do-not-send="true"
href="mailto:cmartin@opennebula.org"
target="_blank">cmartin@opennebula.org</a>):<br>
> Hi,<br>
><br>
> On Fri, May 2, 2014 at 10:51 PM, Liu,
Guang Jun (Gene) <<br>
> <a moz-do-not-send="true"
href="mailto:Gene.Liu@alcatel-lucent.com"
target="_blank">Gene.Liu@alcatel-lucent.com</a>>
wrote:<br>
><br>
> > Hi there,<br>
> ><br>
> > Is there a way to config or
twist OpenNebula so that quota management<br>
> > (e.g. RAM) counts resources of
active VMs only?<br>
> ><br>
> > I found the quota management
(RAM per user) counts all the VMs which<br>
> > created by a user. We found if
the quota only counts the resources from
the<br>
> > active VMs, that means more
sense. E.g., I have 16RAM quota. I create
one<br>
> > VM w/ 16G RAM. Then I save/stop
my VM. The system should allow me to
create<br>
> > another VM w/ 16G RAM if quota
management counts only active VMs.<br>
> ><br>
> > Thanks!<br>
> > Gene<br>
> ><br>
><br>
> There isn't a way to configure that.
It would require to modify the core.<br>
><br>
> But I think it makes sense. So I
return the question to the community:<br>
> ¿Should we consider this change in
the quota behaviour?<br>
<br>
</div>
I vote for this change. Your not actually
consuming resources on the<br>
hypervisor(s) for not having running vm's
...<br>
<br>
Gr. Stefan<br>
<span><font color="#888888"><br>
--<br>
| BIT BV <a moz-do-not-send="true"
href="http://www.bit.nl/"
target="_blank">http://www.bit.nl/</a>
Kamer van Koophandel 09090351<br>
| GPG: 0xD14839C6 <a
moz-do-not-send="true"
href="tel:%2B31%20318%20648%20688"
value="+31318648688" target="_blank">+31
318 648 688</a> / <a
moz-do-not-send="true"
href="mailto:info@bit.nl"
target="_blank">info@bit.nl</a><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org"
target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org"
target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br
clear="all">
<div><br>
</div>
-- <br>
</a>
<div dir="ltr"><a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">
<div>
<div>-- <br>
</div>
</div>
Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect</a>
<div><a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">OpenNebula - Flexible Enterprise
Cloud Made Simple<br>
</a><a moz-do-not-send="true"
href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a>
| <a moz-do-not-send="true"
href="mailto:rsmontero@opennebula.org"
target="_blank">rsmontero@opennebula.org</a> |
@OpenNebula</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</body>
</html>