[ovirt-users] Re: Increase memory of hosted engine

2019-12-08 Thread Strahil
When you edit the memory, wait till tomorrow before  powering off and powering 
on.


The file in 3.1  is just a backup :D

Best Regards,
Strahil NikolovOn Dec 8, 2019 18:06, Stefan Wolf  wrote:
>
> thank you for your replay, 
>
> I am happy if it works 
> 1. check 
> 2. check 
> 3.1 check -> I cant see where is use this config file later, or it is just a 
> backup? 
> 4.1 check i changed to 
>    type="int">16384 
>    type="int">16384 
> and 
>
>   15625000 
>   15625000 
>   15625000 
>
> after write, quite und open these values have changed back to 
>   4194304 
>   4194304 
>
> BREAK ;) 
>
> after stopping the hosted engine with hosted-engine --vm-shutdown and 
> powering it up with hosted-engine vm-start 
> everything is reverted ;( 
>
> BREAK 
>
> hosted engine is now up and running, maintenance ist still global, 
> changed again with virtsh edit HostedEngine. as written above it changes back 
>
> I will wait for tomorrow. 
>
> Or did I missunderstand something 
>
> In which file the maxmem is hidden? 
>
> thx shb
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/DWVBZO2OE6U62FAEMIIS3TG2C6RRV4OH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LHMC5IY4CZX6NX2DRJ5PWIXALBK5DQIY/


[ovirt-users] Re: Increase memory of hosted engine

2019-12-08 Thread Stefan Wolf
thank you for your replay,

I am happy if it works
1. check
2. check
3.1 check -> I cant see where is use this config file later, or it is just a 
backup?
4.1 check i changed to
  16384
  16384
and

  15625000
  15625000
  15625000

after write, quite und open these values have changed back to
  4194304
  4194304

BREAK ;) 

after stopping the hosted engine with hosted-engine --vm-shutdown and powering 
it up with hosted-engine vm-start
everything is reverted ;(

BREAK

hosted engine is now up and running, maintenance ist still global,
changed again with virtsh edit HostedEngine. as written above it changes back

I will wait for tomorrow.

Or did I missunderstand something

In which file the maxmem is hidden?

thx shb
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DWVBZO2OE6U62FAEMIIS3TG2C6RRV4OH/


[ovirt-users] Re: Increase memory of hosted engine

2019-12-08 Thread Strahil Nikolov
 I know a way, but I'm not sure if you will be happy with that approach.1. 
Setup virsh on all hosts:alias virsh='virsh -c 
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf'
2. Set the HostedEngine in maintenancehosted-engine --set-maintenance 
--mode=global3. Get the HostedEngine's current config3.1. When Engine is 
running - go to the host and type:virsh dumpxml HostedEngine > 
HostedEngine-2019-12-08.xml
3.2. If the engine is dead - take the xml from the vdsm.log (when it was last 
started)4. Edit the configuration4.1. If the engine is running -> edit directly 
with virsh edit HostedEngine4.2. If the engine is not running -> edit the xml 
with the new values and define the ovirtmgmt network and the 
VMvdsm-ovirtmgmt.xml :  vdsm-ovirtmgmt  
8ded486e-e681-4754-af4b-5737c2b05405    

virsh net-define vdsm-ovirtmgmt.xmlvirsh define HostedEngine.xml
4.3 You may try to power up the VM but it will complain about some links from 
the gluster's storage to local one. Just create those symbolic links and power 
up the VM againvirsh start HostedEngine
5. Keep the engine running for at least 6 hours (to update the OVMF),as even 
when the OVMF update inteval is reduces -> the engine still ignores that.
6. Power off the engine gracefullyssh engine "poweroff"7. Power on the engine 
viahosted-engine --vm-start8.Once the engine is up , ssh and verify memory 
9. Remove maintenancehosted-engine --set-maintenance --mode=none
I haven't tested this approach of extending memory , but it should work.
Best Regards,Strahil Nikolov
В неделя, 8 декември 2019 г., 11:01:40 ч. Гринуич+2, Stefan Wolf 
 написа:  
 
 hello,

I ve decrease the memory of the hosted engine.
now I am not able to increase the memory permantly
right now the memory has 4096 MB
Max Memory is 7936 MB and
guaranted memory is 7936MB

I can increase the memory up to 7936 MB in the manager, it changes immediately.
I can not increase to more then 7936 MB because this is max Memory

If I change Max memory to 16384
the gueanted memery gets a red border an the error is max memory ist 4096 MB

I ve found this one https://access.redhat.com/solutions/964693
and tried to change the memSize in /etc/ovirt-hosted-engine/vm.conf to 16384 
I ve also stoppt every ovirt-ha-agent and changed every vm.conf.
After starting ovirt-ha-agent every vm.conf changed to 4096 again

has somebody a solution to increase the memory again?

thx shb
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LZHYZ5IIFVBJT2UTDSQBTMEP4TZ67CTO/
  ___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TIUS24IAFJES3RBAPP6YFTL4MPKETL4I/