Configuring the amount of RAM in Red Hat Virtualization Hosted Engine

Updated

During migrations from physical hosts to hosted engine virtual machines, the virtual machines might have less RAM than did the physical host from which the engine is migrating. When that is the case, it is necessary to change the amount of RAM that the hosted engine expects the virtual machine to have.

Solution: Edit /etc/ovirt-engine/engine.conf.d/10-set-java.conf so that minimum and maximum values do not exceed the total RAM available for the Hosted Engine Virtual Machine. These values should not exceed 25 percent of the total available RAM for the Hosted Engine Virtual Machine.

The following example shows a configuration of /etc/ovirt-engine/engine.conf.d/10-setup-java.conf in which the ENGINE_HEAP_MIN and ENGINE_HEAP_MAX values have been configured for a virtual machine equipped with 4 GB of RAM:

cat /etc/ovirt-engine/engine.conf.d/10-setup-java.conf

ENGINE_HEAP_MIN="3889M"
ENGINE_HEAP_MAX="3889M"

Category
Article Type