|
|
Overview
HP-UX Workload Manager
| Models | |
| Product | |
| B8843CA | |
| Documentation | |
| B8844CA | |
| The HP-UX Workload Manager (WLM) is a component of the HP Virtual Server Environment. WLM is supported on all HP 9000 and HP Integrity servers and supports HP-UX 11.0, 11i v1 and 11i v2. WLM is available in the HP-UX Mission Critical Operating Environment. For more information on and the HP Virtual Server Environment visit http://www.hp.com/go/wlm and http://www.hp.com/go/vse. | |
|
| |
|
Description |
|
|
Today, most servers are highly underutilized. While average utilization varies by customer and operating system, in the HP-UX environment it is often around 30%. There are myriad reasons for this, but one of the primary reasons is that customers often have one application per server, and they size that server for a peak load of typically three to five times the average utilization. Resource optimization is one of the goals of HP's adaptive enterprise strategy-a strategy for helping customers to synchronize business and IT to capitalize on change. Virtualization is a cornerstone of HP's approach to helping customers realize the promise of becoming an adaptive enterprise. It is an approach to IT that pools and shares resources so utilization is optimized and supply automatically meets demand. Part of the virtualization model is the Virtual Server Environment. It offers the broadest virtualization capabilities in the industry today and the only goal-based policy engine, HP-UX Workload Manager (WLM). WLM ties together virtualization techniques including partitioning, resource management, on-demand resources, and clustering, linking them back to business goals and service-level objectives (SLOs). It allows companies to consolidate multiple applications onto a single server, which decreases server administration expenses and makes more efficient use of available resources. Key uses of HP-UX WLM include these:
HP-UX WLM provides this functionality by automating many features of HP's Process Resource Manager (PRM), HP-UX Processor Sets (psets), HP-UX virtual partitions (vPars), and hard partitions (nPars) that use Instant Capacity on Demand (iCOD). When using WLM, the system administrator:
In defining an SLO, the system administrator specifies a priority. The administrator can also specify a goal to attain some specific measure (metric) or a targeted resource usage. Such goals can be thought of as metric goals or usage goals. As the applications run, WLM compares the application metrics or usage against the goals. WLM then automatically adjusts processor allocations for the workload groups to achieve the goals. This document explains the capabilities and benefits of HP UX WLM version A.03.02, which is available for HP 9000 servers running HP UX 11.0 or HP UX 11i v1.0 (B.11.11) and for HP Integrity servers running HP UX 11i v2.0 (B.11.23). |
|
|
| |
| What is HP-UX Workload Manager? |
HP-UX Workload Manager is a software product that provides automatic resource allocation and application performance management through the use of prioritized SLOs. WLMmanages workload groups as defined in its configuration file. The WLMadministrator assigns applications and users to workload groups and sets up one or more SLOs for each group. WLMthen manages each workload group's processor resources according to the SLOs. WLMcan also manage real memory, although not in response to SLO performance. Disk bandwidth can be statically allocated in the configuration file. If multiple users or applications within a workload group are competing for resources, standard HP-UX resource management determines the resource allocation. WLM is integrated with a variety of products to provide better interoperability. These products include Oracle, Apache, HP UX virtual partitions, HP UX processor sets, GlancePlus, iCAP, Pay per Use, and Serviceguard. |
|
| |
|
Why use HP-UX Workload Manager? |
The traditional open systems usage model has been one application running per server. This has led to a proliferation of servers-too many to manage effectively. Generally, each server is sized to provide "headroom" for peak capacity and future growth. With each new server, the surplus capacity grows-and no ability exists to share this excess capacity among the applications. Therefore, many companies want to reduce administration expenses and use computing resources more efficiently by consolidating their data centers onto fewer systems and consolidating multiple applications onto a single server. With the tools in the HP Partitioning Continuum, there is less need to provide the same degree of headroom, allowing the excess capacity to be shared among the different applications. As one of the partitioning tools, WLM provides the ability to:
|
|
| |
| Service level Objectives (SLOs) |
A key reason for using WLM is its ability to manage service level objectives. After defining a workload group, the system administrator specifies one or more SLOs for each workload group. WLM allocates processor resources to workload groups based on whether the group's application is under performing, meeting, or over performing its SLOs. SLOs can be shares based or goal based. With a shares based SLO, WLM
simply tries to grant the associated workload group a certain amount of
the processor by allocating processor shares for it. (A processor share
is 1/100 of a single processor or 1/100 of each processor on a system,
depending on WLM's mode of operation.) With goal based SLOs, WLM actively
changes the associated workload group's processor allocation to best meet
the SLO. These SLOs are based on one of two goal types:
A goal-based SLO consists of:
A shares-based SLO contains most of the above elements, but does not include a goal. |
|
| |
| Prioritized SLOs |
Another great reason for using WLM is that it allows the system administrator to prioritize the SLOs. Valid priorities start at 1, with 1 being the highest priority. SLO priorities do not have to be uniquely assigned-multiple SLOs can be granted the same priority, allowing more than one workload's objective to be top priority. This can be beneficial when multiple workloads are equally important. Typically, all the SLOs in a given configuration should not be assigned the same priority; otherwise, under heavy system load, WLM may not be able to allocate processor resources effectively when there are not enough to meet all SLOs. A single workload can have multiple SLOs, each with a different priority. One SLO would be the high-priority, "must meet" goal and the remaining SLOs would be lower-priority, "meet if possible" goals (stretch goals). For example, a priority 1 goal might be for the workload to keep response time under three seconds. The priority 2 goal might then be to keep response time under one second. This lower-priority goal might be met, but only after the priority 1 SLOs of its associated workload group and all other workload groups are met. |
|
|
Configuration
| What is the Ideal Environment for HP-UX Workload Manager? |
You will benefit most from WLM if your environment meets one or more of the following conditions:
|
|
| |
| HP UX Workload Manager Operational Overview |
WLM automatically allocates system resources to maintain application performance, even during changing system conditions and fluctuations in workload demand. For WLM to determine the appropriate resource allocation, the system administrator places applications in workload groups and then creates one or more SLOs for each workload group. Among other items, an SLO includes a priority and an optional metric or usage goal. Along with each metric goal, the WLM system administrator selects metrics to measure the extent to which the goal is being met, exceeded, or underachieved. In addition, the system administrator chooses how to send the data to WLM. Utilities that send data to WLM are called data collectors. As the applications run, WLM compares the metrics and the goals for each application to determine the appropriate processor allocations. In addition to metric goals, the system administrator can specify usage
goals. With usage goals, WLM gives a workload group more processor resources
when it is busy and takes them away when it is idle. WLM does this by
tracking an internally collected processor utilization metric. If you are using WLM on a system without partitions, focus on nPar 0 to understand how WLM controls resources on your system to make sure SLOs are met. You can use WLM within and across:
The functional process flow for the WLM design is:
|
|
|
Support
| What Types of Service level Objectives are Supported? |
WLM provides automatic PRM, pset, vPar, and nPar settings based on the defined SLOs. The supported types of SLOs are:
When a workload group has to accommodate a "must meet" goal and optional, lower-priority stretch goals, you can assign multiple SLOs, as long each SLO is a fixed-allocation or goal-based SLO. |
|
| |
| Using HP-UX Workload Manager for Server Consolidation |
When consolidating servers, one of the challenges is resource allocation. How do you make sure that one application will not steal needed resources from another? WLM allows you to specify fixed allocations to make sure each application gets a defined resource amount. Additionally, the system administrator can define and prioritize one or more SLOs for each application's associated workload group. The workload groups are then given the resources they need to achieve the SLOs. This is significant for several reasons:
Using the defined SLOs, WLM determines the amount of processor needed to achieve each SLO. It then allocates processor to each SLO's workload group based on the SLO's priority. This is important for:
|
|
| |
| Using HP-UX Workload Manager with Serviceguard |
Using WLM with Serviceguard, you can:
WLM provides a number of features that support integration with Serviceguard. For more information, as well as step-by-step procedures for integrating the products, see the white paper "More efficient high availability through manageability (integrating Serviceguard and HP-UX Workload Manager)," available from the Information Library, which can be reached via http://www.hp.com/go/wlm. |
|
| |
| Using HP-UX Workload Manager for Auditing and Billing |
WLM produces audit information when you activate a configuration using the -t option with either the WLM daemon wlmd or the WLM global arbiter daemon wlmpard. Once you've activated a configuration using -t, use the wlmaudit command to display the audit data. The wlmaudit command allows you to specify a date range for the data to display. By default, the output is plain text; however, you can display output in formatted HTML as well. |
|
| |
| Using HP-UX Workload Manager with Oracle® Databases |
HP-UX WLM Oracle Database Toolkit (ODBTK) simplifies getting metrics on Oracle database instances into WLM. This allows you to better manage Oracle instances. ODBTK is part of the WLM Toolkits product, which is included with WLM. Benefits of ODBTK include the ability to:
|
|
| |
| Using HP-UX Workload Manager with Processor Sets |
HP-UX 11i v1.0 (B.11.11) and later versions offer a feature known as processor sets, or psets. A processor set represents one or more processors grouped together for exclusive access by applications assigned to that processor set. WLM allows you to define your workload groups based on processor sets. These groups have dedicated processors. Furthermore, WLM allows you to dedicate physical memory to a workload group that is based on a processor set. This isolates the workload's memory from other workloads running on the system. Rather than simply isolating the group, though, you can configure WLM to adjust the number of processors in your pset based workload groups, giving and taking away processors as indicated by your SLOs. |
|
| |
| Using HP UX Workload Manager with iCAP |
iCAP, or Instant Capacity, offers the ability to activate reserve processor capacity that is already on your system. You do not pay for the iCAP processors until they are activated. You would activate the iCAP processors either to increase the active processor capacity on the system or to replace the processor capacity of a failing processor on that system. In either case, action can be taken-with no waiting for new processors to arrive-because the iCAP processors are already on the system. If you have HP UX WLM on a system with the iCAP software, you can configure HP UX WLM to let you know that SLOs are failing and the reserves are needed. By itself, WLM only notifies you of the situation; you must manually activate the reserves. However, if you use WLM with the Pay per use Toolkit (PPUTK, part of the WLM Toolkits product) on an iCAP system, you can have processors automatically activated when SLOs are failing. |
|
| |
| Using HP-UX Workload Manager with Pay per use |
HP offers a Pay per Use (PPU) feature that provides the capacity to support peak anticipated demand, but with payment for the HP server based on actual metered or monitored usage of that capacity. This capacity can be increased or decreased, as needed, on a per processor basis. Using WLM on a system with the PPU software (up to and including version B.04.01), this capacity is increased or decreased automatically. After you set your SLOs in the WLM configuration file, WLM and its Pay per use Toolkit (PPUTK) automatically adjust the number of active processors to the smallest number of processors needed to satisfy the SLOs. With PPU, you pay only for the amount of processor you use. Therefore, decreasing the number of active processors reduces your costs. |
|
| |
| Using HP UX Workload Manager with HP Systems Insight Manager |
|
|
| |
| Using HP-UX Workload Manager with Apache |
WLM can help you manage and prioritize Apache-based workloads through the use of the WLM Apache Toolkit (ApacheTK). ApacheTK, a component of the WLM Toolkits product that comes with WLM, shows you how to:
For more information, see the white paper "Using HP-UX Workload Manager with Apache-based Applications," which offers various use cases. This paper is installed on systems with WLM under /opt/wlm/toolkits It is also available online at http://www.hp.com/go/wlm. |
|
| |
| Using HP-UX Workload Manager with SAS® |
WLM and its Duration Management Toolkit (DMTK) allow you to manage the duration of your applications. Because many SAS jobs run from a few minutes to a few hours, DMTK can help manage your SAS environments, decreasing the impact of these jobs and eliminating the need to purchase more hardware. Given the usefulness of DMTK in these environments, HP also produced the WLM Toolkit for SAS Software (SASTK). This toolkit provides a SAS macro that you place in your SAS jobs to fine-tune duration management. (Both these toolkits come with the WLM Toolkits product, which is included with WLM.) |
|
| |
| Using HP-UX Workload Manager with BEA WebLogic Server™ |
WLM BEA WebLogic Server Toolkit (WebLogicTK) provides a data collector
called wlmwlsdc that tracks metrics indicating how busy WebLogic Server
instances are. The toolkit is a component of the WLM Toolkits product,
which is included with WLM.
For more information, see the white paper "Using HP-UX Workload Manager with BEA WebLogic Server," which offers various use cases. This paper is installed on systems with WLM under /opt/wlm/toolkits It is also available online at http://www.hp.com/go/wlm. |
|
| |
| Using HP-UX Workload Manager on Multiple Servers |
WLM manages workloads on individual servers. To manage workloads on multiple servers, install and configure WLM on each of the servers. WLM can be integrated with HP Serviceguard by storing the WLM configuration file in a file system shared by all nodes in the cluster, then activating the configuration on each node independently. |
|
| |
| Using HP-UX Workload Manager with vPars and Other Partitions |
The HP Partitioning Continuum offers three layers of partitioning. These layers are:
WLM can be used within both hard partitions and virtual partitions. Furthermore, you can use WLM across partitions, automatically moving processors between partitions based on SLOs in the partitions. (Given the physical nature of hard partitions, the "movement" of processors between partitions is achieved using iCAP software: a processor is deactivated on one nPar, and then a processor on another nPar is activated.) For more information go to http://www.hp.com/go/wlm or see the HP-UX Workload Manager User's Guide. |
|
| |
| © Copyright 2003-2006 Hewlett-Packard Development
Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. |