[ovirt-users] howto change hosted-engine config memory
Paul Groeneweg | Pazion
paul at pazion.nl
Tue Feb 2 19:33:15 UTC 2016
Hi Simone,
I have exactly as you stated, but found maybe a problem/bug.
1. I put hosted engine to maintenance and powered it off
2. Changed memory in /etc/ovirt-hosted-engine/vm.conf to memSize=8192
3. I restarted both ovirt-ha-agent and ovirt-ha-broker:
/etc/init.d/ovirt-ha-broker
restart && /etc/init.d/ovirt-ha-agent restart
4. I started hosted-engine and turned off global maintenance.
The hostedengine webinterface still says 4096MB
Now I logged on with ssh and ran the command "free -m"
This command shows:
Mem: 7870 ...
So, I believe my hostedengine was updated, but the webinterface is showing
incorrect values: http://screencast.com/t/Bg5xU0Ja
Any idea why web interface is not showing correct value under Defined or
Physical memory?
Regards,
Paul
Op di 2 feb. 2016 om 09:31 schreef Paul Groeneweg | Pazion <paul at pazion.nl>:
> Hi Simone,
>
> Thanks!
> I think I did not restart broker and agent before going out of maintenance
> mode.
> I will try these steps and let you know.
>
> Regards,
> Paul
>
> Op di 2 feb. 2016 om 09:26 schreef Simone Tiraboschi <stirabos at redhat.com
> >:
>
>> On Tue, Feb 2, 2016 at 12:11 AM, Paul Groeneweg | Pazion <paul at pazion.nl>
>> wrote:
>>
>>> I am trying to change memory of my hosted engine.
>>> I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine on nfs3
>>>
>>
>> We didn't build VDSM and hosted-engine-ha from 3.6 for Centos 6 so
>> basically your hosts are still with oVirt 3.5.
>>
>> In order to edit the hosted-engine VM on oVirt 3.5, you have to:
>> 1. set global-maintenance mode
>> 2. shutdown the engine VM
>> 3. manually edit /etc/ovirt-hosted-engine/vm.conf on each host (keeping
>> ti coherent is up to you, take a backup)
>> 4. restart ovirt-ha-broker and ovirt-ha-agent services on each host.
>> 5. exits global maintenance mode
>>
>> Updating to oVirt 3.6 you will be able to edit some parameters of the
>> engine VM from the engine itself.
>>
>>
>>>
>>> 1. I put hosted-engine to maintenance, shutdown vm
>>> 2. update /etc/ovirt-hosted-engine/vm.conf
>>> 3. restart vm disable maintenance
>>>
>>> Memory is still old value.
>>> How can I change the hosted engine VM?
>>>
>>> I did found:
>>> http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage
>>>
>>> When I check /etc/ovirt-hosted-engine/hosted-engine.conf there is no
>>> "conf_volume_UUID" entry.
>>>
>>> Do I need to create a shared config volume entry ( conf_volume_UUID ),
>>> so I can edit hosted engine VM? If so, how can this be done?
>>>
>>> I did try to rerun engine-setup, but this did not trigger anything.
>>>
>>> Kind regards,
>>>
>>> Paul Groeneweg
>>> Pazion
>>>
>>> ***disclaimer***
>>> "This e-mail and any attachments thereto may contain information which
>>> is confidential and/or protected by intellectual property rights and are
>>> intended for the sole use of the recipient(s) named above. Any use of the
>>> information contained herein (including, but not limited to, total or
>>> partial reproduction, communication or distribution in any form) by persons
>>> other than the designated recipient(s) is prohibited. If you have received
>>> this e-mail in error, please notify the sender either by telephone or by
>>> e-mail and delete the material from any computer. Thank you for your
>>> cooperation."
>>> --
>>> Met vriendelijke groeten,
>>>
>>> Paul Groeneweg
>>> Pazion
>>> Webdevelopment - Hosting - Apps
>>>
>>> T +31 26 3020038
>>> M +31 614 277 577
>>> E paul at pazion.nl
>>>
>>> ***disclaimer***
>>> "This e-mail and any attachments thereto may contain information which
>>> is confidential and/or protected by intellectual property rights and are
>>> intended for the sole use of the recipient(s) named above. Any use of the
>>> information contained herein (including, but not limited to, total or
>>> partial reproduction, communication or distribution in any form) by persons
>>> other than the designated recipient(s) is prohibited. If you have received
>>> this e-mail in error, please notify the sender either by telephone or by
>>> e-mail and delete the material from any computer. Thank you for your
>>> cooperation."
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>> --
> Met vriendelijke groeten,
>
> Paul Groeneweg
> Pazion
> Webdevelopment - Hosting - Apps
>
> T +31 26 3020038
> M +31 614 277 577
> E paul at pazion.nl
>
> ***disclaimer***
> "This e-mail and any attachments thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the recipient(s) named above. Any use of the
> information contained herein (including, but not limited to, total or
> partial reproduction, communication or distribution in any form) by persons
> other than the designated recipient(s) is prohibited. If you have received
> this e-mail in error, please notify the sender either by telephone or by
> e-mail and delete the material from any computer. Thank you for your
> cooperation."
>
--
Met vriendelijke groeten,
Paul Groeneweg
Pazion
Webdevelopment - Hosting - Apps
T +31 26 3020038
M +31 614 277 577
E paul at pazion.nl
***disclaimer***
"This e-mail and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) by persons
other than the designated recipient(s) is prohibited. If you have received
this e-mail in error, please notify the sender either by telephone or by
e-mail and delete the material from any computer. Thank you for your
cooperation."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160202/cf075cbc/attachment-0001.html>
More information about the Users
mailing list