You can change the fixed service offering to constraint service offering which is required for dynamic scaling, by some manual database changes. However, you can not set the maxmemory and maxcpu of a running vm, which are required for dynamic scaling. Even if you use virsh to scale the vm, you will get this error: "cannot use/hotplug a memory device when domain 'maxMemory' is not defined" Therefore, no way, no workaround.
you need to stop the vm, change it to a constraint service offering, then you will be able to scale the vm. -Wei On Thu, 23 Mar 2023 at 11:54, Luc Begault <[email protected]> wrote: > Hello everyone, > > I'd like to change a vm ressources that is actually stuck on a fixed > compute offering. > > As my kvm hypervisor supports that I can hot add more ram and cpu using > virsh and then updating the service_offering_id in the vm_instance table. > > Can this work ? > > Regards, > > Luc Begault. > >
