Hi
I install CentOS 5.4 and try to use Xen....
But when I deploy some VM with Virt-manager and specify 2 or more VCPUS to use, when start the vm it start with just one CPU... On this VM I install Windows 2003 Server... This the file of VM:
name = "Avision" uuid = "625139bf-1ad3-86fc-45e6-e8efbb9db643" maxmem = 2048 memory = 2048 vcpus = 4 cpus = "0,1,2,3" builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" usb = 1 usbdevice = "tablet" sdl = 0 vnc = 1 vncunused = 1 keymap = "pt-br" disk = [ "phy:/dev/etherd/e3.3,hda,w" ] vif = [ "mac=00:16:36:2f:fd:7c,bridge=xenbr0,script=vif-bridge,model=ne2k_pci" ] parallel = "none" serial = "pty"
But, on windows I just see one CPU... I don't understand why this happen!!
Thanks for any help
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi
I install CentOS 5.4 and try to use Xen....
But when I deploy some VM with Virt-manager and specify 2 or more VCPUS to use, when start the vm it start with just one CPU... On this VM I install Windows 2003 Server... This the file of VM:
Did you verify that Xen has those 4 CPUs assigned to the guest? Did you install Windows with SMP support or add SMP support after you added more CPUs?
Hi... I already has the same VM running on Xen 3.4.1 and the 4 VCPUS appears on WIndows system...
Now I downgrade to xen 3.0.3 but ewven I define VCPUS =4 and the number o CPUS on five VM, the cores not be present....
When I start Virt-manager, the VM shows me 4 CPUS, but when I start the VM, quiclky change to 1 VCPU...
On xend.log I get this:
... [2010-04-04 01:49:46 xend 4191] DEBUG (image:330) args: vcpus, val: 4 ... [2010-04-04 01:49:46 xend.XendDomainInfo 4191] DEBUG (XendDomainInfo:992) Storing VM details: {'shadow_memory': '20', 'uuid': '625139bf-1ad3-86fc-45e6-e8efbb9db643', 'on_reboot': 'restart', 'start_time': '1270356586.26', 'on_poweroff': 'destroy', 'name': 'Avision', 'xend/restart_count': '0', 'vcpus': '4', 'vcpu_avail': '15', 'memory': '2048', 'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib64/xen/bin/qemu-dm) (pae 1) (vcpus 4) (boot c) (timer_mode 1) (localtime 1) (serial pty) (vnc 1) (vncunused 1) (display localhost:10.0) (xauthority /root/.Xauthority) (acpi 1) (apic 1) (usb 1) (usbdevice tablet) (keymap pt-br))', 'maxmem': '2048'} ... ... ...
thanks
2010/4/4 Christopher G. Stach II cgs@ldsys.net:
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi
I install CentOS 5.4 and try to use Xen....
But when I deploy some VM with Virt-manager and specify 2 or more VCPUS to use, when start the vm it start with just one CPU... On this VM I install Windows 2003 Server... This the file of VM:
Did you verify that Xen has those 4 CPUs assigned to the guest? Did you install Windows with SMP support or add SMP support after you added more CPUs?
-- Christopher G. Stach II http://ldsys.net/~cgs/ _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi... I already has the same VM running on Xen 3.4.1 and the 4 VCPUS appears on WIndows system...
Now I downgrade to xen 3.0.3 but ewven I define VCPUS =4 and the number o CPUS on five VM, the cores not be present....
Is it the Xen that comes stock with CentOS?
Yes
Tks
2010/4/4 Christopher G. Stach II cgs@ldsys.net:
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi... I already has the same VM running on Xen 3.4.1 and the 4 VCPUS appears on WIndows system...
Now I downgrade to xen 3.0.3 but ewven I define VCPUS =4 and the number o CPUS on five VM, the cores not be present....
Is it the Xen that comes stock with CentOS?
-- Christopher G. Stach II http://ldsys.net/~cgs/ _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Gilberto Nunes wrote:
Yes
Tks
2010/4/4 Christopher G. Stach II cgs@ldsys.net:
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi... I already has the same VM running on Xen 3.4.1 and the 4 VCPUS appears on WIndows system...
Now I downgrade to xen 3.0.3 but ewven I define VCPUS =4 and the number o CPUS on five VM, the cores not be present....
Is it the Xen that comes stock with CentOS?
-- Christopher G. Stach II
I don't think so, type xm dmesg and see what the Xen Version says.
I'm completely "stock" CentOS 5.4 virt install and I have:
Xen version 3.1.2-164.15.1.el5 (mockbuild@centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) Wed Mar 17 11:22:38 EDT 2010
Which indicates Version 3.1.2 AFAIK.
Sorry!
The correct version is 3.1.2
2010/4/5 Ben M. centos@rivint.com:
Gilberto Nunes wrote:
Yes
Tks
2010/4/4 Christopher G. Stach II cgs@ldsys.net:
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Hi... I already has the same VM running on Xen 3.4.1 and the 4 VCPUS appears on WIndows system...
Now I downgrade to xen 3.0.3 but ewven I define VCPUS =4 and the number o CPUS on five VM, the cores not be present....
Is it the Xen that comes stock with CentOS?
-- Christopher G. Stach II
I don't think so, type xm dmesg and see what the Xen Version says.
I'm completely "stock" CentOS 5.4 virt install and I have:
Xen version 3.1.2-164.15.1.el5 (mockbuild@centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) Wed Mar 17 11:22:38 EDT 2010
Which indicates Version 3.1.2 AFAIK.
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Yes
Tks
Did you upgrade and then downgrade on the same machine it's not working properly on or are they different physical machines?
I upgrade the entire system
2010/4/5 Christopher G. Stach II cgs@ldsys.net:
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
Yes
Tks
Did you upgrade and then downgrade on the same machine it's not working properly on or are they different physical machines?
-- Christopher G. Stach II http://ldsys.net/~cgs/ _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
----- "Gilberto Nunes" gilberto.nunes32@gmail.com wrote:
I upgrade the entire system
If you mean that you upgraded Xen on the same system you recently downgraded to stock Xen on, it makes me wonder what else you modified, particularly because you are having kernel problems when you start VMs. Does the VM work on another physical host with a stock CentOS install? Does the VM work on the same physical host with a fresh stock CentOS install?
On Sat, Apr 03, 2010 at 11:49:00PM -0300, Gilberto Nunes wrote:
Hi
I install CentOS 5.4 and try to use Xen....
But when I deploy some VM with Virt-manager and specify 2 or more VCPUS to use, when start the vm it start with just one CPU... On this VM I install Windows 2003 Server... This the file of VM:
name = "Avision" uuid = "625139bf-1ad3-86fc-45e6-e8efbb9db643" maxmem = 2048 memory = 2048 vcpus = 4 cpus = "0,1,2,3" builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" usb = 1 usbdevice = "tablet" sdl = 0 vnc = 1 vncunused = 1 keymap = "pt-br" disk = [ "phy:/dev/etherd/e3.3,hda,w" ] vif = [ "mac=00:16:36:2f:fd:7c,bridge=xenbr0,script=vif-bridge,model=ne2k_pci" ] parallel = "none" serial = "pty"
But, on windows I just see one CPU... I don't understand why this happen!!
Verify that your windows is using the multi-cpu HAL. If it uses the single-cpu HAL then you won't be able to see more than 1 cpu.
See microsoft website and google for more information.
-- Pasi