Re: [Xen-API] CloudLinux on Xen

R J
Mon, 24 Oct 2011 17:27:20 -0000

Yes its strange.

I have XCP1 with following version of CloudLinux Kernel.
Please see if the same issue replicates at your environment.

[root@centos ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/xvda3
#          initrd /initrd-version.img
#boot=/dev/xvda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CloudLinux Server (2.6.18-374.3.1.el5.lve0.8.44xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-374.3.1.el5.lve0.8.44xen ro root=LABEL=/
console=xvc0
    initrd /initrd-2.6.18-374.3.1.el5.lve0.8.44xen.img
title CentOS (2.6.18-194.el5xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.el5xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-194.el5xen.img


I''m using CloudLinux 5 on XCP1 and not 1.1
On default xen kernel it boots and runs fine on allocated vCPUs but
2.6.18-374.3.1.el5.lve0.8.44xen kernel is making things strange.


Regards,
R J

On Mon, Oct 24, 2011 at 10:34 PM, <brooks@netgate.net> wrote:

>
> On Mon, 24 Oct 2011, R J wrote:
>
>  Hi Brooks,
>>
>> Thanks for the reply.
>> I have X5650 node with 24 CPUs. This is Dual Socket Hexacore machine.
>>
>> I used XenCenter to monitor the node and it showed 2 vCPUs for that
DomU.
>> I
>> rechecked it with vm-param-list, it showed 2.
>> When I checked /proc/cpuinfo in DomU, it shows 32.
>>
>
> That''s (very) strange.  I have a similar environment set up and
running
> with CloudLinux 5 under XenServer 5.5 and all of the CPU/VCPU mapping is
> working as expected.  I''m currently testing XCP 1.1 but have yet
to bring up
> a CL VM on it.  Are you using CL 5 or CL 6, and is this XCP 1.0 or 1.1?
> Did you happen to check /proc/cpuinfo before applying the CL RPMs?