(dv) 3.5 Auto-Tuning your server
SUMMARY:
(mt) Media Temple has a tool that will allow you to easily optimize your (dv) 3.5 Dedicated-Virtual Server . MIB (Make It Better) contains preset configurations hosted on our internal repository. These presets allow you to easily tune your server using values that have been thoroughly tested by our engineers. Whether you have a Base, Rage, Extreme, or Nitro we will provide you with just the right amount of power to get the most out of your service.
NOTE:
When your server is first set up, the proper settings are already applied. You only need to run these MIB optimizations if you:
- Have upgraded/downgraded to a higher/lower service plan.
It is very important to do this, especially if you are downgrading your service.- Would like to revert any changes you may have made to the server configuration.
MIB is run from the command line via SSH. Although this utility is much simpler than applying these optimizations manually, it is still recommended to have a basic understanding of SSH and Linux system administration. Please review the following KnowledgeBase articles for more in-depth information on these topics:
- (dv) An introduction to the root user
- Obtaining and using SSH
- (dv) HOWTO: Performance tuning (Optimization)
NOTE:
If you currently do not have your root user enabled please visit your AccountCenter to enable root access.
We will be adding more functionality to this tool to allow for more robust auto-tuning, including the ability to restore critical system configuration files and granular control of system services.
WARNING:
Use of this script implies that your agree and understand the following:
(See MIB Changelog section below for more detail)
- Configuration files on your server will be altered
- Additional files will be downloaded and installed on your server
USAGE:
We have made MIB very easy to use. This is the most basic usage of the command, which will show you some basic options:
/usr/local/mt/bin/mib
The following list details each particular flag or option that is available.
- --base
this will apply the optimum settings for a default (dv) Base configuration
- --rage
this will apply the optimum settings for a default (dv) Rage configuration
- --extreme
this will apply the optimum settings for a default (dv) Extreme configuration
- --nitro
this will apply the optimum settings for a default (dpv) Nitro configuration
All of the above commands would be added to the end of the command above, i.e.
/usr/local/mt/bin/mib --base
Running any of the above commands will output a list of changes that will be done without actually performing them. For your safety, it will only run in test mode until you apply the "--apply" flag to your command. Thus your full command would be similar to the following:
/usr/local/mt/bin/mib --base --apply
MIB ChangeLog
Files changed
/etc/httpd/conf/httpd.conf/etc/my.cnf
- Setting for timeout lowered from 120 to 20
- Settings for prefork.c changed for optimal settings of your (dv) service type
usr/local/psa/admin/conf/httpsd.custom.include
- Query Cache is enabled
- Query Cache size is set for optimal settings of your (dv) service type
- Is created if not already present
- Lowers prefork.c values for Plesk preventing extra processes from being launched specifically for Plesk
Service Changes
- Apache is restarted
- MySQL is restarted
- named is disabled
Revisions:
01-23-2009: Article formatting cleaned up
Fields marked with an asterisk(*) are required. Comment on this article