Johnny Zhang
There are times you want to change your service console memory from the service console itself... So what you need to do?

There are two parts you need to change
  1. /etc/vmware/esx.conf -- you are looking for /boot/memSize = "272" (ESX 3.x set default 272MB and for ESX 4.0 the default is 300)
  2. /boot/grub/grub.conf -- There are two section you need to change
  • uppermem 277504
  • kernel --no-mem-option /vmlinuz-2.4.21-57.ELvmnix ro root=UUID=1da98f06-aa98-4c1e-b4c1-73ffa2c536f2 mem=272M
To change to 800MB you can make the change like this:
  1. /etc/vmware/esx.conf -- /boot/memSize = "800"
  2. /boot/grub/grub.conf
  • uppermem 818176
  • kernel --no-mem-option /vmlinuz-2.4.21-57.ELvmnix ro root=UUID=1da98f06-aa98-4c1e-b4c1-73ffa2c536f2 mem=800M
Or you can script it

#!/bin/sh

/bin/sed -i -e 's/300/800/' /etc/vmware/esx.conf

/bin/sed -i -e 's/300M/800M/' /boot/grub/grub.conf

/bin/sed -i -e 's/307200/818176/' /boot/grub/grub.conf

Please keep in mind this is not the recommended method to change the service console memory. We always recommend you to change that via VIclient. I test this on my lab server and works for both ESX 3.5 and ESX 4.0. Please only use this on a test machine
0 Responses

Post a Comment

There was an error in this gadget