The problem is now solved

It seems to be caused by a bug on the file: "src/vmm/XenDriver.cc", line 134.

This line contents:
file << "vcpu = '" << vcpu << "'" << endl;

And it should be:
file << "vcpus = '" << vcpu << "'" << endl;

In this way, the launched VM has the specified numbers of cores...


Reference to Xen VM description parameters: http://tx.downloads.xensource.com/downloads/docs/user/#SECTION03200000000000000000



Ruben Diez escribió:
Hi:

we are attempt to up a VM with 4 cores in a physical host with 8 cores (2 processors of 4 cores each).

We are using OpenNebula 1.4 with xen (CENTOS 5.5 as OS)

The OpenNebula template machine include the variables:


CPU = 4
VCPU = 4
MEMORY = 8192

But the file "deployment.0" generated only have these line relevant to the CPU stuff:

#O CPU_CREDITS = 1024
memory = '8192'
vcpu = '4'

And the problem is that the generated VM have only a core....

Where is the missing "cpu=4" parameter in the "deployment.0" file???

How can we do in order to select the numbers of cores that a VM can see???

Regards.
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to