<div dir="ltr">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).<div><ol><li>Enable global maintenance</li><li>To reduce wait time you can change # engine-config OvfUpdateIntervalInMinutes=1 && systemctl restart ovirt-engine</li><li>Change HE VM memory via UI and wait for 1-2 minutes</li><li>Change OvfUpdateIntervalInMinutes parameter to default value</li><li>Restart HE VM # hosted-engine --vm-poweroff && hosted-engine --vm-start</li><li>Disable global maintenance</li></ol><div>In 4.2 you do not need to apply steps 2-4</div><div><br></div><div>Best Regards</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 30, 2017 at 11:25 AM, Yanir Quinn <span dir="ltr"><<a href="mailto:yquinn@redhat.com" target="_blank">yquinn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Hi,<br>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:<br><br>Set global maintenance mode from the hypervisor the VM is currently running on</span><span style="font-family:arial,helvetica,sans-serif"><code>:<br># hosted-engine --set-maintenance --mode=global
</code></span><span style="font-family:arial,helvetica,sans-serif"></span><span style="font-family:arial,helvetica,sans-serif"></span><br><span style="font-family:arial,helvetica,sans-serif"></span><pre><span style="font-family:arial,helvetica,sans-serif">Cleanly shutdown the engine VM:<code><br># hosted-engine --vm-shutdown
</code><br>Makes sure the VM is Down and not 'Powering Off' before proceeding:<code><br># hosted-engine --vm-status
</code><br>Edit /etc/ovirt-hosted-engine/vm.<wbr>conf on <strong>each</strong> hypervisor, and change these lines to whatever amount of RAM in MB / CPU cores you wish the VM to have:<code><br><br>memSize=4096
smp=1
</code><em>smp = number of virtual cores</em><br><br>Start the VM again:
<code># hosted-engine --vm-start
</code><br>And take it out of maintenance mode:</span><code><span style="font-family:arial,helvetica,sans-serif"><br># hosted-engine --set-maintenance --mode=none<br><br></span></code></pre><pre><code><span style="font-family:arial,helvetica,sans-serif">Regards,<br>Yanir Quinn</span> <br></code></pre></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 29, 2017 at 1:36 AM, gregor <span dir="ltr"><<a href="mailto:gregor_forum@catrix.at" target="_blank">gregor_forum@catrix.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
is it possible to increase the memory of an hosted engine after the<br>
installation?<br>
<br>
cheers<br>
<span class="m_-316298930240559723HOEnZb"><font color="#888888">gregor<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>