Changing ESX Service Console memory

During default ESX installation, Service Console will be allocated 272MB of memory. Most of time, it is sufficient. However, if you have third party software installed in Service Console

 

 

Third party program's like Proliant Support Pack (PSP) of HP.

If you have other third party software in the Service Console, you might want to increase to more than 800MB.

You have two way's you can perform this

  • Through Service Console
  • Through Virtual Center

How to do through Service Console

First of all, backup the files which needs to be modified:

cp /etc/vmware/esx.conf /etc/vmware/esx.conf.bak
cp /boot/grub/grub.conf /boot/grub/grub.conf.bak

Second, modify esx.conf and grub.conf:

    1. Edit /etc/vmware/esx.conf to change the number of 272 to 800

      Original: /boot/memSize = "272"
      After: /boot/memSize = "800"

 

    1. Edit /boot/grub/grub.conf to change mem=272 to mem=800

      Original: 272M
      After: 800MB

 

    1. Perfom the 2 following commands before reboot:

      esxcfg-boot -g
      esxcfg-boot -b

 

You can do this easly by the following script:

#!/bin/sh
#back up config files
/bin/cp /etc/vmware/esx.conf /etc/vmware/esx.conf.bak
/bin/cp /boot/grub/grub.conf /boot/grub/grub.conf.bak

#editing esx.conf and grub.conf
/bin/sed -i -e 's/272/800/' /etc/vmware/esx.conf
/bin/sed -i -e 's/272M/512M/' /boot/grub/grub.conf

esxcfg-boot -g
esxcfg-boot -b

 

How to do through Virtual Center:

Select the ESX host -> Configuration -> Memory -> Properties, Service Console's memory

Of cours a reboot is also required to activate the change

 

 

For more info here

Additional information