[ovirt-users] howto change hosted-engine config memory
Paul Groeneweg | Pazion
paul at pazion.nl
Thu Feb 4 09:38:30 UTC 2016
Hi Simone,
Op do 4 feb. 2016 om 09:26 schreef Simone Tiraboschi <stirabos at redhat.com>:
> On Thu, Feb 4, 2016 at 9:11 AM, Paul Groeneweg | Pazion <paul at pazion.nl>
> wrote:
>
>> What can I expect? webinterface of 3.5 Hosts will remain broken?
>>
>
> Just to clarify,
> Paul, feel free to correct me, the engine is already at 3.6, the hosts are
> still at 3.5 so the cluster compatibility level is still at 3.5 and so no
> auto-import. In order to gain auto-import and other 3.6 feature you need to
> upgrade all of you hosts to 3.6 (and this requires el7).
>
> I have upgrade all components as far as possible. Engine and hosts are
updated with release 3.6 All Hosts and hosted engine run Centos 6. I
understood VDSM is not updated on Centos 6 anymore, so yes cluster
compatibility is on 3.5
> On 3.5 hosts you manually edited /etc/ovirt-hosted-engine/vm.conf on each
> host to move from 4G to 8G; the agent from 3.5 correctly restarted the
> engine VM at 8G, you find 8G on the VM but 3.6 engine is still showing it
> as an external VM with just 4G. Is this the issue?
>
This is correct.
I also reported the fact Guest info of VMs ( centos 5,6 and 7 ) is not
showing, maybe this is related?
>
>> Or will there be an update which fixes this ( with autoimport? )?
>>
>> Would you strongly advise to upgrade Hosts to RHEL/Centos 7?
>>
>> Op wo 3 feb. 2016 om 23:39 schreef Michal Skrivanek <mskrivan at redhat.com
>> >:
>>
>>>
>>>
>>> On 03 Feb 2016, at 12:02, Paul Groeneweg | Pazion <paul at pazion.nl>
>>> wrote:
>>>
>>> That is correct.
>>> Hosted engine was installed on 3.4 and upgrade several times.
>>>
>>> Let me know if you need any additional info.
>>>
>>> Op wo 3 feb. 2016 om 12:00 schreef Simone Tiraboschi <
>>> stirabos at redhat.com>:
>>>
>>>> On Wed, Feb 3, 2016 at 11:27 AM, Michal Skrivanek <mskrivan at redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>> On 03 Feb 2016, at 08:07, Paul Groeneweg | Pazion <paul at pazion.nl>
>>>>> wrote:
>>>>>
>>>>> I checked again and hosted engine still says 4096.
>>>>>
>>>>> I also see "Graphics protocol" says SPICE, but I connect through VNC…
>>>>>
>>>>>
>>>>> that might be similar issue as below, unless it’s an upgrade from 3.5.
>>>>> in which case bug 1297404 might be relevant for the console part
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Op di 2 feb. 2016 om 21:02 schreef Paul Groeneweg | Pazion <
>>>>> paul at pazion.nl>:
>>>>>
>>>>>> Allright.
>>>>>> Still old value.
>>>>>> I'll keep an eye and report back tomorrow if it is still old value.
>>>>>>
>>>>>> Op di 2 feb. 2016 om 20:45 schreef Simone Tiraboschi <
>>>>>> stirabos at redhat.com>:
>>>>>>
>>>>>>> On Tue, Feb 2, 2016 at 8:33 PM, Paul Groeneweg | Pazion <
>>>>>>> paul at pazion.nl> wrote:
>>>>>>>
>>>>>>>> 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?
>>>>>>>>
>>>>>>>
>>>>>>> You are not the first that reports that: it seams that it's just a
>>>>>>> timeout/refresh issue and you have just to wait. Adding Michal here.
>>>>>>>
>>>>>>
>>>>> doesn’t sound likely, i would more suspect the import HE 3.6 feature,
>>>>> adding Roy
>>>>> originally there were no further config updates to external VMs once
>>>>> it was added
>>>>>
>>>>>
>>>> He said that 'I am running oVirt 3.6 with CentOS 6 Hosts with hosted
>>>> engine on nfs3',
>>>> so the hosts are still at 3.5 and so the cluster compatibility level
>>>> and so no auto-import at all.
>>>>
>>>
>>> Ah ok, then the latter sentence applies:) there are no further updates
>>> to the HE VM configuration. And most of the values(including console) are
>>> just made up
>>> That's what 3.6 autoimport is improving(again, I'm not sure about the
>>> updates later on)
>>>
>>>
>>>
>>>>
>>>>>
>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> 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."
>>>>>>>>
>>>>>>> --
>>>>>> 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."
>>>>>
>>>>>
>>>>> --
>>> 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."
>>
> --
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/20160204/6d35181e/attachment-0001.html>
More information about the Users
mailing list