VMware Cloud Community
bowulf
Enthusiast
Enthusiast

Adjust host CPU / Memory reservations

Is there a way to adjust a particular host's memory and CPU reservations for the Service Console? Thanks.

0 Kudos
2 Replies
Niket
Enthusiast
Enthusiast

Hi,

Please refer the below thread for the same.

http://communities.vmware.com/message/898484

Thanks

Niket

0 Kudos
LucD
Leadership
Leadership

That thread seems to be about guests not the service console.

Afaiks there are 2 methods available to configure the reservations for the service console.

1) the ReconfigureServiceConsoleReservation method (corresponds with Configuration-Memory in the VI Client)

Apparantly one can only change the memory reservation that way.


$esxImpl = Get-VMHost -Name <ESX-hostname>
$esx = Get-View $esxImpl.ID
$esxmemMgr = Get-View $esx.ConfigManager.MemoryManager
 
$consolemem = <new-reservation-in-Mb> * 1MB
$esxmemMgr.ReconfigureServiceConsoleReservation($consoleMem)

Note that the new settings only becomes active after a reboot of the server.

2) the UpdateSystemResources method (corresponds with Configuration-System Resource Allocation-Advanced in the VI client).

This allows one to change CPU and memory reservations for the host/vim/console resource group.

Unfortunately I haven't been able (yet) to get this method to work.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos