
This is a multi-part message in MIME format. --------------48E9E0FA0B327E8430B87AEC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi, I recently tried to hot plug some memory on a VM running CentOS 6.9 with ovirt-guest-tools installed. oVirt version is 4.2.1.6-1.el7.centos I was careful to increment a multiple of 256 MB as specified in https://www.ovirt.org/develop/release-management/features/virt/hot-plug-memo... (4 GB -> 6 GB , maximum memory configured for the VM was 8 GB) However the VM was marked as with a pending change for next reboot. Am I missing some non-default configuration requiered for memory hot-plug to work? Thanks in advance! -- Eduardo Mayoral Jimeno (emayoral@arsys.es) Administrador de sistemas. Departamento de Plataformas. Arsys internet. +34 941 620 145 ext. 5153 --------------48E9E0FA0B327E8430B87AEC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Hi,</p> <p> I recently tried to hot plug some memory on a VM running CentOS 6.9 with ovirt-guest-tools installed.</p> <p> oVirt version is <span class="gwt-InlineLabel">4.2.1.6-1.el7.centos</span></p> <p> I was careful to increment a multiple of 256 MB as specified in <a class="moz-txt-link-freetext" href="https://www.ovirt.org/develop/release-management/features/virt/hot-plug-memory/">https://www.ovirt.org/develop/release-management/features/virt/hot-plug-memory/</a> (4 GB -> 6 GB , maximum memory configured for the VM was 8 GB)<br> </p> <p> However the VM was marked as with a pending change for next reboot. Am I missing some non-default configuration requiered for memory hot-plug to work?</p> <p> Thanks in advance!<br> <span class="gwt-InlineLabel"></span></p> <pre class="moz-signature" cols="72">-- Eduardo Mayoral Jimeno (<a class="moz-txt-link-abbreviated" href="mailto:emayoral@arsys.es">emayoral@arsys.es</a>) Administrador de sistemas. Departamento de Plataformas. Arsys internet. +34 941 620 145 ext. 5153</pre> </body> </html> --------------48E9E0FA0B327E8430B87AEC--

Hello Eduardo, On Wed, Mar 21, 2018 at 3:17 PM, Eduardo Mayoral <emayoral@arsys.es> wrote:
Hi,
I recently tried to hot plug some memory on a VM running CentOS 6.9 with ovirt-guest-tools installed.
oVirt version is 4.2.1.6-1.el7.centos
I was careful to increment a multiple of 256 MB as specified in https://www.ovirt.org/develop/release-management/features/virt/hot-plug-memo... (4 GB -> 6 GB , maximum memory configured for the VM was 8 GB)
However the VM was marked as with a pending change for next reboot. Am I missing some non-default configuration requiered for memory hot-plug to work?
No, you're not. Now the vm is seeing the base memory (4GB) you were seeing at boot, plus additional memory (2GB added). Next time you'll boot the vm, the system will see a single block of 6 GB. That's the difference. Luca -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>

Thanks for your reply! You are right. I tried with a CentOS 6 and a CentOS 7 guest and both picked the extra memory with no problem. Seems it was a particular issue with the guest that I tried first. Kernel version was older and I had to activate the memory bank as described in https://kb.vmware.com/s/article/1012764 (different hypervisor, but the principle is the same). Best regards, Eduardo Mayoral Jimeno (emayoral@arsys.es) Administrador de sistemas. Departamento de Plataformas. Arsys internet. +34 941 620 145 ext. 5153 On 21/03/18 15:45, Luca 'remix_tj' Lorenzetto wrote:
Hello Eduardo,
On Wed, Mar 21, 2018 at 3:17 PM, Eduardo Mayoral <emayoral@arsys.es> wrote:
Hi,
I recently tried to hot plug some memory on a VM running CentOS 6.9 with ovirt-guest-tools installed.
oVirt version is 4.2.1.6-1.el7.centos
I was careful to increment a multiple of 256 MB as specified in https://www.ovirt.org/develop/release-management/features/virt/hot-plug-memo... (4 GB -> 6 GB , maximum memory configured for the VM was 8 GB)
However the VM was marked as with a pending change for next reboot. Am I missing some non-default configuration requiered for memory hot-plug to work?
No, you're not. Now the vm is seeing the base memory (4GB) you were seeing at boot, plus additional memory (2GB added). Next time you'll boot the vm, the system will see a single block of 6 GB.
That's the difference.
Luca
participants (2)
-
Eduardo Mayoral
-
Luca 'remix_tj' Lorenzetto