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. A copy of the specific warranty terms applicable to your Hewlett- Packard product and
replacement parts can be obtained from your local Sales and Service Office.
Restricted Rights Legend. Use, duplication or disclosure by the U.S. Government is subject to
restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.227-7013.
HEWLETT-PACKARD COMPANY
3000 Hanover Street
Palo Alto, California 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR
Trademark Notices. UNIX® is a registered trademark of the Open Group.
X Window System is a trademark of the Massachusetts Institute of Technology.
OSF/Motif is a trademark of the Open Software Foundation in the U.S. and other countries.
Java™ is a U.S. trademark of Sun Microsystems, Inc.
Netscape and Netscape Navigator are U.S. trademarks of Netscape Communications Corporation.
MS-DOS®, Microsoft®, Windows®, and Windows NT® are U.S. registered trademarks of Microsoft
Corporation.
2
1. Understanding HP WebQoS
The Role and Benefits of HP WebQoS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
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. See your HP sales representative for details.
Second Edition: March 2000 (HP-UX 11)
Third Edition: September 2000 (HP-UX 11)
9
10
1Understanding HP WebQoS
This chapter explains the roles and benefits of HP WebQoS and how it
fits into your environment. It also describes fundamental WebQoS
concepts to help you understand how WebQoS technology works.
Chapter 111
Understanding HP WebQoS
The Role and Benefits of HP WebQoS
The Role and Benefits of HP WebQoS
HP WebQoS is an enhancement to the HP-UX operating environment
that stabilizes, optimizes, and prioritizes Internet-related applications
and transactions that run on HP 9000 Enterprise servers. HP WebQoS
works with web-enabled applications built on top of the iPlanet Web
Server1 version 4.1 or the Zeus Web Server2 version 3.3.6.
HP WebQoS enables you to use your resources efficiently to deliver
predictable and differentiated service levels for your web-based
applications, based on the type of customer or transaction. It allows you
to determine these service levels based on business policies.
Although the Internet represents significant opportunities for expanding
your business, the following risks may hamper your ability to deliver
web-based services to customers and partners reliably:
• Unpredictable and possibly fluctuating demand for services.
Because the Internet offers instantaneous access to your site,
promotional, seasonal, or current events may instigate sudden and
immediate interest in your services. Although the additional interest
and business may be welcome, your server may not be able to handle
the load if significant numbers of clients come all at one time. Or if
you are a service provider hosting multiple sites on one server, you
should make sure that the demands of one site do not restrict use by
other sites on the same server.
• Heavier than expected system processing per user request.
The actual workloads exhibited by each visitor to your site may not
align with the workload models you generated during the capacity
planning stage. Perhaps users are performing far more searches than
you anticipated or are spending a lot more time performing compute
intensive operations while at your site.
• All requests are treated the same.
During overload conditions, all user requests and all transactions are
impacted. Even your most important customers who are trying to
access their accounts to make purchases,or sales representatives who
1. The iPlanet Web Server is a product of Sun Microsystems, Inc.
2. The Zeus WebServer is a product of Zeus Technology.
Chapter 112
Understanding HP WebQoS
The Role and Benefits of HP WebQoS
are trying to make a sale at the end of the month, are at the mercy of
Web surfers.
Each of the above conditions can cause increased load at your site or may
impede your ability to deliver your services at optimum levels.
By configuring WebQoS based on the type of services offered and traffic
experienced at your site, you ensure that important web-based
transactions are handled optimally in order to maximize revenue and
customer satisfaction.
Key capabilities and benefits of WebQoS for HP-UX 9000, Series 800
customers allow you to do the following:
• Stabilize the system during server overload situations.
When the server is at capacity, WebQoS works to alleviate the load
and improve the performance. For more information, refer to
“Capacity Protection” on page 14.
• Prioritize client requests to the server system.
WebQoS allows you to provide differentiating service to different
types of client requests by prioritizing requests submitted to the site.
For more information, refer to “Request Classifications” on page 14.
• Establish rules for the classification of service requests from users.
WebQoS fulfills high priority service requests with optimum
performance while lower priority service requests are handled in
accordance with your instructions. For more information, refer to
“Request Classifications” on page 14.
WebQoS Concepts
The following are fundamental WebQoS concepts and capabilities.
Understanding these concepts is necessary before you can understand
how WebQoS technology works.
Service
A service refers to something of value that a business is offering to other
businesses or consumers. For example, a business may provide email,
messaging, documentation publishing, cataloging, and Electronic
Commerce services. A WebQoS service is a way to logically group web
sites related to a business application that you offer to customers or
partners.
Chapter 113
Understanding HP WebQoS
The Role and Benefits of HP WebQoS
Request Classifications
Request classifications determine access priority for requests submitted
to a web site. They enable you to give preferential treatment to your
most important customers or transactions, allowing you to meet formal
or informal service-level agreements.
WebQoS request classifications differentiate requests as they enter the
server system by dividing requests into categories based on application,
client or destination IP addresses, destination port number, and URL
document paths. High request classifications have higher priority access
to the server.
WebQoS supports three request classifications: high, medium, and low.
During periods of heavy system load, low priority requests may possibly
be redirected or rejected. If a request is accepted, it is scheduled based on
its request classification priority. Based on your configured policies, the
request might be immediately processed, or it may wait in the queue
while other higher priority requests are processed first.
Sessions
A session is composed of one or more requests to a web site from the
same user. These requests may arrive over one, or over several
connections. Once a session has been granted, a user's remaining
requests are guaranteed to be forwarded to the web server, unless the
session times out.
Under periods of heavy system load, new sessions may not be granted.
This is controlled by the WebQoS policies. When new sessions are
rejected, redirected, or deferred, existing sessions continue
uninterrupted. User request prioritization and session management are
the primary tools used by WebQoS to provide Capacity Protection. The
network manager is responsible for updating the timers that define a
session, and for establishing the policies that control whether the session
is admitted.
Capacity Protection
Capacity Protection prevents system overload with load balancing and
admission control. This minimizes the impact of unexpected surges in
demand while maximizing the volume of completed transactions.
Capacity Protection makes sure that performance levels for active
customers and their currently running transactions are not
compromised. New user requests are not admitted to a site unless their
Chapter 114
Understanding HP WebQoS
The Role and Benefits of HP WebQoS
transactions can be completed quickly.
With Capacity Protection, you configure a system when it is functioning
at peak levels to do the following:
• Redirect high priority customers to another system with available
capacity.
• Defer high priority customers for a few moments until current
sessions are completed.
• Reject low priority customers in extreme overload conditions.
Policy Based Service Level Objectives (SLOs) and Thresholds
To ensure that your business policies are reflected in your Web
applications, they need to be translated into service level objectives
(SLOs) and thresholds. SLOs are business-oriented policies and
thresholds are operations-oriented policies.
Business-oriented service level objectives define the following:
• Response time—measured from the time a request enters the server
to the time it leaves the server.
• Concurrent session capacity—created when an initial request is
accepted and maintained until the session times out.
Operations-oriented thresholds for capacity protection determine the
following:
• Average CPU load—measured on the local system.
• Queue depth—the maximum number of service requests waiting that
are not yet forwarded to the web server.
The administrator defines SLOs, thresholds,and their relative priorities.
WebQoS can trade off meeting policies based on these priorities.
Information Technology rules concerning response time, throughput,
availability, and priorities for request classification rules and
applications are translated into SLOs and thresholds.
The administrator also configures corrective actions that are executed
when the rules are violated. Corrective actions are a list of prioritized
actions an administrator uses to help bring the SLO or threshold into
compliance with the rule.
Chapter 115
Understanding HP WebQoS
How WebQoS Fits Into Your Environment
How WebQoS Fits Into Your Environment
WebQoS, which includes a set of extensions to HP-UX, works with your
web server and application servers for all of your web-enabled
applications. Refer to Figure 1-1, "WebQoS in Your Environment".
Figure 1-1WebQoS in Your Environment
To ensure acceptable web-based interactions between you and your
customers, all parts of your web environment (client, network, web
server, and application server which includes an application) must work
together efficiently and effectively. The network alone cannot deliver
acceptable service levels if the server is creating delays due to excessive
demand or component failures. The server alone cannot deliver
acceptable service levels if the network is exhibiting bottlenecks.
The following describes briefly the function of each part of the
environment:
• The client identifies itself and initiates requests.
• The network distinguishes class priorities and routes priority packets
efficiently while delivering best effort service to lower priority
packets.
• The web server distinguishes WebQoS request priorities and
manipulates operating system scheduling policies and resource
management policies to ensure high priority service requests are
processed quickly.
• The application server contains an application with the processing
rules that enables service requests to be classified and handled by the
server and network.
Chapter 116
WebQoS Components
WebQoS comprises a number of components that perform priority-based
resource management and service request handling. (See Table 1-1,
“WebQoSComponents.”)In addition, management components allow you
to configure WebQoS for the systems on which it is installed as well as
define the service level objectives (SLOs) and threshold policies that are
important to your business. (For an explanation of SLOs, refer to
“Service Level Objectives for Site” on page 158.)
Note that not all components are required on every WebQoS-enabled
system. Refer to Figure 1-2, "Request and Management Data Flow", to
understand how these components fit into the WebQoS picture.
Table 1-1WebQoS Components
ComponentInstalled OnDescription
Understanding HP WebQoS
How WebQoS Fits Into Your Environment
Management User
Interface
WebQoS
Management Server
or Service Control
Operator (SCO)
Any Windows
NT/95/98
system. Can be
installed on
multiple PCs.
Mustreside onat
least one system
in the WebQoS
domain.
Any HP-UX
Enterprise
Server running
HP-UX 11.x.
Must reside on
only one system.
Allows you to configure WebQoS-enabled
systems, including identification of those
systems, websites and applications that
make up a particular service offering. Also
lets you define performance objectives for the
components of the service. Enables you to
monitor performance levels and service level
objectives (SLOs).
Manages the WebQoS configuration and
communicates with the management user
interface. Sends out management control
directives to the Service Control Agents
(SCAs) and receives status from them.
Chapter 117
Understanding HP WebQoS
How WebQoS Fits Into Your Environment
Table 1-1WebQoS Components
ComponentInstalled OnDescription
WebQoS Services or
Service Control
Agent (SCA) and
WebQoS Request
Control
Any HP-UX
Enterprise
Server running
on HP-UX 11.x
and running a
web server that
is managed by
WebQoS.
Collects performance information from the
Service Resource Controller and WebQoS
request control. Receives management
control directives from the Service Control
Operator. Distributes configuration
information to WebQoS nodes. The SCA
monitors operation information and gives
feedback to the SCO. This information is
displayed by the management user interface.
This component includes the following
sub-components:
Session Manager—creates sessions and
tracks activity within a session until it
expires.
Classifier—examines attributes of a service
request to determine the appropriate request
classification assignment for the request.
Admission Controller—monitors system load
and response time in order to decide whether
or not new sessions are accepted.
Scheduler—submits service requests to the
web server based on each request's assigned
request classification priority.
Class Encoder/Decoder—encodes and
decodes the request classification priority for
requests and responses into network packet
headers so that network devices can handle
these accordingly.
Chapter 118
How WebQoS Fits Into Your Environment
Request and Management Data Flow
In this example, you are running a web server system that is accessible
by various clients through a browser. The system may be running
multiple web server processes, each of which may be hosting different
web sites that are assigned to different process groups. By assigning
these sites to different process groups, you cause them to exhibit
different performance characteristics. If you assign your most important
website to the high priority process group, it receives majority access to
shared system resources. Also, by assigning different priorities for each
web server, you can give different performance levels to different user
requests or to different actions.
Figure 1-2Request and Management Data Flow
Understanding HP WebQoS
Chapter 119
Understanding HP WebQoS
How WebQoS Fits Into Your Environment
Chapter 120
2Installing HP WebQoS
Information about installing, upgrading, and removing this product can
be found in the HP WebQoS Premium for HP-UX Release Note.
Chapter 221
Installing HP WebQoS
Chapter 222
3Configuring HP WebQoS
This chapter describes how to modify the WebQoS configuration files. It
also describes the management user interface and how to use it.
Chapter 323
Configuring HP WebQoS
Figure 3-1WebQoS Administrator’s Task Flow
Chapter 324
Configuring HP WebQoS
The steps below are explained in detail in the sections following.
1. Modify configuration files from the command line before starting
WebQoS.
2. Configure your web server.
3. Run the WebQoS setup script to start the WebQoS SCO.
4. Start the WebQoS management user interface. The WebQoS SCO
must be started prior to starting the management user interface.
5. Use the management user interface to configure one or more systems.
A system is a computer with web sites and application servers
managed by WebQoS.
6. Use the management user interface to configure one or more services.
A service is a way to logically group web sites that are related to the
same business application. You can view logical groups of web sites as
a single entity in the management user interface and you can set a
service level objective for the service that allows you to put limits on
the number of concurrent sessions.
7. Use the management user interface to configure one or more sites. A
site is a web server instance that is managed by WebQoS. When you
configure a site, you do the following:
• Connect the site logically to a previously configured service so you
can view grouped sites belonging to that service in the
management user interface.
• Specify the system and port number which identify the site. The
system must already be configured in WebQoS. You can look at all
the sites on a system in the management user interface.
• Prioritize requests to the site with request classification rules.
• Define response time and capacity objectives and policies for the
site.
• Set service level objectives for the site.
8. Use the management user interface to edit your site(s).
9. Configure necessary files from the command line after configuration
is completed from the management user interface.
Chapter 325
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
Modifying Configuration Files Before
Start-Up
The following files can be modified from the command line before
starting WebQoS:
• /etc/opt/webqos/net_tos.conf (See “Enabling Network Type of
Service” below.
• /etc/opt/webqos/qos.conf (See “Modifying WebQoS Global
Configuration” on page 27.)
Enabling Network Type of Service
Enabling network type of service (TOS) allows classification rules to be
reflected in network traffic priorities. Please check with your network
equipment provider if TOS encoding is supported.
If you would like to enable network TOS, you must modify the following
configuration file: /etc/opt/webqos/net_tos.conf.
Modify this file before you start up WebQoS. The file contains two flags,
IN_TOS and OUT_TOS, which tell WebQoS how to interpret and set the
TOS byte in the IP headers of incoming and outgoing requests.
The IN_TOS Flag
The IN_TOS flag tells WebQoS how to interpret the TOS values of
requests coming into WebQoS from your clients. If you have configured
your networking devices (for example routers or switches) to set the TOS
byte, and you want WebQoS to classify incoming requests based on that
value rather than other request classification rules (for example IP
address, URL, or port number), you should set this flag to TRUE. Then
configure the expected value ranges for each request classification. Next,
you configure your request classification rules to enable network QoS.
Refer to “Setting Site Service Level Objectives”.
The OUT_TOS Flag
The OUT_TOS flag tells WebQoS how to set the TOS values for outgoing
responses back to the client. If your network devices are configured to
interpret these settings, you can signal these network devices to ensure
Chapter 326
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
your requests receive the appropriate priority across the network.
Specific instructions to enable network TOS are included in the
/etc/opt/webqos/net_tos.conf file.
Modifying WebQoS Global Configuration
To modify your WebQoS global configuration, you need to modify the
/etc/opt/webqos/qos.conf configuration file.
You should do this before you run the WebQoS setup script. If you
update this file after running the setup script, the web server must be
restarted for any changes to take effect. However, logging and tracing
parameters can be changed dynamically and take effect when a site is
edited.
The following parameters can be set:
SCA and Web Server Parameters
The following parameters affect the SCA and web server. If you change
any of these parameters, you must restart the SCA and web server.
• HTTPVersion - Default: HTTP/1.1
• KeepDeferringAfterMaxDeferTime - No default
Defer users when the maximum defer time is reached. Set this
parameter to TRUE to continue deferring users.Set this parameter to
FALSE to reject users when the maximum defer time is reached.
• MeasurementInterval - Default: 30 seconds
How often, in seconds, WebQoS collects performance measurements.
The MeasurementInterval must be an even multiple of the
MonitorInterval. The minimum value is 5 seconds.
If Site Statistics Logging is enabled in the management user
interface, this parameter also specifies the interval at which the SCA
generates site statistics.
• MonitorCPUWeight - Default: 20%
Percentageof the current CPU utilization (pstat is used to determine
current CPU utilization) used to calculate the weighted CPU
utilization. The weighted CPU utilization is based on the current and
previous (last measured) CPU utilization:
For example, if you set the MonitorCPUWeight to 20, the current
CPU utilization is 60, and the previous CPU utilization is 50, the
weighted CPU utilization is (20% * 60) + [(100 - 20)% * 50] or 52%.
If you want to monitor the current CPU utilization only, set this
parameter to 100.
The MonitorInterval parameter determines how often the weighted
CPU utilization is calculated (default is every 5 seconds).
If you modify MonitorCPUWeight, you must restart the SCA and your
web server.
• MonitorInterval - Default: 5 seconds
How often, in seconds, threshold policies are monitored. The
minimum value is 5 seconds. If you change the value, you must
restart the web server.
• MonitorResponseTimeWeight - Default: 50%
Percentage of the current response time used to calculate the
weighted response time. The weighted response time is based on the
current and previous (last measured) response time:
For example, if you set the MonitorResponseTimeWeight to 20, the
current response time is 3 seconds, and the previous response time is
2 seconds, the weighted response time is (20% * 3) + [(100 - 20)% * 2]
or 2.2 seconds.
If you want to monitor the current response time only, set this
parameter to 100.
The MonitorInterval parameter determines how often the weighted
response time is calculated (default is every 5 seconds).
• NumOfDeferredSessionsPerMinute - No default
The number of sessions that can be deferred per minute. If the value
is greater than 60, then the parameter
NumOfDeferredSessionsPerSecond automatically increases.
• NumOfDeferredSessionsPerSecond - Default: 1
Chapter 328
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
The number of deferred sessions that have the same deferral time
allocated to them. Minimum deferral time is 10 seconds; maximum is
120 seconds.
Forexample, if you set this parameter to 1 and two requests arrive at
the same time, the first deferred session is allocated a deferral time of
10 seconds and the second deferred session is allocated a deferral
time of 11 seconds. If you set the parameter to 2 and two requests
arrive at the same time, the first deferred session is allocated a
deferral time of 10 seconds and the second also is allocated a deferral
time of 10 seconds.
SCA Parameters
The following parameters affect the SCA only. If you change any of these
parameters, you must restart the SCA.
• LogInterval - Default: 30 minutes
How often, in minutes, WebQoS logs measurements to a
measurement log file located in the directory
/var/opt/webqos/measures. The LogOn parameter must be enabled
(set to 1) before WebQoS logs measurements to the log file. The
minimum value is 1 minute.
• LogOn - Default: 0 (disabled)
Enable or disable measurement logging. To enable measurement
logging, set this parameter to 1. To disable measurement logging, set
this parameter to 0.
WebQoS creates a new measurement log file daily for each WebQoS
site and places it in the directory /var/opt/webqos/measures. The
measurement log file name is the site name you entered in the
management user interface followed by the date. The log file contains
performance measurements collected during the day for the site.
The measurements logged include:
— Average response time for each request class
— Number of new, redirected, deferred, and rejected sessions foreach
request class
— Average and maximum queue lengths
• SaveFiles - Default: 0 (disabled)
Chapter 329
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
Enable or disable saving measurement log files (located in the
directory /var/opt/webqos/measures). If enabled, all measurement
log files are saved. If disabled, measurement log files more than two
days old are deleted.
SCO Parameters
The following parameters affect the SCO only. If you change any of these
parameters, you must restart the SCO.
• SCOLogInterval - Default: 5 minutes
How often, in minutes, WebQoS logs aggregate service statistics to a
service statistics log file located in the directory
/var/opt/webqos/stats). Service statistics logging must be enabled
using the management user interface before aggregate service
statistics are logged. Values range from 5 to 30 minutes. See “To
Configure Service Statistics Logging” on page 47 for a list of the
logged aggregate statistics.
• SCOLogSROn - Default: 0 (disabled)
Enable or disable logging to HP OpenView MeasureWare. You can
view the statistics logged using the HP OpenView Service Reporter.
Service statistics logging must be enabled using the management
user interface before statistics are logged.
To enable logging, set this parameter to 1. To disable logging, set this
parameter to 0.
• ServiceSLOInterval - Default: 30 seconds
How often, in seconds, the SCO requests the site SLO status from the
SCA.
Denial of Service Parameters
The following parameters can be set to protect your web server from
denial of service attacks.
Connections with No Data Configure the following parameters to
protect your web server against excessive connections that contain no
data.
• MaxPollDescriptors - Default: 50% of the total number of file
descriptors available for each process defined by the maxfiles kernel
parameter. For example, if the maxfiles kernel parameter is 4096,
Chapter 330
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
then the default value is 2048.
The maximum number of connections that are polled or checked for
data. This parameter prevents connections with no data from using
too many file descriptors. HP recommends that this value be a
percentage of the maxfiles kernel parameter.
• NoDataConnectionTimeout - Default: 30 seconds
The amount of time, in seconds, to wait before closing a connection
without data.
If no data is received for a connection in this amount of time, the
connection is closed.
• PollThreadSleepTime - Default: 100 milliseconds
The amount of time, in milliseconds, to wait before checking if any
data has arrived.
If a connection with no data is received, then wait for this amount of
time before checking the connection for the arrival of data.
The total number of times the connection is checked for data during
the NoDataConnectionTimeout time is calculated by dividing
NoDataConnectionTimeout by this value. For example, using the
default values, the connection with no data is checked for data 300
times (30 seconds/100 milliseconds) in a 30 second period.
• WaterMarkForNoDataConn - Default: 95% of MaxPollDescriptors
When MaxPollDescriptors is reached, an event is sent indicating
that there are too many connections with no data. When the total
number of file descriptors falls below this percentage of
MaxPollDescriptors, another event is sent indicating that the
number of connections with no data is at an acceptable level.
Logging and Tracing Parameters
The following parameters affect the amount of information written to the
logging and tracing files.
• LOGLEVEL - Default: 3 (informative logging)
The amount of logging information that is written to the files
/var/opt/webqos/logs/qoslog and
/var/opt/webqos/logs/acclog. Logging values are:
The larger the value, the more logging information is generated.
• TRACELEVEL - Default: 0 (no tracing)
The amount of tracing information that is written to the file
/var/opt/webqos/logs/qostrace and
/var/opt/webqos/logs/acctrace. Tracing values are:
0 - None
1 - Data flow
2 - Detailed
3 - Procedural
The larger the value, the more tracing information is logged.
NOTEThe logging and tracing parameters are the only parameters in the
qos.conf file that can be changed dynamically. Changes to these
parameters take effect when a site is edited.
Chapter 332
Configuring HP WebQoS
Modifying Configuration Files Before Start-Up
URL Encoding Parameters
The following parameters allow you to support users who have disabled
cookies on their browser. These parameters are useful only if you are
using the BroadVision One-To-One Server1.
• BV_SYSTEM_NAME - No default
This is the name of the BroadVision One-To-One root server. Set this
parameter only if you are using the BroadVision server. Youcan enter
up to two server names. The names must be separated by a space.
This parameter must be defined on the WebQoS management server
system if you are using the BroadVision server.
• BV_USER_NAME - No default
This is the user name configured on the BroadVision One-To-One
server. The user cannot be root.
This parameter must be defined on the WebQoS services system and
the WebQoS management server system if you are using the
BroadVision server.
• ENABLE_URL_ENCODING_BV - Default: 0 (disabled)
If you are running the BroadVision One-To-One Server, you can use
BroadVision’s session count to keep track of the aggregate session
count for the service. This allows you to support users who have
disabled cookies on their browser. To enable this feature, set this
parameter to 1.
This parameter must be defined on the WebQoS services system and
the WebQoS management server system if you are using the
BroadVision server.
If the BroadVision One-To-One Server is not installed but you enable
this parameter, WebQoSuses URLs to maintain state information. In
this case, the aggregate session count SLO is not useful.
1. The BroadVision One-To-One Server is a product of BroadVision,
Inc.
Chapter 333
Configuring HP WebQoS
Configuring Your Web Server
Configuring Your Web Server
This section lists required and optional parameters that can be
configured for your web server.
Zeus Web Server
Configuring Zeus Web Server Parameters
You must configure the following Zeus web server parameters with the
given values in order to use WebQoS successfully. Each parameter is
formatted as follows:
parameter_name: given_value
In $ZEUSHOME/webadmin/config/sites/
IP-based virtual server, configure the following parameter (this
parameter can also be configured by modifying the Bind address field in
the General Server Configuration screen of the Zeus web
administration server for each IP-based virtual server):
• bindaddr: IP address of the IP-based virtual server
The IP address assigned to the IP-based virtual server.
Used with the tuning!bind_any parameter, this parameter allows
you to configure WebQoSindividually for each IP-based virtual server
(you can configure each IP-based virtual server as an individual site
in WebQoS).
If this parameter is not configured, WebQoS can only be configured
globally for all virtual servers (you must configure all virtual servers
as one site in WebQoS).
In $ZEUSHOME/web/global.cfg, configure the following parameters:
• tuning!bind_any: no
Do you want to bind the virtual server with any IP address?
If the bindaddr parameter is configured and this parameter is set to
no, the web server can bind a specific IP address with each IP-based
virtual server. This allows you to configure WebQoS individually for
each IP-based virtual server (you can configure each IP-based virtual
server as an individual site in WebQoS).
virtual_server
, for each
Chapter 334
Configuring HP WebQoS
Configuring Your Web Server
If this parameter is set to yes or if bindaddr is not configured,
WebQoS can only be configured globally for all virtual servers (you
must configure all virtual servers as one site in WebQoS).
Chapter 335
Configuring HP WebQoS
Configuring Your Web Server
• tuning!use_poll: yes
Do you want to use the system call poll() instead of select()?
poll() gives you better performance and is the default system call
used if this parameter is not set. WebQoS only supports the poll()
system call.
IP-Based Virtual Servers
WebQoS supports IP-based virtual servers (hardware virtual servers)
where each IP-based virtual server has a unique IP address and port
number combination. This allows each IP-based virtual server to be
configured as an individual site in WebQoS.
NOTEIP-Based virtual servers cannot be added nor deleted dynamically. That
is, you must stop the web server before you can add or delete an
additional IP-based virtual server (see the next two sections for more
information).
All IP-based virtual servers must be running and each IP-based virtual
server must be configured as an individual site in WebQoS before
WebQoS can be active.
Adding an Additional IP-Based Virtual Server If you want to add
an additional IP-based virtual server,do the following (refer to your Zeus
web server documentation for more information):
1. Stop the Zeus web server from the Zeus administration server.
2. Add the virtual server.
3. Start the Zeus web server.
4. Enable all virtual servers.
5. Configure the added IP-based virtual server as a WebQoS site.
Deleting/Disabling an IP-Based Virtual Server To disable an
IP-based virtual server, you must delete it. To delete an IP-based virtual
server, do the following (refer to your Zeus web server documentation for
more information):
1. Stop the virtual server.
Chapter 336
Configuring HP WebQoS
Configuring Your Web Server
2. Stop the Zeus web server from the Zeus administration server.
3. Delete the virtual server.
4. Start the Zeus web server.
5. Make sure all virtual servers are enabled.
6. Remove the site in WebQoS.
Subservers
Zeus allows you to configure subservers (software virtual servers or host
header-based virtual servers). These subservers cannot be configured
individually in WebQoS. Instead, all subservers configured to one IP
address and port number are configured as one site in WebQoS.
Adding/Deleting an Additional Subserver Subservers can be added
and deleted dynamically (refer to your Zeus web server documentation
for more information). You do not have to stop the web server.
Improving Web Server Performance
For information about improving the performance of your Zeus web
server, refer to question 7.1 (How can I tune the webserver for maximumperformance) of the Zeus FAQ located at
http://support.zeus.com/faq/.
iPlanet Web Server
Please refer to the following web page for iPlanet Web Server 4.1
performance configuration information:
This utility enables and disables the WebQoS daemons and web servers
with WebQoS. You run it after WebQoS is installed on systems running
the web server tier, application server tier, and on the management
system where the SCO is run.
Run the following script on any HP-UX system you are using as an
application tier or a web server tier for WebQoS:
/opt/webqos/install/setup
When you run the setup script, you must provide the following
information:
• Continue running the script?
If you do not want to run WebQoS or read the software license terms,
you can exit the script now. Otherwise, enter y to continue.
• Do you accept the HP software license terms?
If you accept the software license terms and want to continue running
the setup script, enter y. Otherwise, enter n to exit the script.
• Do you want to enable the SCO?
You must enable one SCO in your WebQoS domain in order to
configure and manage your WebQoS-enabled web servers.
• Do you want to start the qosmond daemon?
If you want to use HP OpenView IT/Operations with WebQoS, the
qosmond daemon must be started.
• Configure the management user interface password.
This is the password you use to log in to the management user
interface. There is one password for each management server.
• Select the type of web server on which you want to use WebQoS.
Choose either NES (Netscape Enterprise Server) or Zeus.
• Enter the root pathname of your web server.
This is the path to the web server you want to manage on this system.
The setup script installs WebQoS for all the web servers operating
under the directory you specify.
Chapter 338
Configuring HP WebQoS
Running the WebQoS setup Script
If you do not want to configure any web servers, enter NONE.
• Do you want to remove HP Admission Control?
This question appears only if you have installed an older version of
WebQoS (HP ServiceControl) on your system. You must remove HP
Admission Control in order to use this version of WebQoS. If you
answer no, you will exit the script and you will not be able to use this
version of WebQoS.
• Log the service statistics to MeasureWare?
This questions appears only if MeasureWare is already installed on
your system.
WebQoShas been integrated with some components of HP OpenView.
If you would like to view WebQoS reports, statistics, graphs, and
events in HP OpenView, answer yes.
The setup script also starts the Service Control Agent.
Running setup -r
If you decide you no longer want to use WebQoS with your web server,
run the following command.
/opt/webqos/install/setup -r
WebQoSconfiguration data is preserved in case you want to run WebQoS
again later.
When you run setup -r, you must provide the following information:
• Continue running or exit the script?
If you want to continue using WebQoS, you can exit the script now.
• Select the type of web server on which you no longer want to use
WebQoS.
Choose either NES (Netscape Enterprise Server) or Zeus.
• Enter the root pathname of the web server.
Chapter 339
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Configuring WebQoS from the Management
User Interface
Once you have installed the relevant WebQoS components on each of
your web and application servers and have performed the appropriate
modifications to configuration files, you can configure WebQoS to know
about the applications and web sites hosted on the WebQoS-enabled
systems.
WebQoS considers each web site and application to be a component of
some service that you are offering to your customers or partners. By
telling WebQoS what service each site supports, the WebQoS
management user interface allows you to displaythe status of the service
as well as all sites relating to the service. This allows you to take a
Service Level view of your environment, rather than an individual
Service Component view. By taking a Service Level view you can better
appreciate how your customers are experiencing your service.
The sections that follow provide instructions to help you do the following:
• Identify the services that are being offered by your business.
• Identify the web sites that are components of the service, including:
❏ The system and web server process that hosts each site.
❏ Performance and capacity objectives for the site.
❏ Corrective actions that you can take when the objectives are not
being met.
❏ Rules for classifying, prioritizing and processing requests that
come into the site.
• Configure monitoring intervals for the resources that are being
shared.
Chapter 340
Configuring WebQoS from the Management User Interface
Starting the WebQoS Management User Interface
To start the WebQoS management user interface, follow these steps:
1. Double-Click on the WebQoS icon on the Windows desktop. The
WebQoS login dialog box appear (Figure 3-2, “WebQoS Login Dialog
Box”).
Figure 3-2WebQoS Login Dialog Box
2. Enter the system name where the WebQoS management server
(SCO) is installed. This system is also called the management station.
3. Enter the WebQoS management station password. There is one
password per management station. You can change this password by
choosing File: Change Password from the management user
interface.
Configuring HP WebQoS
If you forget your password, you can specify a new one by running
/opt/webqos/install/setup -p on the system on which the
WebQoS management server is installed.
4. Choose [OK]. The user interface shown below allows you to configure
and use WebQoS to manage the service levels provided by your web
servers.
Chapter 341
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-3The Management User Interface View
Menu Bar
Task Bar
Pulldown
Lists
Services/
Systems Views
SLO/
History Views
Status Summary
Understanding the Management User Interface
The following table describes the management user interface top level
screen. For detailed information, refer to the WebQoS online Help.
Table 3-1
Window AreaDescription
Menu BarThe File menu allows you to change the administrator’s
password.
The Actions menu allows you to add, edit, copy, or delete
services, systems, and sites. You can also filter SLOs and the
History log.
The Help menu provides overview online help and product
information.
Task BarEach button provides quick access to some actions in the
Actions menu.
Chapter 342
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Table 3-1
Window AreaDescription
Pulldown ListsThe Services/Systems pulldown list allows you to select
either the services view or the systems view.
The Service Level Objective/History log pulldown list allows
you to select either the SLO view or the History log view.
Services/Systems ViewsThese views display a tree containing your configured
services, systems, and sites (your domain topology).
The Services view displays your domain by services. The
systems and sites that provide each service are displayed
below the service.
The Systems view displays your domain by systems. The
services and sites available on each system are displayed
below the system.
For an explanation of the symbols see “Navigating the
Services/Systems View” on page 86.
When editing or deleting a service, system or site, you must
first select it in this view area.
SLO /History ViewsDisplays the SLOs or history log for the service, system, or
site that you selected in the Services/Systems view area.
For an explanation of the color codes, see “Understanding
the Service Level Objectives View” on page 94, and
“Understanding the History Log View” on page 96.
Status SummaryThe buttons at the bottom report the number of SLOs being
violated, at risk, in compliance, and inactive.
For an explanation of the color codes, see “Understanding
the Service Level Objectives View” on page 94.
Chapter 343
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Adding a System
To configure WebQoS for your environment you must first inform the
WebQoS management system on which servers WebQoS is installed. To
do this, add a system entry for each server that will run WebQoS.
To add a system, follow these steps:
1. From the management user interface, choose Actions: Add ->System. The Add System Configuration dialog box appears.
Figure 3-4Add System Configuration Description Dialog Box
2. In the Add System Configuration Description dialog box, enter
the system name in the System Name input box. The name does not
need to be fully qualified. You may enter an alias. The system name
must be recognized by Domain Name Service (DNS).
Chapter 344
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
3. When you have finished your modifications, choose [OK].
You can view the system you configured by selecting Systems from the
Systems/Services pull down menu on the main management user
interface view. The Service Control Agent must be started or already
running for these changes to take effect.
NOTEIf you select a system and choose File: Delete, all the configurations
for sites on that system are also deleted. Any service configuration on
that system will remain.
Adding a Service
A Service is a way to logically group web sites related to a business
application that you offer to your customers or partners. The service
definition lets an administrator view logical groups of web sites and
other business application components as a single entity.
To add a service, do the following:
1. Choose Actions: Add -> Service from the management user
interface, The Add Service Configuration Description dialog
box appears.
Chapter 345
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-5Add Service Configuration Description Dialog Box
2. Enter the service name in the Add Service Configuration dialog
box. A service name can be anything that is meaningful to you as an
administrator of WebQoS. For example, a service name could be
“BigCompany.” The “BigCompany” service might contain sites such
as: www.BigCompanyStore.com, www.BigCompanySupport.com and
www.BigCompanyHR.com. You can use spaces in the name. (To
configure the sites of a service, see “Adding a Site” on page 60.)
You can view the service you configured by selecting Services from
the Systems/Services pull down in the main management user
interface view.
NOTEIf you select a service and choose File: Delete all the configurations for
sites in that service are also deleted. Any system configuration for
that service will remain.
3. If you wish the WebQoS SCO to generate aggregate service statistics
Chapter 346
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
logging, or configure service level objectives, go to the next sections.
Otherwise click [OK].
To Configure Service Statistics Logging
By default, service statistics logging is disabled.
If you enable Service Statistics Logging in the management user
interface, WebQoS will log statistics to a service statistics log file in
/var/opt/webqos/logs for each of the enabled services. The statistics
file is created daily until you disable Service Statistics Logging in the
management user interface. The file name is <
service name is the one entered in the management user interface. At
midnight, the file is moved to <
You can specify the interval at which the SCO generates the service
statistics by editing the SCOLogInterval parameter in the
/etc/opt/webqos/qos.conf file. The minimum value is 5 minutes; the
maximum value is 30 minutes. The default value is 5 minutes. For more
information on the SCOLogInterval parameter, see “Modifying WebQoS
Global Configuration” on page 27.
To enable service statistics logging, do the following:
servicename
servicename
>.stat.<
previousdate
>.stat. The
>.
1. From the Add Service Configuration window, select the
Statistics tab.
Chapter 347
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-6Add Service Configuration Statistics Dialog Box
2. Click on the Check to enable service logging box.
The following aggregate statistics are logged in the service statistics
log file:
Timestamp
Sessions
Admissions
Deferrals
Redirections
Rejections
Compliances (Number of sites in compliance)
At Risk (Number of sites at risk)
Violation (Number of sites in violation)
Other (Number of sites in states other than compliance, at risk, or violation)
Response High
Response Medium
Response Low
Admissions High
Admissions Medium
Admissions Low
Deferrals High
Deferrals Medium
Deferrals Low
Chapter 348
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Redirections High
Redirections Medium
Redirections Low
Rejections High
Rejections Medium
Rejections Low
Deferred Outstanding High
Deferred Outstanding Medium
Deferred Outstanding Low
Deferral Time Average High
Deferral Time Average Medium
Deferral Time Average Low
Deferral Time Current High
Deferral Time Current Medium
Deferral Time Current Low
3. If you wish to configure a Service Level Agreement for the service, go
to the next section. Otherwise click [OK].
To Configure Service Level Objectives for the Service
A service level objective (SLO) specifies the level of service that you
expect to provide. WebQoS monitors compliance and takes corrective
actions if you have specified them. SLOs put limits on the total number
of sessions that have not expired and are possibly active for all the sites
in the service. If you have configured the SLO, the results are displayed
by selecting the Service in the main Management Interface Window and
clicking on the Statistics icon in the task bar.For more information on
viewing statistics, see “Displaying Service Performance Statistics” on
page 107.
To add the SLO for the service, do the following:
1. From the Add Service Configuration window select the SLOs tab
(Figure 3-7, "Add a Service Configuration SLO Dialog Box").
Or, if you are adding the SLO to an existing service, select the service
in the Services/Systems pulldown menu and choose the Edit task
icon button.
Chapter 349
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-7Add a Service Configuration SLO Dialog Box
2. Add the service level objective by choosing the [Add] button (Figure
3-8, "Add Service Level Objectives Dialog Box").
Chapter 350
Configuring WebQoS from the Management User Interface
Figure 3-8Add Service Level Objectives Dialog Box
Configuring HP WebQoS
3. Fora service, WebQoS offers the SLO Support at most <NUMBER>
concurrent sessions. This SLO lets you support a specific
NUMBER of concurrent sessions for the service. Concurrent sessions
means the total number of sessions that have not expired and are
possibly active.
4. Enter an appropriate number in the Number input box. 5 is the
default.
5. Enter the appropriate SLO Priority. The SLOs are prioritized in
ascending order, with priority 1 having the highest priority. The SLO
priority determines which SLO will have its corrective actions taken.
Only one SLO at a time may have corrective actions in force. The SLO
with the highest priority is the one with corrective actions in force,
and currently in violation. If there are two SLOs with the same
priority and both are in violation, the one which became violated first
is the one with corrective actions in force (unless there is an SLO with
higher priority that is also in violation.)
6. If you wish to add corrective actions for when the SLO is violated, go
to the next section “To Specify Service-Wide Corrective Actions for
Chapter 351
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
SLOs”. Otherwise click [OK].
To Specify Service-Wide Corrective Actions for SLOs
Corrective actions are those actions taken to bring an SLO into
compliance. Corrective actions may involve making trade-offs between
requests belonging to different Request Classes, or making trade-offs
between requests going to different sites or services running on the same
system. You can add, edit or delete corrective actions by selecting the
appropriate button.
1. Tospecify corrective actions when the aggregate session count SLO is
violated, choose [Add] in the Add Service Level Objectives dialog
box (Figure 3-8, "Add Service Level Objectives Dialog Box").
Figure 3-9Add Corrective Actions Dialog Box
2. In the Add Corrective actions dialog box (Figure 3-9, "Add
Corrective Actions Dialog Box") select the type of corrective action
from the If Violated pull down menu.
For specific information on the corrective actions supported by
WebQoS, and descriptions of Number and Class parameters, see
“Corrective Actions for SLO and Threshold Policy Violations” on
page 161.
3. Enter the appropriate Number if applicable. Number is the number of
times a session is redirected for the specified request class.
4. Select the Class from the pull down menu.
5. Enter a number for the Order in Corrective Actions list. This
number determines the order in which the corrective actions are
taken. Each corrective action is configured for a specific class. If more
than one action is configured for a certain class, the action with the
Chapter 352
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
highest priority occurs first. Priority is based on the order assigned to
the action, with order 1 having the highest priority.
For example, a set of corrective actions can be:
Order 1: Redirect low class sessions 3 times
Order 2: Reject low class sessions
A low class session is redirected up to three times. If a session has
been redirected three times, it is rejected.
It is recommended that the reject action be configured as the last
action (lowest priority) for the class.
You can change the order of the corrective actions by moving their
order using the [Move Up] and [Move Down] buttons in the AddService Level Objectives dialog box.
6. Click [OK].
Modifying Service-Wide Corrective Actions
Once you have configured corrective actions for SLO violations, you may
want to defer, redirect, or reject corrective actions. Follow the steps in the
sections below.
Deferring Service-Wide Corrective Actions To defer a corrective
action for an SLO violation, do the following:
1. From the management user interface, select Actions> Edit>Service.
2. Select the Advanced tab from the Add Service ConfigurationAdvanced dialog box (Figure 3-10, "Edit Service Configuration Dialog
Box").
Chapter 353
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-10Edit Service Configuration Dialog Box
3. Select Corrective Action Policy Details... from the Add
Service Configuration Advanced dialog box.
Chapter 354
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
4. In the Corrective Action Defer dialog box (Figure 3-11, "Service
Corrective Action Configuration Defer Dialog Box") enter the
following information:
a. Enter the minimum wait in seconds for each defer period in the
Minimum Wait (in secs): input box. The default is 10
seconds.
b. Enter the maximum wait in seconds for each defer period in the
Maximum Wait (in secs): input box. The default is 120
seconds. Make sure the maximum wait number you enter is larger
than the minimum wait number. The maximum number must be
less than 3,600 (1 hour).
c. Enter the maximum number of times that a corrective action is
deferred in the Maximum Times to Defer: input box. The
default is 1.
Chapter 355
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
d. If you want to guarantee entry after the initial defer, accept the
default in the Automatically Enter box. If not, click on the
toggle to remove the checkmark.
e. You can choose to send either a Defer Message (the default), or
you can choose to send the request to a URL.
• If you choose a URL, click on the toggle in the Is URL box,
delete the default text in the Defer Message box, and enter
the URL, for example: http://www.Bigcompany.com. Make
sure the URL is to a different site.
• If you choose to use the Defer Message, you can use the
default Defer Message, or edit the text as appropriate for your
situation.
5. When you have entered all your information, choose [OK] in the
Service Corrective Action Configuration Defer dialog
box.
Redirecting Service-Wide Corrective Actions To redirect a
corrective action for an SLO violation, do the following:
1. From the management user interface, select Actions> Edit>Service.
2. Select the Advanced tab from the Add Service ConfigurationAdvanced dialog box (Figure 3-10, "Edit Service Configuration Dialog
Box").
3. Select Corrective Action Policy Details... from the AddService Configuration Advanced dialog box.
4. Choose Redirect from the Corrective Action Configuration
dialog.
Chapter 356
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. You can choose to enable or disable Service-wide redirection
corrective actions in the Corrective Action ConfigurationRedirect dialog box (Figure 3-12, "Service Corrective Action
Configuration Redirect Dialog Box"). The default is disable. This
redirection configuration applies to all redirection corrective actions
for the Service. If the redirection is disabled, the redirection
corrective actions are ignored. This is only applicable if you choose
the Redirect sessions up to NUMBER times for CLASSpriority request corrective action, otherwise it is ignored. The
redirection information is stored so that you can enable the
redirection any time.
To enable service-wide redirection corrective actions, choose the
Enable Redirection toggle in the Service Corrective Action
Configuration Redirect dialog box.
You must enter either the URL of the website (for example,
Chapter 357
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
http://www.Bigcompany.com), or the cluster domain to redirect to
(for example, city.company.com). If both are filled in, WebQoS uses
the cluster domain information first.
If you choose URL of website to redirect to this is the top level
URL of the website.
If you choose Cluster Domain to redirect to, requests are
forwarded to one of the servers also running WebQoS on that domain.
If no cluster domain is configured, or if requests cannot be forwarded
to the cluster domain, they are forwarded to the website URL.
WebQoS can dynamically detect other servers and their availability
on the cluster domain.
6. When you have entered all your information choose [OK] in the
Service Corrective Action Redirect dialog box.
Rejecting Service-Wide Corrective Actions To reject a corrective
action for an SLO violation, do the following:
1. From the management user interface, select Actions> Edit>Service.
2. Select the Advanced tab from the Add Service ConfigurationAdvanced dialog box (Figure 3-10, "Edit Service Configuration Dialog
Box").
3. Select Service-Wide Corrective Actions... from the AddService Configuration Advanced dialog box.
4. Choose the Reject tab from the Service Corrective ActionConfiguration dialog.
Chapter 358
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. From the Corrective Action Configuration Reject dialog box
(Figure 3-13, "Service Corrective Action Configuration Reject Dialog
Box") you can choose to send either a reject message (the default), or
specify an HTML file name.
If you choose to use a reject message, you can use the default reject
message or edit the text as appropriate for your situation.
If you choose an HTML file name, click on the toggle in the Reject
message is an HTML file name box, delete the default text in the
Reject Message box, and enter a fully qualified file name (for
example: /opt/docs/reject.html).
6. When you have entered all your information choose [OK].
Chapter 359
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Adding a Site
Before adding a site you must configure the site’s system and service(s)
(See “Adding a System” on page 44 and “Adding a Service” on page 45).
A site entry contains the WebQoS configuration for a web server
instance. The web server does not have to be running in order for you to
configure WebQoS. However,it would be helpful if you complete your web
server configuration before configuring the site in WebQoS. You need to
know the web server's port number to configure WebQoS.
When you add a site to WebQoS, you do the following:
• Identify the site.
• Connect it logically to a service so you can look at all components
belonging to that service when needed.
• Identify the web server(s) for the site.
You can then edit a site to do the following:
• Prioritize user requests to the site with request classifications.
• Define the response time and capacity objectives for the site.
• Define site thresholds for capacity protection.
• Define the priority of the SLOs and thresholds with respect to each
other.
NOTEIf you copy a web site across two or more servers, you need to add a site
entry for each server on which the web site resides. You can use the
[Copy] button in the management user interface to copy the site
configuration information and simply specify a new system name.
Chapter 360
Configuring WebQoS from the Management User Interface
To Identify the Site
1. From the management user interface, choose Actions: Add ->
Site. The Add Site Configuration Description dialog box
appears (Figure 3-14, "Add Site Configuration Description Dialog
Box").
Figure 3-14Add Site Configuration Description Dialog Box
Configuring HP WebQoS
2. Enter a site name in the Site Name input box. The site name is
required. Choose a site name that is easy to remember. It does not
have to match any other configured names.
3. Select the Site Type from the pulldown menu.
4. To associate a site with a service, select the service name from the
Service Name pulldown box. Selecting the service name is required.
The service name must have been configured previously using
Actions: Add -> Service from the management user interface.
To Identify the Web Server for the Site
1. To identify the web server for the site, select the Web Server tab
(Figure 3-15, "Add Site Configuration Web Server Dialog Box") and
select the system name in the System Name pulldown box. This
Chapter 361
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
must be the name of the system on which the web server is running.
The system has been previously configured using Actions: Add ->System from the management user interface.
Figure 3-15Add Site Configuration Web Server Dialog Box
2. Enter the appropriate IP address in the IP Address input box if your
web server is bound to an IP address. ANY is the default.
To find out if your web server is bound to an IP address,
• for the iPlanet Web Server, look in the
server_root
/https-
server_identifier
/config/magnus.conf
file for the Address field. If there is an Address entry, specify the
associated IP address in the IP Address input box.
• for the Zeus web server, look in the
$ZEUSHOME/webadmin/config/sites/
virtual_server
file
for the bindaddr field. If there is a bindaddr entry, specify the
associated IP address in the IP Address input box.
3. Enter the port number of the web server in the Port Number input
box. The port number is the number that is configured in the web
server configuration files for the web server hosting the site. A site on
one system can use the same port number as another site on that
system, as long as the IP addresses are different. The port number is
required; the default is set to 80.
Chapter 362
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
4. Choose [OK] in the Add Site Configuration dialog box.
5. If you wish to configure other options for the site such as classification
rules, service level objectives, or threshold policies, go to the next
section, “Prioritizing Requests to the Site”.
Prioritizing Requests to the Site
To prioritize requests to the site, you add request classification rules
which affect how quickly the request is processed, as well as if the
request is processed at all. Adding request classification rules is optional.
1. In the main WebQoS window, select the site whose configuration you
want to edit from the Services/Systems view.
2. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
3. Select the Classification Rules tab (Figure 3-16, "Edit Site
Configuration Classification Rules Dialog Box").
Figure 3-16Edit Site Configuration Classification Rules Dialog Box
4. Add a Classification Rule by choosing the [Add] button.
Chapter 363
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. Select the appropriate Classification Type from the pull down
menu in the Add Request Classification Rules dialog box
(Figure 3-17, "Add Request Classifications Rules Dialog Box"). For a
description of request classification rules, see “Request Classification
Rules” on page 156.
6. Depending on which Classification Type you selected, enter the
appropriate information in the Path, Address, Name, or PortNumber field:
• Address is the IP address from which the site is being accessed or
the IP address used to access the site.
• Port Number is the number of the port used by the session to
access the site. A port number is any integral from 1 to 65535.
• Path is the URL Document Path. This is the directory path and
filename of the URL used to access the site. Forexample, given the
URL
http://some_system.domain.com/my_path/index.html,
the URL document path is /my_path/index.html. The leading
backslash is optional for the case of a wildcard URL document
path, but it is required for the non-wildcard case. For further
information on wild card usage, see the online help for adding
classification rules.
• Name is the virtual server name or alias for the site.
7. If necessary, select the Class from the pull down menu. Class assigns
a session or request to the selected request class. The level of service
for each request class is defined in the SLOs. Some classification rules
do not require a value to be entered.
Chapter 364
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
8. Choose [OK]in the Add Request Classification Rules dialog box.
9. To add more request classification rules, repeat the previous steps.
Or, to configure service level objectives for the site, go to the next
section “Setting Site Service Level Objectives”.
10.To apply your configuration, when you have completed configuring
your site, select [OK] in the Edit Site Configuration dialog box.
Setting Site Service Level Objectives
Service level objectives (SLOs) are business oriented policies that set
limits on maximum response time delays and state minimum concurrent
session capacity. WebQoS monitors the objectives. When they are not
met, WebQoS uses the corrective actions and relative priorities you have
specified in order to meet the highest priority SLOs. Follow the
instructions below.
1. In the main WebQoS window, select the site whose configuration you
want to edit from the Services/Systems view.
2. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
3. Select the SLOs tab from the Add Site Configuration dialog box
(Figure 3-18, "Add Site Configuration SLOs Dialog Box").
Chapter 365
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-18Add Site Configuration SLOs Dialog Box
4. Add a service level objective by choosing the [Add]button in the Add
Site Configuration SLOs Dialog Box.
Chapter 366
Configuring WebQoS from the Management User Interface
Figure 3-19Add Service Level Objectives Dialog Box
Configuring HP WebQoS
a. Select the SLO Type from the pull down menu in the Add Service
Level Objectives dialog box (Figure 3-19, "Add Service Level
Objectives Dialog Box"). For specific information on the SLOs
supported by WebQoS and descriptions of Instance and Class
parameters, see “Service Level Objectives for Site” on page 158.
b. Enter an appropriate number (based on the SLO type) in the
Number input box.
c. Select the Class from the pull down menu if appropriate.
d. Enter the appropriate SLO Priority. The SLO priority defines
the relative priority across SLOs and thresholds to be maintained
for the site. WebQoS performs the corrective actions that are
defined for the highest priority SLO or threshold violated before
taking other corrective actions. When multiple SLOs and
thresholds are violated, the corrective action with the highest
priority is taken. The SLOs are prioritized in ascending order
(from lowest to highest) meaning a priority 1 SLO is higher in
Chapter 367
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
priority than a priority 2 SLO.
e. Add corrective actions if desired by following the instructions in
the sections that follow. Otherwise choose [OK].
To Specify Corrective Actions for Site SLOs
Corrective actions are those actions taken to bring an SLO into
compliance. Corrective actions may involve making trade-offs between
requests belonging to different Request Classes, or making trade-offs
between requests going to different sites or services running on the same
system. You can add, edit or delete corrective actions by selecting the
appropriate button.
1. If you would like WebQoS to perform corrective actions when an SLO
is violated, choose [Add] in the Add Service Level Objectives
dialog box (Figure 3-19, "Add Service Level Objectives Dialog Box").
Figure 3-20Add Corrective Actions Dialog Box
2. In the Add Corrective actions dialog box (Figure 3-20, "Add
Corrective Actions Dialog Box"), select the type of corrective action
from the If Violated pull down menu.
For specific information on the corrective actions supported by
WebQoS, and descriptions of Number and Class parameters, see
“Corrective Actions for SLO and Threshold Policy Violations” on
page 161.
3. Enter the appropriate Number if applicable. Number is the number of
times a session is redirected for the specified request class.
4. Select the Class from the pull down menu.
Chapter 368
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. Enter a number for the Order in Corrective Actions list. This
number determines the order in which the corrective actions are
taken. Each corrective action is configured for a specific class. If more
than one action is configured for a certain class, the action with the
highest priority occurs first. Priority is based on the order assigned to
the action, with order 1 having the highest priority.
For example, a set of corrective actions can be:
Order 1: Redirect low class sessions 3 times
Order 2: Reject low class sessions
A low class session is redirected up to three times. If a session has
been redirected three times, it is rejected.
It is recommended that the reject action be configured as the last
action (lowest priority) for the class.
You can change the order of the corrective actions by moving their
order using the [Move Up] and [Move Down] buttons in the AddService Level Objectives dialog box.
Adding Site Threshold Policies
Threshold policies are a category of SLOs. They provide capacity
protection for your system and site. Both threshold policies and SLOs are
displayed in the service level objectives view on the management user
interface.
1. In the main WebQoS window, select the site whose configuration you
want to edit from the Services/Systems view.
2. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
Chapter 369
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-21Edit Site Configuration Threshold Policies Dialog Box
3. Select the Threshold Policies tab from the Add Site
Configuration dialog box (Figure 3-21, "Edit Site Configuration
Threshold Policies Dialog Box").
4. Add a threshold by choosing the [Add]button.
Chapter 370
Configuring WebQoS from the Management User Interface
Figure 3-22Add Thresholds Dialog Box
Configuring HP WebQoS
a. In the Add Thresholds dialog box (Figure 3-22, "Add Thresholds
Dialog Box"), select the Threshold type from the pull down menu.
For specific information on the threshold policies supported by
WebQoS, see “Threshold Policies” on page 159.
b. Enter an appropriate percent in the Percent input box.
c. Select the Class from the pull down menu, if applicable.
d. Enter the appropriate Threshold Priority. The threshold
priority defines the order in which the thresholds are checked. The
order is compared to both threshold policies and SLO priorities.
The thresholds are prioritized in ascending order (from lowest to
highest) meaning a priority 1 threshold or SLO is higher in
priority than a priority 2 threshold or SLO.
When multiple thresholds and SLOs are violated, the corrective
action with the highest priority is taken. The highest priority
starts at one.
Chapter 371
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. Toadd corrective actions for threshold policies, go to the next section.
Otherwise choose [OK].
To Specify Corrective Actions for Threshold Policies
Corrective actions are those actions taken to bring a threshold policy into
compliance. Corrective actions may involve making trade-offs between
requests belonging to different classifications, or making trade-offs
between requests going to different sites or services running on the same
system. You can add, edit or delete corrective actions by selecting the
appropriate button.
1. If you would like WebQoS to perform corrective actions when a
threshold policy is violated, choose Add in the Add Threshold dialog
box (see Figure 3-22, "Add Thresholds Dialog Box").
Figure 3-23Add Corrective Actions Dialog Box
2. In the Add Corrective Actions dialog box (Figure 3-23, "Add
Corrective Actions Dialog Box"), select the type of corrective action
from the If Violated pull down menu.
For specific information on the corrective actions supported by
WebQoS, and descriptions of Number and Class parameters, see
“Corrective Actions for SLO and Threshold Policy Violations” on
page 161.
3. Enter the appropriate Number if applicable. Number is the number of
times a session is redirected for the specified class.
4. Select the Class from the pull down menu.
Chapter 372
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
5. Enter a number for the Order in Corrective Actions list. This
number determines the order in which the corrective actions are
taken. Each corrective action is configured for a specific class. If more
than one action is configured for a certain class, the action with the
highest priority occurs first. Priority is based on the order assigned to
the action, with order 1 having the highest priority.
For example, a set of corrective actions can be:
Order 1: Redirect low class sessions 3 times
Order 2: Reject low class sessions
A low class session is redirected up to three times. If a session has
been redirected three times, it is rejected.
It is recommended that the reject action be configured as the last
action (lowest priority) for the class.
You can change the order of the corrective actions by moving their
order using the [Move Up] and [Move Down] buttons in the AddService Level Objectives dialog box.
6. To apply your configuration, select [OK] in the Add CorrectiveActions dialog box.
Configuring Advanced Features for the Site
Configuring the advanced features is optional, since defaults are
supplied.
1. In the main WebQoS window, select the site whose configuration you
want to edit from the Services/Systems view.
2. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
3. Select the Advanced tab from the Edit Site ConfigurationAdvanced dialog box (Figure 3-24, "Edit Site Configuration Advanced
Dialog Box").
Chapter 373
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Figure 3-24Edit Site Configuration Advanced Dialog Box
4. Select the feature that you want to configure. Advanced features are
described in the following sections.
Modifying Session Timeouts
A session consists of all requests from a user within a certain time frame.
Once a user has been granted a session, all requests from that user are
forwarded to the web server, even when new sessions are no longer being
accepted due to an SLO or threshold violation. If the session timeouts are
exceeded, the current session ends and WebQoS starts a new session
unless prevented by a corrective action. There are two types of session
timeouts:
• The request interval timeout has a default setting of 15 minutes. The
minimum value is 10 seconds. The maximum value is 60 minutes. If
the time between requests exceeds the request interval, the session
ends and WebQoS starts a new session unless prevented by a
corrective action.
If you have enabled URL encoding and configured the BroadVision
system and user names in the /etc/opt/webqos/qos.conf file, you
cannot configure this session timeout.
• The session duration timeout has a default setting of 2 hours. The
Chapter 374
Configuring WebQoS from the Management User Interface
minimum value is 10 seconds. The maximum value is 100 hours. If a
session continues longer than the session duration, the session ends
and WebQoS starts a new session unless prevented by a corrective
action.
If both timeouts are set, the current session ends if either timeouts are
exceeded and WebQoS starts a new session unless prevented by a
corrective action.
To change the session timeouts, do the following:
1. Select Session Timeouts ... in the Edit Site ConfigurationAdvanced dialog box (Figure 3-24, "Edit Site Configuration Advanced
Dialog Box").
2. In the Site Advanced Session Timeouts dialog box, you can
modify the “Session Timeouts” by clicking the hours, minutes or
seconds number and changing it.
3. You can turn off either one of the Session Timeouts but not both. One
Session Timeout must always be enabled. Both can be enabled
simultaneously.
4. When you have completed your changes, choose [OK].
Assigning Web Server Request Queues
WebQoS assigns requests to queues based on the classification of each
request. Each request class (high, medium and low) has a separate
Request Queue. Depending on the Scheduling Policy selected, requests
are removed from the queues in the order specified and submitted to the
web server. The selected policy affects the response times based on the
priority of their requests.
Chapter 375
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
To assign requests to queues, do the following:
1. Select Web Server Request Queues... from the Edit SiteConfiguration Advanced dialog box.
Figure 3-26Site Advanced Web Server Queue Management Dialog Box
2. In the Site Advanced Web Server Queue Management dialog box
(Figure 3-26, "Site Advanced Web Server Queue Management Dialog
Box"), you can modify the Scheduling Policy by selecting the
appropriate policy from the pull down menu.
The scheduling policies supported by WebQoS are:
• Weighted Fairshare - Process entries from the queue based on the
weight assigned to the queue. The higher the weight, the higher
the priority of the entry. Default weights are: high priority = 6,
medium priority = 3, low priority = 1.
Forexample, if a weight of 6 is assigned to the high priority queue,
3 to the medium, and 1 to the low, then six entries are processed in
the high priority queue for every three entries processed in the
medium priority queue and every one entry processed in the low
priority queue.
• Strict Priority Order - Process all requests in the high priority
queue first, process all requests in the medium priority queue
next, and finally process all requests in the low priority queue.
• Fairshare - Process one request from each queue: one from the
high priority queue, one from the medium priority queue, and one
from the low priority queue. Then begin again. No priorities are
Chapter 376
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
assigned.
3. Tomodify the maximum queue size allowed in the queue, double-click
Queue Size and enter new values. The minimum number of queue
requests is 10. The maximum number you set depends on the file
descriptor limit of your system, but it cannot exceed 2,400. Each
request in the queue takes up one file descriptor. To save the new
parameters press [Enter].
Increasing these values can greatly affect the performance of WebQoS.
4. If you selected the Weighted Fairshare policy, you can modify the
Weight. The weight determines how many requests in a given queue
are processed in relation to the number of requests in another queue.
The higher the weight, the higher the priority. The maximum weight
is 100. The default values are: High 6, Medium 3, Low 1. To save the
new parameters press [Enter].
5. When you have completed your changes choose [OK].
Modifying Web Server Accept Threads
WebQoS web server accept threads are those WebQoS threads that
accept incoming connections. The number of WebQoS accept threads
affects the speed at which WebQoScan process requests and queue these
up for the web server.More accept threads could mean faster processing,
but might also increase the load on your system.
To modify accept threads, do the following:
1. Select Web Server Accept Threads... from the Edit SiteConfiguration Advanced dialog box.
2. In the Site Advanced Accept Threads dialog box (Figure 3-27, "Site
Advanced Accept Threads Dialog Box"), modify the Number of Web
Chapter 377
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Server Accept Threads by changing the number and selecting
[OK]. The default is 5.
3. Choose [OK] to apply your change.
The web server must be restarted if the accept threads value is changed.
The value must be greater than zero.
Specifying Site-Wide Corrective Actions
Once you have configured corrective actions for SLO violations, you may
at times want to defer, redirect, or reject corrective actions. Follow the
steps in the sections below.
To Defer Site-Wide Corrective Actions
1. Select Corrective Action Policy Details... from the Edit
Site Configuration Advanced dialog box.
Configuring WebQoS from the Management User Interface
2. In the Site Corrective Action Defer dialog box (Figure 3-28,
"Site Corrective Action Configuration Defer Dialog Box"), enter the
following information:
a. Enter the minimum wait in seconds for each defer period in the
Minimum Wait (in secs): input box. The default is 10
seconds.
b. Enter the maximum wait in seconds for each defer period in the
Maximum Wait (in secs): input box. The default is 120
seconds. Make sure the maximum wait number you enter is larger
than the minimum wait number. The maximum number must be
less than 3,600 (1 hour).
c. Enter the maximum number of times that a corrective action is
deferred in the Maximum Times to Defer: input box. The
default is 1.
d. If you want to guarantee entry after the initial defer, accept the
default in the Automatically Enter box. If not, click on the
toggle to remove the checkmark.
e. You can choose to send either a Defer Message (the default), or
you can choose to send the request to a URL.
• If you choose to use the Defer Message, you can use the
default message which appears in the Defer Message box.
You can edit the text as appropriate for your situation.
• If you choose a URL, click on the toggle in the Is URL box,
delete the default text in the Defer Message box, and enter
the URL, for example: http://www.Bigcompany.com. Make
sure the URL is to a different site.
A default defer page is provided with the WebQoS product. You
can also create your own defer page. For more information
about customizing a defer page, see “Creating a Defer Web
Page” on page 162.
3. Whenyou have entered allyour information, choose [OK] in the SiteCorrective Action Configuration Defer dialog box.
To Redirect Site-Wide Corrective Actions
1. Select Corrective Action Policy Details... from the Edit
Site Configuration Advanced dialog box.
Chapter 379
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
2. Choose the Redirect tab from the Site Corrective Action
Configuration dialog.
3. You can choose to enable or disable site-wide redirection corrective
actions in the Site Corrective Action Configuration Redirect
dialog box (Figure 3-29, "Site Corrective Action Configuration
Redirect Dialog Box"). The default is disable. This redirection
configuration applies to all redirection corrective actions for the site.
If the redirection is disabled, the redirection corrective actions are
ignored. This is only applicable if you choose the Redirect sessionsup to NUMBER times for CLASS priority request corrective
action, otherwise it is ignored. The redirection information is stored
so that you can enable the redirection any time.
To enable site-wide redirection corrective actions, choose the Enable
Redirection toggle in the Site Corrective Action
Configuration Redirect dialog box (Figure 3-29, "Site
Chapter 380
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
Corrective Action Configuration Redirect Dialog Box").
If you redirect to a website, enter the URL of a document root or
hostname that has the exact contents of the web server you are
configuring (for example, enter the document root or hostname of a
mirror site).
If you are configuring your web server http://www.BigCompany.com
to redirect to http://www.LargeCompany.com, then the contents and
URL paths must match between the two. For example, if a request to
the URL http://www.BigCompany.com/cgi-bin/default.asp is
redirected, then the request is redirected to
http://www.LargeCompany.com/cgi-bin/default.asp.
If you redirect to a cluster,enter the cluster domain name. This name
distinguishes different groups of systems on the same subnet. For
example, if systems A and B are on the same subnet and have the
cluster name CompanyOne, then systems A and B can redirect to each
other.
4. When you have entered all your information choose [OK] in the SiteCorrective Action Redirect dialog box.
To Reject Site-Wide Corrective Actions
1. Select Corrective Action Policy Details... from the Edit
Site Configuration Advanced dialog box.
2. Choose the Reject tab from the Site Corrective Action
Configuration dialog.
Chapter 381
Configuring HP WebQoS
Configuring WebQoS from the Management User Interface
3. From the Site Corrective Action Configuration Reject
dialog box (Figure 3-30, "Site Corrective Action Configuration Reject
Dialog Box"), you can choose to send either a reject message (the
default), or specify an HTML file name.
• If you choose to send a reject message, you can use the default
reject message or edit the text as appropriate for your situation.
• If you choose an HTML file name, click on the toggle in the
Reject message is an HTML file name box, delete the
default text in the Reject Message box, and enter a fully
qualified file name (for example: /opt/docs/reject.html).
4. When you have entered all your information choose [OK].
Enabling Site Statistics Logging
If you enable site statistics logging, the WebQoS SCA creates a site
Chapter 382
Configuring WebQoS from the Management User Interface
statistics log file in /var/opt/webqos/logs for each of the enabled sites.
The statistics file is created daily until you disable site statistics logging
in the management user interface. The file name is <sitename>.stat. The
site name is the one entered in the management user interface. At
midnight, the file is moved to <sitename>.stat.<previousdate>
The SCA writes new statistics to the log file every 15 seconds (the
default) for each of the enabled sites. Because the SCA logging interval is
the same as the measurement interval, there are no minimum and
maximum values. Youcan specify the interval at which the statistics are
generated by editing the MeasurementInterval parameter in the
/etc/opt/webqos/qos.conf file. For more information on WebQos
tunable parameters, see “Modifying WebQoS Global Configuration”.
To enable site statistics logging, follow these steps:
1. Select Enable/Disable Site Statistics Logging from the
Edit Site Configuration Advanced dialog box.
Figure 3-31Site Statistics Logging Dialog Box
Configuring HP WebQoS
2. Click in the box Check to enable site logging and Click [OK].
The following statistics are logged in the site statistics file.
Timestamp
Response High
Response Medium
Response Low
Admissions High
Admissions Medium
Admissions Low
Deferrals High
Deferrals Medium
Deferrals Low
Redirections High
Redirections Medium
Chapter 383
Configuring HP WebQoS
Verifying Your Configuration
Redirections Low
Rejections High
Rejections Medium
Rejections Low
Deferred Outstanding High
Deferred Outstanding Low
Deferred Outstanding Medium
Deferral Time Average High
Deferral Time Average Medium
Deferral Time Average Low
Deferral Time Current High
Deferral Time Current Medium
Deferral Time Current Low
Verifying Your Configuration
You can monitor your service, system, site, SLO, and threshold status
information from the management user interface to determine if your
configuration needs adjustment. There are two views, the SLO view and
the history log view to help you monitor your status. See “Understanding
the Service Level Objectives View” on page 94 and “Understanding the
History Log View” on page 96 for more information.
Chapter 384
4Using HP WebQoS
After initially configuring WebQoS, you can edit, copy and delete current
configurations, monitor and filter service level objectives (SLOs) and the
History log, and view system and site statistics on a system as needed.
Chapter 485
Using HP WebQoS
Navigating the Services/Systems View
Navigating the Services/Systems View
The Services/Systems view (Figure 3-3, The Management User Interface
View) shows the services, systems and sites configured in WebQoS. A
WebQoS domain is a set of sites residing on one or more systems. Sites
can also be grouped logically in services so that you can easily manage
all the sites in that service.
By selecting the appropriate service, system, or site, you can determine
which services, systems, and sites are meeting their SLO and threshold
objectives.
You can navigate in this view by using the following navigation symbols:
House — if selected it displays everything in your domain.
Magnifying glass — click on the magnifying glass symbol to expand
your view. Click on the magnifying glass at the service level (briefcase
icon) and the systems (monitor icon) configured for that service are
displayed. Click on the magnifying glass at the system level and all
the sites for configured for that system under that service are
displayed.
Briefcase — displays a service.
Monitor — displays a system name.
Globe — displays a site name.
Diamond — color coded to let you see which services, systems and
sites are meeting their objectives. For a description of the color codes,
see the section, “Understanding the Service Level Objectives View” on
page 94.
If you select Systems from the Services/Systems pull down list, the only
difference is that the System (monitor icon) is displayed first, and
clicking on the magnifying glass symbol displays the service (briefcase
icon).
Chapter 486
Using HP WebQoS
Editing a System Configuration
Editing a System Configuration
While you can delete a system from a WebQoS configuration, you cannot
change the name of an already-configured system. You can only edit a
site configuration.
Editing a Site Configuration
In a site configuration, you can only edit services, request classification
rules, SLOs, threshold policies, and advanced entries. You cannot edit
the site description or web server entries.
To Edit the Site Type and Service Name
1. Select Services from the Services/Systems pull down list.
2. Select the site whose configuration you want to edit in the
Services/systems view.
3. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
4. Select the Description tab.
5. Select the Site Type and Service Name if desired from the pulldown
lists. You cannot change the site name.
To Edit the Site’s Request Classification Rules
1. Select Services from the Services/Systems pull down list.
2. Select the site whose configuration you want to edit in the
Services/systems view.
3. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
4. Select the Classification Rules tab.
5. Add, edit, or delete Classification Rules for your selected site.
Chapter 487
Using HP WebQoS
Editing a Site Configuration
If you want to replace the old rule for the site, you have to delete the
old rule and add a new one.
NOTEIf you choose to edit your configuration to include Enable network QoS
you must edit /etc/opt/webqos/net_tos.conf to your desired settings
and restart your web server.
For specific information on Request Classification rules supported by
WebQoS, see “Request Classification Rules” on page 156.
To Edit the Site’s SLOs
You can add new SLOs, or edit or delete the current SLOs for your
selected site. Forspecific information on the SLOs supported by WebQoS,
see “Service Level Objectives for Site” on page 158.
1. Select Services from the Services/Systems pull down list.
2. Select the site whose configuration you want to edit in the
Services/systems view.
3. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
4. Select the SLOs tab.
5. Add an SLO, if desired. For specific details on how to add SLOs, see
“Setting Site Service Level Objectives” on page 65.
6. To edit an SLO:
a. Select the SLO that you want to edit on the Service Level
Objectives list.
b. Choose [Edit] if you want to edit the SLO. The Edit Service
Level Objectives dialog box displays.
c. Edit the SLO as desired.
If you want to replace an old SLO for the site, you have to delete
the old SLO and add a new one.
d. To edit a corrective action:
i. Forspecific details about how to add a corrective action, see “To
Specify Corrective Actions for Site SLOs” on page 68.
Chapter 488
Using HP WebQoS
Editing a Site Configuration
ii. To edit, delete, or rearrange the corrective actions list, select
the corrective action you want to edit, delete or move from the
list and choose [Edit], [Delete], or [Move Up] or [MoveDown] respectively.
To replace an old corrective action for the SLO, you have to delete
the old corrective action and add a new one.
For specific information on the corrective actions supported by
WebQoS, see “Corrective Actions for SLO and Threshold Policy
Violations” on page 161.
7. To delete an SLO:
a. Select the SLO that you want to delete on the Service Level
Objectives list.
b. Choose [Delete] to delete the SLO.
To Edit a Site’s Threshold Policies
You can add new thresholds, or edit or delete the current thresholds for
the selected site.
1. Select Services from the Services/Systems pull down list.
2. Select the site whose configuration you want to edit in the
Services/systems view.
3. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
4. Select the Threshold Policies tab.
5. Add a threshold, if desired. For specific details on how to add
thresholds, see “Adding Site Threshold Policies” on page 69. Choose
[OK].
6. To edit a threshold:
a. Select the threshold that you want to edit on the Thresholds list.
b. Choose [Edit] if you want to edit the threshold. The Edit
Thresholds dialog box displays.
c. Edit the threshold as desired.
To replace an old threshold for the site, you have to delete the old
threshold and add a new one.
Chapter 489
Using HP WebQoS
Editing a Site Configuration
d. To edit a corrective action:
i. For specific details about how to add a corrective action, see
“Adding Site Threshold Policies” on page 69.
ii. To edit, delete, or rearrange the corrective actions list, select
the corrective action you want to edit, delete or move from the
list and choose [Edit], [Delete], or [Move Up] or [MoveDown] respectively.
To replace an old corrective action for the threshold, you have
to delete the old corrective action and add a new one.
7. To delete a threshold:
a. Select the threshold that you want to delete on the Thresholds
list.
b. Choose [Delete] to delete the threshold.
To Edit Session Timeouts, Request Queues, Accept
Threads, and Corrective Actions
1. Select Services from the Services/Systems pull down list.
2. Select the site whose configuration you want to edit in the
Services/systems view.
3. Choose the Edit task icon button on the task bar or the Actions:Edit menu command.
4. Select the Advanced tab from the Edit Site Configuration dialog
box.
•Choose Session Timeouts..... In the Site Advanced Session
Timeouts dialog box, enable (check) or disable the session
timeouts. Set the timeout variables as desired. Choose [OK]. For
more information on session timeouts, see “Modifying Session
Timeouts” on page 74.
• Choose Web Server Request Queues.... In the Site
Advanced Web Server Queue Management dialog box, change
Scheduling Policy and Queue Configuration, if desired.
Choose [OK].For more information, see “Assigning Web Server
Request Queues” on page 75.
Chapter 490
Using HP WebQoS
Editing a Site Configuration
• Choose Web Server Accept Threads.... In the Site Advanced
Accept Threads dialog box, change Number of Web Server
Accept Threads, if desired. Choose [OK]. For more information,
see “Modifying Web Server Accept Threads” on page 77.
You must restart the web server for the new number of accept
threads to take effect.
• Choose Corrective Action Policy Details...In the Site
Corrective Action Configuration dialog box, modify the
Defer, Redirect, or Reject configurations. Choose [OK]. For
more information, see “Specifying Site-Wide Corrective Actions”
on page 78.
• Choose [Enable/Disable Site Statistics Logging...].
Enable (check) or disable site logging in the Enable/DisableStatistics Logging dialog box. Choose [OK].
To Apply Your Configuration Changes
When you have completed editing your site, choose [OK] in the Edit
Site Configuration dialog box to save the information. You do not
need to restart WebQoS or the web server unless you are told to do so.
NOTEIf you choose to edit your configuration to include Enable network QoS
you must edit /etc/opt/webqos/net_tos.conf to your desired settings
and re-start your web server.
Chapter 491
Using HP WebQoS
Copying a System or Site
Copying a System or Site
You can copy a system or site from your configuration to help you speed
up the configuration process.
1. Select Systems or Services from the Services/Systems pull down list.
From either list, select the system or site entry that you want to copy.
2. Choose the Copy task icon button from the task bar or the Actions:Copy menu command. Enter the new system or new site name in the
dialog box.
When you copy a site entry you need to change either the system name or
the port number to complete the copy. Each site must have a unique
system name and port number to identify it.
Chapter 492
Using HP WebQoS
Deleting a System, Service, or Site
Deleting a System, Service, or Site
When you no longer want WebQoS to manage a system's web server or
use a service as a logical grouping of sites, you can delete the system,
service, and associated sites from the WebQoS configuration.
CAUTIONWhen you delete a service or delete a system, WebQoS deletes all the
sites configured for that service or system.
Follow these steps to delete a selected system, service, or site.
1. Select Systems or Services from the Services/Systems pull down list.
From either list, select the configured system, service or site that you
want to delete.
2. Choose the Actions: Delete menu command. WebQos verifies that
you really want to delete the selected system, service or site. The
system, service or site will be deleted from your configuration and will
disappear from the Systems or Services view.
NOTEIf you choose to edit your configuration to delete Enable network QoS
you must edit /etc/opt/webqos/net_tos.conf to your desired settings
and re-start your web server.
Chapter 493
Using HP WebQoS
Monitoring SLOs and the History Log
Monitoring SLOs and the History Log
You can use the SLO and the history log views to do the following:
• Verify your WebQoS configuration
• Check that your topology and web server configuration meet
objectives
• Determine when objectives are not met so you can make changes to
your WebQoS configuration, topology, or web server configuration to
better meet the objectives
• Determine when objectives are being met so you and your customers
know that their requirements are being fulfilled
Understanding the Service Level Objectives View
The Service Level Objectives view (Figure 4-1, Service Level Objectives
View) displays the status of service level SLOs in the top part of the
window, and the status of site SLOs in the bottom part of the window.
You can rearrange the columns if you wish by clicking on the column title
and dragging it to its new position.
Figure 4-1Service Level Objectives View
Service SLO Status
Site SLO Status
Status Summary Bar
Chapter 494
Using HP WebQoS
Monitoring SLOs and the History Log
• Status column — Displays the color coded status associated with
SLOs and thresholds.
— Red: Violation. The SLO or threshold objective is in violation and
no corrective actions are being executed by WebQoS.
— Yellow: At risk. The SLO or threshold objective is in violation, but
WebQoS is executing a corrective action to try and bring it back
into compliance.
Only one SLO or threshold can be yellow on any given system, as
only one corrective action is executed at a time. If you select the
Services View, the SLO status for SLOs on several systems (if they
are configured) would be shown.
— Green: In compliance. The SLO or threshold objective is being
met.
— Blue: Inactive. The SLO is inactive; WebQoS is disabled.
— Aqua: Not connected. The SLO is not connected, meaning that the
SLO is not currently connected to the system, or that the system is
not connected to a web server.
The management user interface updates the status display every
30 seconds. An SLO can show a status of “not connected” if the
display has not yet been updated. Click on another site, service, or
system to get an updated status.
— Orange: Never connected. The SLO was never connected. When
you configure a site, the WebQoS configuration database and the
web server running that site are notified. If the web server is
off-line, the WebQoS Service Control Operator (SCO) tries to
contact the site later. In the mean time, the site status is defined
as “never connected.”
— Red: In error. The SLO or threshold is in error. This is most likely
a state for the site that is inherited by the SLOs. It usually means
the web server is not functioning properly. For example, the web
server is unable to start up or shut down completely.
NOTEIf there is a problem with the web server, for example if the web
server is unable to start or shut down completely, the SLOs inherit
this problem and the SLO status is represented with a blue, aqua,
orange, or red color code.
Chapter 495
Using HP WebQoS
Monitoring SLOs and the History Log
• Status summary bar — Displays the number of SLOs and thresholds
that are violated (red), in violation but with corrective actions being
taken (yellow), in compliance (green), inactive (blue), not connected
(aqua), never connected (orange), and in error (red). The status
summary bar is color coded with the same scheme as the status
column described above.
• Priority column — Displays the SLO or threshold priority, for
example 1, 2, 3, or 4. WebQoS performs corrective actions defined for
the highest priority SLO or threshold policy (1) that is currently
violated.
• Component column — Displays the site associated with the SLO or
threshold.
• Objective column — Displays a one line description of the SLO or
threshold.
• Status summary bar — Displays the number of SLOs and thresholds
of each status. The status summary bar is color-coded with the same
scheme as the status column described above.
Understanding the History Log View
The history log view (Figure 4-2, History Log View) displays a history of
SLO, threshold, corrective action and process group events for the site or
service selected in the Service/Systems view.
NOTEThe management user interface uses the local time zone. If the system
where you installed the management user interface is in a different time
zone than the web server and application server, the time stamps are
formatted using the local time of the management user interface.
The history log provides information about the effectiveness of the
system’s process group configuration. It also shows which corrective
actions have been taken. The history log entries have time stamps so you
can tell how long an SLO or threshold has been violated.
You can use the history log to determine performance trends. You can see
how often the objectives of a system, service, or site have not been met
over time (for example, during the past month).
Chapter 496
Figure 4-2History Log View
Using HP WebQoS
Monitoring SLOs and the History Log
Severity Column
Status Summary Bar
• The Severity column displays the color coded severity associated with
the events. The Status summary bar across the bottom of the screen
displays the number of events that are critical, major,minor,warning,
normal, and unknown. The Severity Column and the Status
summary bar are color coded as described below. The History log
events are assigned a severity according to the following rules:
— Red: Number of critical log entries
— Orange: Number of major log entries
— Yellow: Number of minor log entries
— Cyan (light blue): Number of warning log entries
— Green: Number of normal log entries
— Blue: Number of unknown log entries
• The Time column displays the time and date an event occurred.
• The Event column displays the event type. The following event types
can be displayed:
— SLO or threshold violation
Chapter 497
Using HP WebQoS
Monitoring SLOs and the History Log
— SLO or threshold risk
— Action taken
— CPU limit
— CPU reset
— Disk limit
— Disk reset
• The Description column displays a one line description of the event.
• The Status Summary Bar displays the number of events that are
critical, major, minor, warning, normal, and unknown. The status
summary bar is color-coded with the same scheme used in the
severity column described above.
Chapter 498
Using HP WebQoS
Filtering SLOs and Thresholds
Filtering SLOs and Thresholds
You may be managing a large web complex and you may have a
significant number of sites. SLO filtering lets you view SLOs selectively
to make problem solving easier. WebQoS can only display 50 SLOs and
thresholds. You can use the filtering and sorting options to do the
following:
• Determine which SLOs or thresholds to display. For example, you
might want to display only priority one SLOs and thresholds.
• View SLO status for an important web site.
• View which SLOs are in violation.
To filter your SLOs and thresholds, follow these steps:
1. Select the system, service or site in the Services or Systems view, and
Service Level Objectives from the SLO/History log pull down list.
2. Choose the Filter task icon button from the task bar or Actions:Filter. The SLO Filters dialog box appears (Figure 4-3, SLO
Filters Dialog).
Figure 4-3SLO Filters Dialog
Chapter 499
Using HP WebQoS
Filtering SLOs and Thresholds
3. Select the appropriate Status classifications to display SLOs and
thresholds with the chosen status. By default, all types are selected.
For example, you might choose to display only SLOs and thresholds
that are being violated or in error. See the WebQoS online help for
descriptions of the status classifications.
4. Specify the appropriate Priority classification. SLOs and thresholds
with the requested priority are displayed. These are the priorities
that you assigned to the SLO which determine the order the SLOs are
checked. For example, you may want to display only priority 1 SLOs
and thresholds. The default is to display all priorities.
5. Sort your list of SLOs and thresholds as desired by selecting the
appropriate sort item from the Sort by: pull down list. For example
you may want to sort your SLOs and thresholds by priority.
6. Choose [OK].
Chapter 4100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.