If you got till here I believe you have already enabled global setting and marked the template as dynamically scalable.
Please check if host license supports dynamic scaling or not. In the host license view on xenserver you can check that using "restrict_dmc" flag. If it is set to true then dynamic scaling cannot be done on VM. If it is false, then other thing you can check is "guest_os_details" table for "xenserver.dynamicMin" and "xenserver.dynamicMax" under the guest OS id used in the template. If entries are not there try using a different template having these entries or insert recommended values for that OS. Regards, Harikrishna ________________________________ From: Abishek <abckd...@gmail.com> Sent: Sunday, July 18, 2021 12:53 PM To: users@cloudstack.apache.org <users@cloudstack.apache.org> Subject: Scale Running VM. Hello EveryOne, Is it possible to scale a running vm with host XCP-ng 8.2 and cloudstack 4.15.1. I am testing it for production enviromnment. I tried enabling it but received the following error: Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to scale vm due to Catch exception com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-2-5-VM due to com.cloud.utils.exception.CloudRuntimeException: Cannot scale up the vm because of memory constraint violation: 0 <= memory-static-min(4294967296) <= memory-dynamic-min(8589934592) <= memory-dynamic-max(8589934592) <= memory-static-max(4294967296) Where can I set these min max values. If any one can point me to the documentation if its possible then I will be very grateful. Thank You.