How can I to add RAM to Hosted Engine VM?

Hello oVirt guru`s ! How can I to add RAM to Hosted Engine VM? Solution from "Fix: The recovery flow is:..." in https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. oVirt Engine Version: 4.0.3-1.el7.centos

I believe you can do it by editing this file: /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm Regards, Logan ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru wrote: | Hello oVirt guru`s ! | | How can I to add RAM to Hosted Engine VM? | Solution from "Fix: The recovery flow is:..." in | https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. | | oVirt Engine Version: 4.0.3-1.el7.centos | _______________________________________________ | Users mailing list | Users@ovirt.org | http://lists.ovirt.org/mailman/listinfo/users

Sorry hit send too quickly. Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it. Regards, Logan ----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote: | I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || Users mailing list || Users@ovirt.org | | http://lists.ovirt.org/mailman/listinfo/users

My HE VM stored on FC Storage 24.09.2016, 19:51, "Logan Kuhn" <logank@wolfram.com>:
Sorry hit send too quickly.
Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it.
Regards, Logan
----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote:
| I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || Users mailing list || Users@ovirt.org | | http://lists.ovirt.org/mailman/listinfo/users

You need to edit the vm in the webui and increase the memory there. The next cold boot of the machine will load it with the new config. Do note that the engine has an interval which triggers the creation of the new vm.conf. The interval config item can be checked using ``` engine-config -g OvfUpdateIntervalInMinutes ``` the vm.conf under the host is now always and extraction of the configuration saved under your hosted_storage domain On 24 September 2016 at 19:57, <aleksey.maksimov@it-kb.ru> wrote:
My HE VM stored on FC Storage
24.09.2016, 19:51, "Logan Kuhn" <logank@wolfram.com>:
Sorry hit send too quickly.
Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it.
Regards, Logan
----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote:
| I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || 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

On Mon, Sep 26, 2016 at 7:56 AM, <aleksey.maksimov@it-kb.ru> wrote:
Thank you, Roy. It works. Just do not understand why this information is not available in the online documentation.
Sadly the online documentation within oVirt project is not well maintained. If you have a github account and you want to contribute to https://github.com/oVirt/ovirt-site, any documentation pull request is welcome.
25.09.2016, 09:14, "Roy Golan" <rgolan@redhat.com>:
You need to edit the vm in the webui and increase the memory there. The next cold boot of the machine will load it with the new config. Do note that the engine has an interval which triggers the creation of the new vm.conf. The interval config item can be checked using
``` engine-config -g OvfUpdateIntervalInMinutes ```
the vm.conf under the host is now always and extraction of the configuration saved under your hosted_storage domain
On 24 September 2016 at 19:57, <aleksey.maksimov@it-kb.ru> wrote:
My HE VM stored on FC Storage
24.09.2016, 19:51, "Logan Kuhn" <logank@wolfram.com>:
Sorry hit send too quickly.
Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it.
Regards, Logan
----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote:
| I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || 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
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>

25.09.2016, 09:14, "Roy Golan" <rgolan@redhat.com>:
You need to edit the vm in the webui and increase the memory there. The next cold boot of the machine will load it with the new config. Do note that the engine has an interval which triggers the creation of the new vm.conf. The interval config item can be checked using
```
Hello, from which version? In my case I have "oVirt Engine Version: 4.0.2.7-1.el7.centos" and I get this error if I try to modify from web admin, but I don't understand if it could be related with something different.... https://drive.google.com/file/d/0BwoPbcrMv8mvdHRHamZJZm5iRkU/view?usp=sharin... Currently general pane for hosted engine vm is this one, so that OS appears as "Other OS" (the engien vm was installed from appliance initially): https://drive.google.com/file/d/0BwoPbcrMv8mvbkkyejJ4V1gxd2M/view?usp=sharin... Thanks, Gianluca

On Mon, Sep 26, 2016 at 11:10 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com
wrote:
25.09.2016, 09:14, "Roy Golan" <rgolan@redhat.com>:
You need to edit the vm in the webui and increase the memory there. The next cold boot of the machine will load it with the new config. Do note that the engine has an interval which triggers the creation of the new vm.conf. The interval config item can be checked using
```
Hello, from which version?
In my case I have "oVirt Engine Version: 4.0.2.7-1.el7.centos" and I get this error if I try to modify from web admin, but I don't understand if it could be related with something different....
https://drive.google.com/file/d/0BwoPbcrMv8mvdHRHamZJZm5iRkU/ view?usp=sharing
Currently general pane for hosted engine vm is this one, so that OS appears as "Other OS" (the engien vm was installed from appliance initially): https://drive.google.com/file/d/0BwoPbcrMv8mvbkkyejJ4V1gxd2M/ view?usp=sharing
Hi Gianluca, are you able to recall or verify which version of ovirt-hosted-engine-setup did you used when you initially created your hosted-engine env? I suspect that your issue could be somehow related to https://bugzilla.redhat.com/show_bug.cgi?id=1328921 and https://bugzilla.redhat.com/show_bug.cgi?id=1339306 which have been fixed which patch http://gerrit.ovirt.org/57906 for new deployment but not for who deployed before that and than simply upgraded engine rpms over his working engine VM. For 4.1 we are thinking at a mechanism to upgrade also engine VM definition when running engine-setup, currently it's not available. Probably the best option to fix it right now is something like: - set global maintenance mode - manually removing the engine VM from the engine DB (to let the auto-import procedure trigger again) - shutdown the engine VM - copy your /var/run/ovirt-hosted-engine-ha/vm.conf somewhere - edit it adding the required devices - start the engine VM with hosted-engine --vm-start --vm-conf=myvm.conf - wait for the auto-import procedure to kick in and re-import the engine VM with the additional devices - exit global maintenance mode Roy, do you see something simpler to achieve the same result?
Thanks, Gianluca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, Sep 26, 2016 at 2:02 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hi Gianluca, are you able to recall or verify which version of ovirt-hosted-engine-setup did you used when you initially created your hosted-engine env?
I suspect that your issue could be somehow related to https://bugzilla.redhat.com/show_bug.cgi?id=1328921 and https://bugzilla.redhat.com/show_bug.cgi?id=1339306 which have been fixed which patch http://gerrit.ovirt.org/57906 for new deployment but not for who deployed before that and than simply upgraded engine rpms over his working engine VM.
For 4.1 we are thinking at a mechanism to upgrade also engine VM definition when running engine-setup, currently it's not available. Probably the best option to fix it right now is something like: - set global maintenance mode - manually removing the engine VM from the engine DB (to let the auto-import procedure trigger again) - shutdown the engine VM - copy your /var/run/ovirt-hosted-engine-ha/vm.conf somewhere - edit it adding the required devices - start the engine VM with hosted-engine --vm-start --vm-conf=myvm.conf - wait for the auto-import procedure to kick in and re-import the engine VM with the additional devices - exit global maintenance mode
Roy, do you see something simpler to achieve the same result?
Hello, yes at first it was created in 3.6.0 at beginning of November 2015. The gradually upgraded to 3.6.1, 3.6.2, 3.6.5, 4.0, 4.0.2

The right way is simply to edit the hosted engine VM memory settings from the admin UI. The file is not meant to be edited and may lead to issues in your setup. On Sat, Sep 24, 2016 at 7:57 PM, <aleksey.maksimov@it-kb.ru> wrote:
My HE VM stored on FC Storage
24.09.2016, 19:51, "Logan Kuhn" <logank@wolfram.com>:
Sorry hit send too quickly.
Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it.
Regards, Logan
----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote:
| I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || 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

Thank you all for the information. I made a small wiki article [for the Russian-speaking oVirt users] https://wiki.it-kb.ru/ovirt/ovirt-kvm-how-to-add-ram-memory-to-hosted-engine... 25.09.2016, 09:15, "Doron Fediuck" <dfediuck@redhat.com>:
The right way is simply to edit the hosted engine VM memory settings from the admin UI. The file is not meant to be edited and may lead to issues in your setup.
On Sat, Sep 24, 2016 at 7:57 PM, <aleksey.maksimov@it-kb.ru> wrote:
My HE VM stored on FC Storage
24.09.2016, 19:51, "Logan Kuhn" <logank@wolfram.com>:
Sorry hit send too quickly.
Move the shared storage version out of the way if you can. In my instance it was just an NFS volume so it wasn't too hard to move it.
Regards, Logan
----- On Sep 24, 2016, at 11:50 AM, Logan Kuhn logank@wolfram.com wrote:
| I believe you can do it by editing this file: | /var/run/ovirt-hosted-engine-ha/vm.conf and then restarting the vm | | Regards, | Logan | | ----- On Sep 24, 2016, at 10:13 AM, aleksey maksimov aleksey.maksimov@it-kb.ru | wrote: | || Hello oVirt guru`s ! || || How can I to add RAM to Hosted Engine VM? || Solution from "Fix: The recovery flow is:..." in || https://bugzilla.redhat.com/show_bug.cgi?id=1309572 not working. || || oVirt Engine Version: 4.0.3-1.el7.centos || _______________________________________________ || 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
participants (7)
-
aleksey.maksimov@it-kb.ru
-
Doron Fediuck
-
Gianluca Cecchi
-
Logan Kuhn
-
Roy Golan
-
Sandro Bonazzola
-
Simone Tiraboschi