Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP WebQoS Peak for HP-UX Concepts and Operation Guide > Appendix A HP WebQoS Configurable Parameters

HP WebQoS Configurable Parameters for the Apache Web Server

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

You can modify the behavior of the HP WebQoS modules by placing the appropriate directives (commands) in your Apache configuration file(s): either httpd.conf, srm.conf, or access.conf. These configuration files can be found in apache_home/etc/ (or in apache_home/conf/, if you used the older installation layout.)

Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server

ParameterArgumentDefaultDescription
HPACAdmissionControlOn or OffOnTurns admission control on or off.
HPACAdmitLoadThresholdx > 0.0
(real number)
2.0Sets the load threshold beyond which no new session is admitted.
HPACAdmitPriorityThreshold0 <= x <= 1.0 (real number)0.9Sets the upper limit for the percentage of priority requests that can be admitted. (for example, 0.9 means that 90% of all requests admitted can be priority requests.) Beyond this limit, even priority requests will be rejected.
HPACCookieDomainthe string following the hostname in a fully qualified domain name (see description)the domain extracted from the fully qualified domain name of the web server running the admission controllerSets the domain over which cookies will be shared.

For example, the domain for host www.software.hp.com is .software.hp.com
HPACCookiePasswordstringN/ASets the password used to create the MD5 digest for the cookie.
HPACDeferralEnterMsgstringYou will automatically enter the site inSets the heading for the time counter on the deferral page.
HPACDeferralMessagestringWe are sorry, our server is busy. In order to ensure adequate levels of service to our current visitors, we cannot serve you at this time. We have allocated you a position in line and will serve you as soon as we can.Sets the descriptive message displayed on the deferral page.
If the message takes several lines, the newline character should be escaped on all but the last line. (For example:
We are sorry, our server is\ busy. In order to ensure ... )
HPACDeferralTitlestringServer BusySets the title of the deferral page.
HPACDeferredAdmitRaten >= 1
(integer)
10Sets the rate (per minute) at which deferred sessions will be admitted to the server.
HPACIdleSessionTimeoutn >= 0
(integer)
300Sets the time interval (in seconds) that can elapse between successive requests of a session before the session is considered idle (that is, next request from the same user agent will be the start of a new session.).
HPACIsolateDamping0 < x <=1.0 (real number).001Sets the damping factor used to compute the share of resources used by each virtual server. Larger values make the controller more responsive to recent activity.
HPACLoadDamping0 <= x <= 1.0
(real number)
0.1Sets the damping factor used to compute the web server load. Note: larger values make the controller more responsive to recent activity.
HPACLogUpdateIntervaln > 0
(integer)
600Sets the time interval (in seconds) between statistics log updates. Note: the granularity of the time interval is 5 seconds (that is, if the interval is set to one second, the update will take place after five seconds; if set to six seconds, the update will take place after 10 seconds, etc.).
HPACMimeCachea list of one or more space- separated mime type stringsaudio/basic audio/midi audio/x-wav audio/x-liveaudio
audio/x-pn-realaudio image/fif
image/gif
image/ief
image/ifs
image/jpeg
image/tiff image/wavelet image/vnd
image/x-photo-cd video/quicktime video/x-mpeg2 video/x-msvideo
Sets the mime types the server can cache (all other mime types are not cached). Note: If the list takes several lines, the newline character should be escaped on all but the last line.
HPACMimeCachingon/offoffTurns mime caching on or off.
HPACMimeNocachea list of one or more space-
separated mime type strings
all, except those listed in the default list for HPACMimeCacheRemoves mime types from the list of mime types the server can cache.
Note: If the list takes several lines, the newline character should be escaped on all but the last line.
HPACRedirectURL[http://]host
[:port]
N/ASets the URL of an alternate site where rejected requests can be redirected. Note: the alternate site should be a mirror of the site that redirected the request, otherwise redirection will not work.
HPACRejectPagePathfile pathN/ASets the path of the file containing the document to be displayed when a request is rejected and the rejection policy is rejectpage. The path can be absolute or relative to the web server root.
HPACRejectedExclusionTimen > 0
(integer)
300Sets the time interval (in seconds) to elapse before a rejected session can be considered again for admission.
HPACRejectionPolicydefer| reject| rejectpagerejectSets the rejection policy. If the policy is reject (default), users whose requests are rejected will see the message returned by the server for the HTTP_SERVICE_
UNAVAILABLE code.If the policy is rejectpage, the document in the file set by HPACRejectPath is returned.

If the policy is defer, a deferral page showing the time the user has to wait before gaining access is displayed.
HPACSessionDurationn >= 0
(integer)
0Sets the maximum duration (in seconds) of a session. When set to 0 (default), the session never expires.
HPACShareUnitsn > 0
(integer)
1Sets the number of units of server resources a virtual host is entitled to use. (A unit is calculated as 1.0/total_share_units). This number is used to compute the percentage of the web server's total resources a virtual host is allowed to use. For instance, if the share units assigned to three virtual hosts A, B and C are 1, 2 and 3, then A can use up to 17% of the server's resources (1/6 * 1), B can use up to 33% of the server's resources (1/6 * 2) and C can use up to 50% (1/6 * 3) of the server's resources.
HPACStatsLogfilefile pathapache_home
/var/log/hpac.log | apache_home
/logs/hpac.log (depending on the apache_home layout)
Sets the path of the file to which the admission control statistics are logged. The path can be absolute, or relative to the web server root.
HPACStatsLoggingon/offoffTurns statistics logging on or off.
HPACVHostIsolationon/offoffTurns on or off virtual host isolation. When virtual host isolation is on, new sessions belonging to under-represented virtual hosts are admitted at priority level.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.