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