VMware

VMware ESX Server 2.0

Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Configuring the Statistics Period for the VMware Management Interface

Configuring the Statistics Period for the VMware Management Interface

By default, the VMware Management Interface provides statistics about the server and virtual machines that reflect the past five minutes of activity. The statistics get updated every 20 seconds.

You can configure this setting for a period of one minute to see more usage details or you can configure it for a period of 15 minutes to smooth out short-term spikes. Increasing the statistics period changes the update frequency to every minute instead of every 20 seconds; it also reduces the amount of load on the service console, improving the performance of a server running a large number of virtual machines.

To configure the statistics period for the management interface, do the following.

  1. Connect to the service console with a terminal.
  2. Edit the file /usr/lib/vmware-mui/apache/conf/access.conf.
  3. Under the line that states PerlSetEnv vmware_SESSION_LENGTH 60, do one of the following.
    • To set the period to one minute, add this line:
      PerlSetEnv vmware_STATS_PERIOD 1
    • To set the period to 15 minutes, add this line:
      PerlSetEnv vmware_STATS_PERIOD 15
  4. Save and close the file.
  5. Restart Apache for the change to take effect.
    /etc/init.d/httpd.vmware restart

previous Prev   Contents   Last   Next next