VMware ESX Server 2.0Features | Documentation | Knowledge Base | Discussion ForumsIf you plan to run or register more than 60 virtual machines, you must change a few settings in the service console. By changing these settings, you provide additional CPU and memory resources to the service console, allowing ESX Server to operate more efficiently under this higher load. Note: If you decrease the number of registered or running virtual machines to less than 60, then you should revert the settings back to their defaults through the management interface or through the service console.
If, after changing these settings, you are still unable to open the VMware Management Interface to your server, then the number of outstanding processes, that are waiting to be executed, is too high. You need to allocate the necessary CPU resources to the management interface, by increasing the priority for the vmware-serverd and httpd processes.
Add the following configuration parameters in the /etc/vmware/config file. Note: If you decrease the number of registered or running virtual machines to less than 60, then you should comment out the new lines you added or delete them from the /etc/vmware/config file. By default, Apache allocates a shared memory segment of 24MB to contain all the virtual machines' data. This value of 24 MB is sufficient for 80 virtual machines. If you have more than 80 (up to the maximum of 200) registered virtual machines, Apache may run out of memory. If that happens, you may see a "Panic out of memory" message in /usr/lib/vmware-mui/apache/logs/error_log and the VMware Management Interface shuts down.
Note: Increasing this value may impact the performance of the virtual machines, since the Apache processes will require more memory in the service console. As root, use a text editor and add the following configuration parameter to the /etc/vmware/config file: vmauthd.connectionSetupTimeout = 120 This increases the timeout value to 2 minutes from the default of 30 seconds. As root, use a text editor and add the following configuration parameter to the /etc/vmware/config file:
vmserverd.limits.memory = "49152" These changes raise the soft memory limit for the vmware-serverd process to 48 MB (48 multiplied by 1024) and the hard memory limit to 64 MB (64 multiplied by 1024). Note: You must restart the vmware-serverd process by rebooting ESX Server or by logging in to the service console as root and issuing the command killall -HUP vmware-serverd If you plan to run a large number of virtual machines with applications that use a significant amount of CPU, then increase the service console shares to 10000.
If the management interface is unresponsive, then you need to make these changes through the service console.
If you have a very large number of virtual machines registered on a single ESX Server machine, the VMware Management Interface may shut down and a Panic out of memory message may be recorded in /usr/lib/vmware-mui/apache/logs/error_log. By default, the Apache Web server uses 24MB of memory to store information about the virtual machines on the server. The errors described above can happen when this memory is not adequate for the number of virtual machines. To work around the problem, open the file /etc/vmware/config in a text editor and find the line that begins with mui.vmdb.shmSize =. Increase the number in quotation marks, which is specified in bytes of memory. Then restart the Apache server with the following command: /etc/rc.d/init.d/httpd.vmware restart
|
||||||||||||||||||||||||