Hi,<div><br></div><div>I am not sure this is related to the VMware monitoring... Can you send the VM Templates?</div><div><br></div><div>Thanks</div><div><br></div><div>Ruben<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 5:10 PM, Luigi Fortunati <span dir="ltr"><<a href="mailto:luigi.fortunati@gmail.com">luigi.fortunati@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div>I noticed a serious problem about the usage of VMWare ESXi 4.1 and OpenNebula 2.0.1.</div><div>I'm actually using the VMWare driver addon which can be found on the opennebula website (ver. 1.0) and libvirt (ver. 0.8.7).</div>
<div>It happens that OpenNebula can't get information about the usage of resources on the cluster nodes.</div><div>By running 2 VM (each one requires 2 VCPU and 1 GB of memory) and executing some commands I get this output.</div>
<div><br></div><div><div><font face="'courier new', monospace">oneadmin@custom2:~/src$ onehost list</font></div><div><font face="'courier new', monospace"> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT</font></div>
<div><font face="'courier new', monospace"> 2 <a href="http://custom7.sns.it" target="_blank">custom7.sns.it</a> default 0 200 200 200 2G 0K off</font></div><div><font face="'courier new', monospace"> 1 <a href="http://custom6.sns.it" target="_blank">custom6.sns.it</a> default 2 200 200 200 2G 0K on</font></div>
<div><font face="'courier new', monospace">oneadmin@custom2:~/src$ onehost show 1</font></div><div><font face="'courier new', monospace">HOST 1 INFORMATION </font></div>
<div><font face="'courier new', monospace">ID : 1 </font></div><div><font face="'courier new', monospace">NAME : <a href="http://custom6.sns.it" target="_blank">custom6.sns.it</a> </font></div>
<div><font face="'courier new', monospace">CLUSTER : default </font></div><div><font face="'courier new', monospace">STATE : MONITORED </font></div>
<div><font face="'courier new', monospace">IM_MAD : im_vmware </font></div><div><font face="'courier new', monospace">VM_MAD : vmm_vmware </font></div>
<div><font face="'courier new', monospace">TM_MAD : tm_vmware </font></div><div><font face="'courier new', monospace"><br></font></div>
<div><font face="'courier new', monospace">HOST SHARES </font></div><div><font face="'courier new', monospace">MAX MEM : 2096460 </font></div>
<div><font face="'courier new', monospace">USED MEM (REAL) : 0 </font></div><div><font face="'courier new', monospace">USED MEM (ALLOCATED) : 0 </font></div>
<div><font face="'courier new', monospace">MAX CPU : 200 </font></div><div><font face="'courier new', monospace">USED CPU (REAL) : 0 </font></div>
<div><font face="'courier new', monospace">USED CPU (ALLOCATED) : 0 </font></div><div><font face="'courier new', monospace">RUNNING VMS : 2 </font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">MONITORING INFORMATION </font></div>
<div><font face="'courier new', monospace">CPUSPEED=1992</font></div><div><font face="'courier new', monospace">HYPERVISOR=vmware</font></div><div><font face="'courier new', monospace">TOTALCPU=200</font></div>
<div><font face="'courier new', monospace">TOTALMEMORY=2096460</font></div></div><div><font face="'courier new', monospace"><br></font></div><div>As you can see OpenNebula is unable to get correct information about the usage of resources on the cluster nodes.</div>
<div>As these informations are used by the VM scheduler, OpenNebula is unable to schedule the VM correctly.</div><div>I tried to create several VM and all of them were placed on the same host even if the latter was unable to satisfy the resource requirements of all the VMs.</div>
<div>I think that this problem is strongly related to libvirt as OpenNebula use it to recover information about hosts and vm.</div><div><br></div><div>Do you get the same behavior? Do you know if there is a way to solve this big issue?</div>
<div><br>-- <br>Luigi Fortunati<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a 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><br><br clear="all"><br>-- <br>Dr. Ruben Santiago Montero<br>Associate Professor (Profesor Titular), Complutense University of Madrid<br><br>URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</div>