HP WebQoS Peak for HP-UX Concepts and Operation Guide Edition 2 Manufacturing Part Number: J4270-90004 E0300 U.S.A. © Copyright 2000, Hewlett-Packard Company.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material. Warranty.
©copyright 1980, 1984, 1986 Novell, Inc. ©copyright 1986-1992 Sun Microsystems, Inc. ©copyright 1985-86, 1988 Massachusetts Institute of Technology. ©copyright 1989-93 The Open Software Foundation, Inc. ©copyright 1986 Digital Equipment Corporation. ©copyright 1990 Motorola, Inc. ©copyright 1990, 1991, 1992 Cornell University ©copyright 1989-1991 The University of Maryland ©copyright 1988 Carnegie Mellon University Trademark Notices. UNIX is a registered trademark of The Open Group.
Contents 1. HP WebQoS Peak Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Disk Space (Estimated) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Installing HP WebQoS . . . . . . . . . . . . . . . . . . . . . . . .
Contents Other Configuration Considerations29 Tuning Your Web Server’s Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Allowing Equal Access to a System’s Resources . . . . . . . . . . . . . . . 30 Detecting Failed Servers in a Cluster. . . . . . . . . . . . . . . . . . . . . . . . 31 4. HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running the setup.zeus Script . . . . . . . . . . . . . . . . . . . . . . . .
Contents Logging HP WebQoS Information . . . . . . . . . . . . . . . . . . . . . . . . . . .55 Other Configuration Considerations . . . . . . . . . . . . . . . . . . . . . . . . .57 6. Configuring HP LocalDirector Controller What is HP LocalDirector Controller? . . . . . . . . . . . . . . . . . . . . . . . . . . .62 Configuring Cisco LocalDirector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 Configuring HP LocalDirector Controller . . . . . . . . . . . . . . . . . . . . . . . .
Contents 8
Printing History The manual printing date and part number indicate its current edition. The printing date will change when a new edition is printed. Minor changes may be made at reprint without changing the printing date. The manual part number will change when extensive changes are made. Manual updates may be issued between editions to correct errors or document product changes. To ensure that you receive the updated or new editions, you should subscribe to the appropriate product support service.
1 HP WebQoS Peak HP Web Quality of Service (HP WebQoS) is a web-based solution that provides the quality of service needed to operate and maintain your web applications.
HP WebQoS Peak Installation Requirements Installation Requirements The following is the list of requirements to install HP Web Quality of Service (HP WebQoS). Hardware • HP 9000 computer system • 32 MB of memory • CD-ROM drive to load the software Software • HP-UX 11.0 • Netscape Enterprise Server Version 4.0 or later, Zeus web server version 3.3.4, or Apache Server 1.3.6 or later • Cisco LocalDirector version 2.
HP WebQoS Peak Configuring HP WebQoS Configuring HP WebQoS Each component of HP WebQoS needs to be configured individually. Go to the following areas for more information about configuration: • HP WebQoS for Netscape - See Chapter 3 , “HP WebQoS Peak for Netscape,” on page 19. • HP WebQoS for Zeus - See Chapter 4 , “HP WebQoS Peak for the Zeus Web Server,” on page 33. • HP WebQoS for Apache - See Chapter 5 , “HP WebQoS Peak for the Apache Web Server,” on page 47.
HP WebQoS Peak Configuring HP WebQoS 14 Chapter 1
2 Overview 15
Overview What is HP WebQoS Peak? What is HP WebQoS Peak? HP WebQoS Peak is a software plug-in (module), which runs inside an HTTP server. The HTTP servers currently supported are Netscape Enterprise, Zeus, and Apache. HP WebQoS can be configured to make certain decisions based on changing system conditions. For example, it can admit, reject, or defer new sessions based on system load, or to end active sessions based on the interval between requests and/or the length of a session.
Overview What is HP WebQoS Peak? How Does HP WebQoS Work? HP WebQoS monitors the resources and the number of arriving sessions on the web server. Based on available resources and how HP WebQoS is configured, it will accept, defer, reject or redirect a session. HP WebQoS makes sure the web server does not become overloaded by deferring, rejecting or redirecting any new sessions for which it does not have resources. It also allows an admitted session to be completed.
Overview What is HP WebQoS Peak? 18 Chapter 2
3 HP WebQoS Peak for Netscape 19
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Configuring HP WebQoS for Netscape You must install the Netscape Enterprise Server before you run the setup script. If you re-install the Netscape Enterprise Server, you must re-run the setup script. Running the Setup Script To run the setup script, type: /opt/webqospk/setup.nes At the Root pathname of Netscape server prompt, enter the Netscape Server root directory. The setup script will automatically configure and enable HP WebQoS.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape The following is an example of the “HP WebQoS” page: The following sections describe the parameters that can be set using the HP WebQoS Settings administration web page.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape defaults already configured in config.ac. Admit Sessions For the default value, the load threshold is set to 2. Table 3-1 HP WebQoS for Netscape Configurable Parameters: Admit Sessions Parameter Description Shutdown After the specified number of seconds, do not admit any new sessions and reject all remaining sessions. Always Disable HP WebQoS and admit all sessions to the web server.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Run top when performance is poor and acceptable to determine an acceptable load level. End Sessions For the default, the interval between requests is set to 600 seconds (10 minutes) and the session duration is disabled. Table 3-2 HP WebQoS for Netscape Configurable Parameters: End Sessions Parameter Description Interval between requests The amount of time, in seconds, between requests within the session.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Table 3-3 HP WebQoS for Netscape Configurable Parameters: Redirect Rejected Sessions Parameter Description Cluster Redirect the rejected session to a randomly selected member of a cluster. Domain Redirect the rejected session to the domain to which the systems in the cluster belong. For example, if the cluster consists of the two systems ww1.sales.acme.com and ww2.sales.acme.com, specify the domain as .sales.acme.com. Note the leading dot.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Table 3-4 HP WebQoS for Netscape Configurable Parameters: Respond to Rejected Sessions Parameter Description Page The specified web page is served to rejected requests. You can provide information to the customer such as why the session was rejected and when would be a more opportune time to return to the site. A user is less likely to try immediately re-establishing a connection and more likely to return to the site.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Table 3-4 HP WebQoS for Netscape Configurable Parameters: Respond to Rejected Sessions Parameter Description Exclude After the initial rejection, the user is prevented from returning to the site after the specified amount of time (in seconds). This discourages a user from trying to immediately re-establish a connection. If a session is allocated, this is the minimum delay that can be scheduled.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape . deferral.enterMsg You will automatically enter the site in . Starting HP WebQoS for Netscape HP WebQoS is enabled after you have installed it (provided you have met certain conditions; see “Configuring HP WebQoS for Netscape” on page 20 for more information) or run the setup script (see “Running the Setup Script” on page 20 for more information).
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape 1. Start the Netscape Administration Server. 2. Select the server to configure. 3. Click on Server Status. 4. Select Log Preferences. 5. Enter the name of the new access logfile to create (Netscape will not let you change the format of a logfile that is in use). 6. Select Custom format near the bottom of the page. 7. Append %Req->vars.hpacSessionState% at the end of the Custom format field.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape log.interval default is 60 seconds. Restart the web server for the changes to take effect. The following is an example of a log entry: 10/Mar/1998:20:39:00,15,0,0,0,0,0,0,0,181,0,0,0.5,0.00,92 where each field is delimited by a comma.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Tuning Your Web Server’s Cache To control session admissions, HP WebQoS tracks the session state by including cookies in HTTP responses. For HP WebQoS to operate effectively, the server cannot generate all of its responses from the cache. This may cause the performance of the web server to be slow. However, you can tune the cache by configuring the /opt/ns-server_name/server_id/config/hpac/config.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape Company B. Company A’s home page is located at /web_pages/company_a/index.html and Company B’s home page is located at /web_pages/company_b/index.html. To monitor each site’s traffic, add the following to the configuration file: isolate.pattern /web_pages/%[^/] Refer to documentation on the sscanf command for more information on constructing the pattern. After editing the configuration file, restart the web server.
HP WebQoS Peak for Netscape Configuring HP WebQoS for Netscape number of misses should be set to a value greater than one. However, in a large cluster, removing a machine falsely does not severely impact the cluster’s capacity and improves the responsiveness to failures. The maximum time to detect a failure can be determined by multiplying the broadcast interval by the number of misses. For the default values, the maximum failure detection time is three minutes.
4 HP WebQoS Peak for the Zeus Web Server 33
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus Configuring HP WebQoS for Zeus You must install the Zeus web server before you run the setup script. If you re-install the Zeus web server, you must re-run the setup script. The setup script configures and enables WebQoS for all virtual servers. The setup script enables NSAPI and HTACCESS for each virtual server and creates the necessary directory and configuration files for NSAPI.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus example, the Zeus web server is installed in the default /usr/local/zeus home directory and two virtual servers (server1 and server2) have been configured. User input is in bold. Note that when the password is entered, it does not appear on the screen. #cd /opt/webqospk #./setup.zeus Root pathname of Zeus server (/usr/local/zeus): Updating server server1 at /usr/local/zeus/ns-config/https-server1 ...
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus type the following: /usr/local/zeus/web/bin/htpasswd \ /webpages/server1/hpac/adminfile hpacadmin qosserver1 If the user does not exist in adminfile, it is added to the file. Otherwise, the existing password for the user is overwritten. If you want to modify the user, you can edit adminfile. However, you must use htpasswd to modify the password.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus The following is an example of the “HP WebQoS” page: The following sections describe the parameters that can be set using the HP WebQoS Settings administration web page.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus configured in config.ac. Admit Sessions For the default value, the load threshold is set to 2. Table 4-1 HP WebQoS for Zeus Configurable Parameters: Admit Sessions Parameter Description Shutdown After the specified number of seconds, do not admit any new sessions and reject all remaining sessions. Always Disable HP WebQoS and admit all sessions to the web server.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus acceptable load level. End Sessions For the default, the interval between requests is set to 600 seconds (10 minutes) and the session duration is disabled. Table 4-2 HP WebQoS for Zeus Configurable Parameters: End Sessions Parameter Description Interval between requests The amount of time, in seconds, between requests within the session. If the time between requests exceeds the specified threshold, the session is ended.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus Table 4-3 HP WebQoS for Zeus Configurable Parameters: Redirect Rejected Sessions Parameter Description Domain Redirect the rejected session to the domain to which the systems in the cluster belong. For example, if the cluster consists of the two systems ww1.sales.acme.com and ww2.sales.acme.com, specify the domain as .sales.acme.com. Note the leading dot.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus Table 4-4 HP WebQoS for Zeus Configurable Parameters: Respond to Rejected Sessions Parameter Description Page The specified web page is served to rejected requests. You can provide information to the customer such as why the session was rejected and when would be a more opportune time to return to the site. A user is less likely to try immediately re-establishing a connection and more likely to return to the site.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus Table 4-4 HP WebQoS for Zeus Configurable Parameters: Respond to Rejected Sessions Parameter Description Exclude After the initial rejection, the user is prevented from returning to the site after the specified amount of time (in seconds). This discourages a user from trying to immediately re-establish a connection. If a session is allocated, this is the minimum delay that can be scheduled.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus . deferral.enterMsg You will automatically enter the site in . Starting HP WebQoS for Zeus HP WebQoS is enabled after you have installed it (provided you have met certain conditions; see “Configuring HP WebQoS for Zeus” on page 34 for more information) or run the setup script (see “Running the setup.zeus Script” on page 34 for more information).
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus You can also use the /opt/webqospk/setup script which prompts you for the type of web server (Netscape or Zeus) you want to remove. Example The following is an example of removing HP WebQoS from one of two virtual servers configured on the system (remove HP WebQoS from server2; keep HP WebQoS installed on server1). The web server is installed in the default /usr/local/zeus directory. User input is in bold. #cd /opt/webqospk #setup.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus plug-in or CGI script, you can allow all mime types to be cached except for the mime types associated with the application. For example, to cache all mime types except those generated by CGI scripts, add the following lines to the configuration file: mime.nocache mime.type magnus-internal/cgi You must restart the web server if you make changes to the configuration file.
HP WebQoS Peak for the Zeus Web Server Configuring HP WebQoS for Zeus Each web server in a cluster listens for these broadcast messages. Based on the messages received or not received, it will mark each system as up or down. The web server marks a system as up when it receives the appropriate broadcast message from that system. The web server marks a system as down when it receives the appropriate message or it fails to receive a message after a specified number of broadcast intervals.
5 HP WebQoS Peak for the Apache Web Server 47
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server Integrating HP WebQoS with the Apache Web Server To integrate the HP WebQoS module with the Apache server, follow the steps under the scenario that best describes your installation: Scenario 1: The Apache server is already installed on the system. 1. Verify that your server has been built with Dynamic Shared Object (DSO) support. a.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server location should be protected by a password, to prevent unauthorized access to the server’s statistics. 4. Restart the Apache server so that the changes will take effect. Before restarting the server it is recommended that you read “Configuring HP WebQoS for Apache” on page 50. Scenario 2: The Apache server is not yet installed on the system. 1. Download and unpack the Apache distribution archive. 2.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server 6. Restart the Apache server, so that the changes will take effect. Before restarting the server, it is recommended that you read the next section. Configuring HP WebQoS for Apache Once the HP WebQoS module is integrated with the Apache server, HP WebQoS becomes operational when the server is (re)started. However, the module's defaults are unlikely to satisfy the needs of all sites.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server Example 5-1 Sample Output from the top Command System: web_server Wed Apr 22 10:41:59 1998 Load averages: 1.45, 1.46, 1.78 149 processes: 145 sleeping, 3 running, 1 stopped Cpu states: LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 1.45 100.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 2. If IDLE is greater than zero, then set the threshold to (100 - IDLE)/100.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server Responding to Rejected Sessions If conditions on the web server do not allow servicing new requests, sessions can be redirected or rejected. You turn on redirection indirectly by setting the redirection URL with the HPACRedirectURL directive.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server client. For instance, the customer whose access has been rejected may be given a reason for the rejection and a suggestion of a more opportune time to return to the site. The extra information is more likely to dissuade users from retrying immediately, without discouraging them from returning to the site in the future.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server gaining access to the server.After the initial rejection, the user is prevented from returning to the site for a specified amount of time. If a session is allocated, this is the minimum delay that can be scheduled. You can set this time interval with the directive HPACRejectedExclusionTime. The default is “300” seconds.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server HPACDeferralEnterMsg Time left: Logging HP WebQoS Information Saving Information to the Server Access Log HP WebQoS admission decisions can be saved to the server's access log, by adding the “%{HPAC}n” format option to the LogFormat directive.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server If logging is enabled, but the log file has not been specified, the default log file is apache_home/var/log/hpac.log (or apache_home/logs/hpac.log, depending on the layout of apache_home). NOTE The HPACStatsLogging, HPACLogUpdateInterval and HPACStatsLogfile directives set global HP WebQoS parameters, therefore they should be used outside virtual host configuration blocks.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server Table 5-1 HP WebQoS for Apache Log File Statistics Statistic Name Example Value Load 0.5 Percentage Priority Requests 0.00 Last Allocation Delay 92 Other Configuration Considerations This section covers tasks beyond basic configuration: HP WebQoS and Response Caching To control session admissions, HP WebQoS tracks the session state by including cookies in HTTP responses.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server directive. For example, assuming that mime caching is on, the following directive turns off caching for the specified mime types: HPACMimeNocache video/x-mpeg2 audio/x-pn-realaudio You can add to the default list of mime types that can be cached with the HPACMimeCache directive.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server of six shares.) This amounts to assigning 17% of system resources to A (1 / 6 * 1), 33% to B (1 / 6 * 2) and 50% to C (1 / 6 * 3). The assigned share of system resources is used to compute the actual priority threshold for each virtual host from the server-wide priority threshold. You can set the value for the server-wide priority threshold with HPACAdmitPriorityThreshold. The default for this directive is “0.9.”.
HP WebQoS Peak for the Apache Web Server Integrating HP WebQoS with the Apache Web Server try to set revert to default values.
6 Configuring HP LocalDirector Controller This chapter describes how to configure HP LocalDirector Controller.
Configuring HP LocalDirector Controller What is HP LocalDirector Controller? What is HP LocalDirector Controller? HP LocalDirector Controller (HP LDC) works with Cisco LocalDirector by automatically generating the information needed by Cisco LocalDirector to load balance TCP/IP traffic across multiple servers. HP LDC, specifically the HP LocalDirector Control daemon (ldc_agt), must be configured and running on each system that is managed by Cisco LocalDirector.
Configuring HP LocalDirector Controller Configuring Cisco LocalDirector Configuring Cisco LocalDirector Because HP LocalDirector Controller sends information to Cisco LocalDirector using SNMP traps, the snmp-server host parameter must be configured in the Cisco LocalDirector. On a system managed by Cisco LocalDirector, run netstat -rn and check the routing table information. Use the IP address associated with the Cisco LocalDirector gateway to configure the snmp-server host parameter.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller The HP LDControl page displays.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller Configuring the HP LDControl Server From the LDControl page, select “Server Configuration” from the side menu. The following page displays: Figure 6-3 HP LDControl Server Configuration Page Set the following parameters to configure the HP LDControl server: Table 6-1 HP LDControl Server Configurable Parameters Parameter Description Server Directory The home directory of the web server. For example, /opt/ns-enterprise4.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller The HP LDControl daemon must be started/restarted for these values to take effect. See “Starting and Stopping the HP LDControl Daemon” on page 68 for more information on starting HP LDC. NOTE The web server configured in the /etc/hpldc/webstone/conf/server-list file must be running before the HP LDControl daemon is started.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller Set the following parameters to configure the HP LDControl daemon: Table 6-2 HP LDControl Daemon Configurable Parameters Parameter Description LocalDirector Hostname The hostname of the system on which Cisco LocalDirector is running. Dynamic Weight Starts/Stops the HP LDControl daemon. When activated, the daemon will monitor the system and adjust the weights, if necessary.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller NOTE The web server configured in the /etc/hpldc/webstone/conf/server-list file must be running before the HP LDControl daemon is started. Starting and Stopping the HP LDControl Daemon The HP LDControl daemon can be started and stopped from the LDControl web page. Select “Start/Stop Daemon” from the side menu. A page similar to the following displays.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller Configuring a System with More than One LAN Card If the system on which you are running the web server has more than one LAN card, you must set the snmp-server host and real parameters in Cisco LocalDirector. Do the following: 1. On the system with multiple LAN cards, run netstat -rn and check the routing table information.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller HP LDControl Daemon If the HP LDControl daemon dies, check for the following error messages in the /var/opt/hpldc/ldc.log file. Complete the listed actions for the specified messages Table 6-4 HP LDControl Daemon Error Log Messages and Actions Error Message Action Cannot open file filename. Check that the file filename exists and that the HP LDControl daemon has write permission to its directory. Server might be down.
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller Problems With HP LocalDirector Controller and Cisco LocalDirector 1. To verify that the HP LDC agent (ldc_agt) is up and running, type the following: ps -efa|grep ldc_agt If ldc_agt is not running, start ldc_agt to see if it solves the problem. Refer to “Starting and Stopping the HP LDControl Daemon” on page 68. If ldc_agt stops running a few minutes after you have started it, dynamic weighting may be turned off (see Step 3b).
Configuring HP LocalDirector Controller Configuring HP LocalDirector Controller Go to step 4. • If they do not match, HP LDC might have trouble in getting the initial weight. Check the error entries in ldc.log again and refer to “Troubleshooting the HP LD Controller” on page 69. 4. If everything looks normal, you are ready to run the snmp_test tool. The snmp_test program tests the SNMP connectivity between the HP LocalDirector Controller and Cisco’s Local Director.
A HP WebQoS Configurable Parameters 73
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Netscape HP WebQoS Configurable Parameters for Netscape You can modify the behavior of the HP WebQoS modules by setting the appropriate parameters in your Netscape configuration file: /opt/ns-server_name/server_id/config/hpac/config.ac. Table A-1 HP WebQoS Configurable Parameters for Netscape Parameter Range/Type Default Description admit.always N/A N/A Configures HP WebQoS to always accept sessions. admit.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Netscape Table A-1 HP WebQoS Configurable Parameters for Netscape Parameter Range/Type Default Description cluster.group string default Sets the cluster group. cluster.keepalive.interval 1 <= n (integer) 60 The number of seconds between status broadcasts. cluster.keepalive.misses 1 <= n (integer) 3 The number of missed status broadcasts before a server is identified as down. cluster.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Netscape Table A-1 HP WebQoS Configurable Parameters for Netscape Parameter Range/Type Default Description endsession.requestInterval 0 <= n (integer) 300 Sets, in seconds, the maximum interval between requests isolate.damping 0.0 <= x <= 1.0 0.001 The damping factor used to compute the share of resources being used by each virtual server. Larger values make the controller more responsive to recent activity. isolate.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Netscape Table A-1 HP WebQoS Configurable Parameters for Netscape Parameter Range/Type Default Description reject.error N/A Server Temporarily Unavailable Sets the response to a rejected session to the “Server Temporarily Unavailable” error message. This message is not configurable. reject.excludeTime 0 <= x 300 Sets how long, in seconds, the user is prevented from returning to the site. reject.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Netscape Table A-1 HP WebQoS Configurable Parameters for Netscape Parameter Range/Type Default Description shlib.reject string N/A The name of the function used when the reject policy is set to External. shlib.sessionState string N/A The name of the function that modifies the session state. This function may change the priority of sessions or end sessions. Defaults Already Configured in config.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Zeus HP WebQoS Configurable Parameters for Zeus You can modify the behavior of the HP WebQoS modules by setting the appropriate parameters in your Zeus configuration file: $ZEUSHOME/ns-config/https-server_name/config/hpac/config.ac. Table A-2 HP WebQoS Configurable Parameters for Zeus Parameter Range/Type Default Description admit.always N/A N/A Configures HP WebQoS to always accept sessions. admit.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Zeus Table A-2 HP WebQoS Configurable Parameters for Zeus Parameter Range/Type Default Description cluster.keepalive.interval 1 <= n (integer) 60 The number of seconds between status broadcasts. cluster.keepalive.misses 1 <= n (integer) 3 The number of missed status broadcasts before a server is identified as down. cluster.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Zeus Table A-2 HP WebQoS Configurable Parameters for Zeus Parameter Range/Type Default Description isolate.damping 0.0 <= x <= 1.0 0.001 The damping factor used to compute the share of resources being used by each virtual server. Larger values make the controller more responsive to recent activity. isolate.pattern string N/A The pattern used to identify virtual servers.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Zeus Table A-2 HP WebQoS Configurable Parameters for Zeus Parameter Range/Type Default Description reject.error N/A Server Temporarily Unavailable Sets the response to a rejected session to the “Server Temporarily Unavailable” error message. This message is not configurable. reject.excludeTime 0 <= x 300 Sets how long, in seconds, the user is prevented from returning to the site. reject.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for Zeus Table A-2 HP WebQoS Configurable Parameters for Zeus Parameter Range/Type Default Description shlib.reject string N/A The name of the function used when the reject policy is set to External. shlib.sessionState string N/A The name of the function that modifies the session state. This function may change the priority of sessions or end sessions. Defaults Already Configured in config.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server HP WebQoS Configurable Parameters for the Apache Web Server 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.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server Parameter Argument Default Description HPACDeferralEnterMsg string You will automatically enter the site in Sets the heading for the time counter on the deferral page. HPACDeferralMessage string We 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.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server Parameter Argument Default Description HPACLoadDamping 0 <= x <= 1.0 (real number) 0.1 Sets the damping factor used to compute the web server load. Note: larger values make the controller more responsive to recent activity. HPACLogUpdateInterval n>0 (integer) 600 Sets the time interval (in seconds) between statistics log updates.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server Parameter Argument Default Description HPACMimeNocache a list of one or more spaceseparated mime type strings all, except those listed in the default list for HPACMimeCache Removes mime types from the list of mime types the server can cache.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server Parameter Argument Default Description HPACRejectionPolicy defer| reject| rejectpage reject Sets 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.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server Table A-3 HP WebQoS Configurable Parameters for the Apache Web Server Parameter Argument Default Description HPACShareUnits n>0 (integer) 1 Sets 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.
HP WebQoS Configurable Parameters HP WebQoS Configurable Parameters for the Apache Web Server 90 Appendix A