You need to add this values to vm_template_details or user_vm_details  tables 
for respective objects (depending if you want to have it on a template level 
for all new VM deployed from a template or on an individual  VM)
cpuid.coresPerSocket    

It works great on vmware  and I assume the behavior will be the same on Xen. At 
this point you can’t add or change it in UI until this is implemented
https://issues.apache.org/jira/browse/CLOUDSTACK-9457

With API you can use 
updateVirtualMachine
updateTemplate
supplying the setting in details key like this

command=updateTemplate&details[0].cpuid.coresPerSocket=4


On 10/7/16, 9:15 AM, "Jānis Andersons | Failiem.lv" <[email protected]> wrote:

    Is it possible and how to set cores per socket in CloudStack 4.8.0, 
    XenServer 6.5, Shared storage.
    
    For now only way I know is to stop VM in XenServer and set cores per 
    socket, and start it up again - but it keeps changing back to CloudStack 
    settings.
    
    -- 
    J Andersons
    
    

Reply via email to