I am very grateful for your response. I have used the following deployment 
scenario. 
2 host with XCP-ng 8.2
1st host has 2CPU socket each of 24 core (96vCPU)
2nd host has 2CPU socket each of 6 core (24 vCPU)

The value "xen.vm.vcpu.max" is currently set to 16. And the dynamic scale for 
template is turned off. I will further test as per the details provided. I will 
revert you back after the test.

Thank You very much.

On 2021/07/19 10:51:20, Harikrishna Patnala <[email protected]> 
wrote: 
> Hi Abhishek,
> 
> There is a global setting "xen.vm.vcpu.max" which can be configured to the 
> desired value. But I think hosts in the cluster should also have the required 
> number of CPU sockets. The minimum of CPU sockets numbers of the hosts in the 
> cluster will be assigned to the VPCUs-max. I remember assigning a greater 
> value to vCPU-max than the CPU sockets number of the host results in VM start 
> error. So in your case, it should be a maximum of 4.
> 
> Regards,
> Harikrishna
> ________________________________
> From: Abishek <[email protected]>
> Sent: Monday, July 19, 2021 9:25 AM
> To: [email protected] <[email protected]>
> Subject: XCP-ng 8.2 cannot start vm more than 4 core
> 
> Hello EveryOne,
> 
> I am deployed XCP-ng 8.2 host with cloudstack 4.15.1. Every thing is 
> sucessfully setup with 2 XCP-ng host. But I am facing a problem while 
> deploying a vm greater than 4 cores. Every time I try to start a VM with more 
> than 4 cores I get the error VCPUs-at-startup, 5, value greater than 
> VCPUs-max.
> I will be very grateful if somebody can help me resolve the issue. We are 
> trying to go into production with XCP-ng 8.2.
> 
> Thank You.
> 
>  
> 
> 

Reply via email to