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 :<network>
<name>vdsm-ovirtmgmt</name>
<uuid>8ded486e-e681-4754-af4b-5737c2b05405</uuid> <forward
mode='bridge'/> <bridge name='ovirtmgmt'/></network>
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
<shb256(a)gmail.com> написа:
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(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/LZHYZ5IIFVB...