[one-users] CPU=2 has no effect

Shi Jin jinzishuai at gmail.com
Mon Aug 31 11:41:49 PDT 2009


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.



More information about the Users mailing list