[one-users] CPU=2 has no effect

Ruben S. Montero rubensm at dacya.ucm.es
Tue Sep 1 06:03:15 PDT 2009


Hi,

Regarding the  CPU you may find useful this message

http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-July/000578.html

Also, the CPU value displayed is that obtained from the monitorization
probe, as reported by the hypervisor. May be the problem is there,
which hypervisor and version are you using?


Cheers

Ruben

On Mon, Aug 31, 2009 at 8:41 PM, Shi Jin<jinzishuai at gmail.com> wrote:
> Hi there,
>
> I tried to start a VM to use two virtual CPUs by specifying
> CPU =2
>  in the template file.
> However, the resulting VM still used only 1.
>
> In addition, "onevm list" shows all VM has 0 as the CPU vablue, which
> seems wrong to me.
>
> Here is the output:
> oneadmin at onefrontend:/srv/cloud/ImgRep/WinXP$ onevm list
>  ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>  16 oneadmin    winxp runn   0 1048576           node1 04 13:09:22
>  17 oneadmin    winxp runn   0 1048576           node1 03 19:26:41
>  18 oneadmin    winxp runn   0 1048576           node1 00 15:36:37
>  19 oneadmin    winxp runn   0 1048576           node1 00 15:33:55
>  20 oneadmin winxp2co runn   0 1048576           node1 00 00:14:19
> oneadmin at onefrontend:/srv/cloud/ImgRep/WinXP$ onevm show 20
> VIRTUAL MACHINE 20 INFORMATION
> ID             : 20
> NAME           : winxp2core
> STATE          : ACTIVE
> LCM_STATE      : RUNNING
> START TIME     : 08/31 12:25:26
> END TIME       : -
> DEPLOY ID:     : one-20
>
> VIRTUAL MACHINE TEMPLATE
> CPU=2
> DISK=[
>  READONLY=no,
>  SOURCE=/srv/cloud/ImgRep/WinXP/winxp.compressed,
>  TARGET=hda ]
> GRAPHICS=[
>  TYPE=vnc ]
> INPUT=[
>  BUS=usb,
>  TYPE=tablet ]
> MEMORY=1024
> NAME=winxp2core
> NIC=[
>  BRIDGE=br1,
>  IP=192.168.1.134,
>  MAC=00:03:c0:a8:01:86,
>  NETWORK=Internet-DHCP,
>  VNID=1 ]
> OS=[
>  BOOT=hd ]
> VMID=20
>
>
> Thank you for your help.
> --
> Shi Jin, Ph.D.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7

 GridWay, http://www.gridway.org
 OpenNebula, http://www.opennebula.org
+---------------------------------------------------------------+



More information about the Users mailing list