Installing and Configuring HP WebQoS Peak on Linux
18 Chapter3
HP WebQoS Peak on Linux for the Apache Web Server
Configuring WebQoS Peak on Linux for Apache
Configuring WebQoS Peak on Linux for
Apache
Once the WebQoS Peak module is integrated with the Apache server,
admission control becomes operational when the server is (re)started.
However, the module's defaults are unlikely to satisfy the needs of all
sites. This section describes the configurable parameters of the WebQoS
Peak module and how to set these parameters.
Setting the Configurable Parameters
You can modify the behavior of the WebQoS Peak modules by placing the
appropriate directives (commands) in your Apache configuration file(s):
either httpd.conf, srm.conf,oraccess.conf. These configuration files
can be found in
apache_home
/conf/. All WebQoS directives start with
the characters HPAC. See “HP WebQoS Peak Configurable Parameters
for the Apache Web Server” on page 30 for a list of the available
configurable parameters for the Apache server.
Admitting Sessions
To turn the admission control on and off, use the HPACAdmissionControl
directive. The default for this directive is “on.” For example, to turn
admissions off, use the following directive in your configuration file:
HPACAdmissionControl off
If admission control is disabled (set to off), all sessions are admitted to
the web server.
When the admission control is in effect, new sessions are admitted based
on system load. You can set a load threshold using the
HPACAdmitLoadThreshold directive. The default for this directive is
“2.0.” For example, to set the load threshold at 1.5, use the following
directive in your configuration file:
HPACAdmitLoadThreshold 1.5
To calculate the load threshold
1. Run the top command. Note the first number in the “Load average”
list and the percentage listed under “idle” of “CPU states”.