I believe it depends on the version of Ovirt that you use, the Yanir solution can be relevant only for the 3.5 version. Started from version 3.6 you can edit HE VM memory via UI without any troubles, the only thing that you must be aware of under 4.1 you will need to wait for some time, until the engine update HE VM OVF file(in 4.2 you do not need to wait).
1. Enable global maintenance 2. To reduce wait time you can change # engine-config OvfUpdateIntervalInMinutes=1 && systemctl restart ovirt-engine 3. Change HE VM memory via UI and wait for 1-2 minutes 4. Change OvfUpdateIntervalInMinutes parameter to default value 5. Restart HE VM # hosted-engine --vm-poweroff && hosted-engine --vm-start 6. Disable global maintenance In 4.2 you do not need to apply steps 2-4 Best Regards On Sun, Jul 30, 2017 at 11:25 AM, Yanir Quinn <yqu...@redhat.com> wrote: > Hi, > In order to increase the memory allocation or the cpu cores of the hosted > engine VM, the VM must be brought down and the vm.conf configuration file > must be edited on every hypervisor: > > Set global maintenance mode from the hypervisor the VM is currently > running on: > # hosted-engine --set-maintenance --mode=global > > Cleanly shutdown the engine VM: > # hosted-engine --vm-shutdown > Makes sure the VM is Down and not 'Powering Off' before proceeding: > # hosted-engine --vm-status > Edit /etc/ovirt-hosted-engine/vm.conf on *each* hypervisor, and change these > lines to whatever amount of RAM in MB / CPU cores you wish the VM to have: > > memSize=4096 > smp=1 *smp = number of virtual cores* > > Start the VM again:# hosted-engine --vm-start > And take it out of maintenance mode: > # hosted-engine --set-maintenance --mode=none > > Regards, > Yanir Quinn > > > On Sat, Jul 29, 2017 at 1:36 AM, gregor <gregor_fo...@catrix.at> wrote: > >> Hi, >> >> is it possible to increase the memory of an hosted engine after the >> installation? >> >> cheers >> gregor >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users