HP-UX Workload Manager A.03.00 Release Notes for HP-UX 11i v1 and HP-UX 11i v2 Manufacturing Part Number: B8843-90027 May 2005 © Copyright 2000-2005 Hewlett-Packard Development Company, L.P.
Legal Notices The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this documentation, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration.
HP-UX Workload Manager Release Notes 1 HP-UX Workload Manager Release Notes This release notice contains the following information about HP-UX Workload Manager A.03.
HP-UX Workload Manager Release Notes Announcement Announcement HP-UX Workload Manager (WLM) A.03.00 supports HP-UX 11i v1 (B.11.11) on HP 9000 servers; also, it supports HP-UX 11i v2 (B.11.23) on HP 9000 servers and HP Integrity servers. HP-UX WLM provides goal-based workload management. This management enables automatic resource allocation and application performance management through the use of prioritized service-level objectives (SLOs).
HP-UX Workload Manager Release Notes What’s in this version What’s in this version WLM A.03.00 provides the following new or changed functionality. • Simultaneous management of virtual partitions and nPartitions WLM now allows you to manage SLOs across the virtual partitions and nPartitions in a single server at the same time. For more information, see the wlmpard(1M) man page. • Integration with Security Containment The HP-UX feature Security Containment provides file and process isolation.
HP-UX Workload Manager Release Notes What’s in this version • wlmpard is no longer required to be running in a partition on the managed complex Previously, if WLM was managing the partitions in a complex, wlmpard had to be running in one of those partitions. Now, wlmpard simply has to be running on a supported platform with network connectivity to the managed partitions. • Terminology change: The Instant Capacity on Demand (iCOD) product is now known as Instant Capacity, or iCAP.
HP-UX Workload Manager Release Notes What’s in this version • wlminfo changes — New option: -q Quiets (suppresses) display of messages from /var/opt/wlm/msglog in the wlminfo output. — New option to group command: -S Shows data for the reserved workload group PRM_SYS in the output. — New command: proc Displays data about the most active processes. — Hostname field in output has been extended In output of wlminfo host and wlminfo par, the Hostname field has been extended from 16 characters to 24.
HP-UX Workload Manager Release Notes What’s in this version • New behavior when the sum of the gmincpu values exceed the total CPU Previously, when this sum exceeded the total CPU, the values were scaled down proportionately so that the sum equals the total CPU. Now, those values are treated as CPU requests to be met before any other requests are considered. Any weight values assigned to the workload groups apply.
HP-UX Workload Manager Release Notes Known problems and workarounds Known problems and workarounds This section discusses problems and workarounds.
HP-UX Workload Manager Release Notes Known problems and workarounds Capping issue Issue WLM maintains CPU allocations for workloads by capping their CPU access. Unfortunately, an algorithm in the CPU scheduler that WLM uses does not always preserve capping. You may see symptoms of this issue in wlminfo output. A portion of sample output is shown below: # wlminfo group Workload Group OTHERS g_nice g_nightly g_team PRMID 1 2 3 4 CPU Shares 450.00 108.00 0.00 6.00 CPU Util 4.49 55.57 0.00 0.
HP-UX Workload Manager Release Notes Known problems and workarounds Temporary Instant Capacity expires while WLM is managing nPartitions Issue WLM manages nPartitions using its wlmpard daemon. Assume wlmpard is started on a system that has Temporary Instant Capacity in use. If that temporary capacity expires, wlmpard will still be able to deactivate CPUs without any problems. However, wlmpard may attempt to activate CPUs based on the expired capacity.
HP-UX Workload Manager Release Notes Known problems and workarounds WLM uses Temporary Instant Capacity only when more than 15 days are available Issue WLM can optimize the use of Temporary Instant Capacity to meet the goals of your workloads, using the least amount of temporary capacity needed to met the workloads’ SLOs. However, WLM does not use Temporary Instant Capacity when there are fewer than 15 days of temporary capacity available.
HP-UX Workload Manager Release Notes Known problems and workarounds Application hangs in FSS group Issue On HP-UX 11i v2 (B.11.23), an application inside a workload group based on an FSS group may hang when running in a single-processor virtual partition, nPartition, or system. Workaround Install patch PHKL_33052.
HP-UX Workload Manager Release Notes Known problems and workarounds Unable to get CPU allocation due to number of processes Issue WLM provides a workload group its allocation on a system by granting the group its allocation on each CPU. If the group does not have at least one process for each CPU, WLM increases the allocations for the processes to compensate. For example, for a workload group with a single-threaded process, 10% of four CPUs is allocated as 40% of one CPU.
HP-UX Workload Manager Release Notes Known problems and workarounds GlancePlus/OpenView Performance Agent and processor sets Issue On systems with multiple processor sets configured, GlancePlus may have incorrect data for the PRM_SYS group (ID 0). On these systems, GlancePlus will incorrectly include processes that are outside of the default processor set as belonging to the PRM_SYS group (ID 0).
HP-UX Workload Manager Release Notes Known problems and workarounds Continuously increasing memory consumption by glance Adviser Issue GlancePlus’s glance Adviser leaks memory when running continuously. Adviser is used by the WLM data collectors glance_app, glance_gbl, glance_prm, glance_prm_byvg, and glance_tt. Workaround This memory leak is fixed in GlancePlus C.03.35.00.
HP-UX Workload Manager Release Notes Known problems and workarounds No metrics on startup or reconfiguration Issue Metrics have no value on WLM startup or reconfiguration. WLM cannot work toward any SLOs without metrics. Workaround Data collectors should report metrics as soon after startup or reconfiguration as possible.
HP-UX Workload Manager Release Notes Known problems and workarounds WLM configurations cannot be activated when there is less than 100 Mbytes of available memory Issue When you have WLM controlling memory, it gives each workload group 1% of the memory when a configuration is activated and then adjusts the percentage for workload groups with active SLOs based on settings in the configuration. However, WLM requires that the initial 1% of memory represent at least 1 Mbyte.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Compatibility information and installation requirements The following product is now available for HP 9000 servers running HP-UX 11i v1 (B.11.11) and for HP 9000 servers or HP Integrity servers running HP-UX 11i v2 (B.11.23): • HP-UX WLM A.03.00 (B8843CA) Includes media, license, manual, and release notes.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Compatibility with other software WLM A.03.00 was verified using the software listed in the following table. Compatibility with other versions of the software packages is unknown unless explicitly stated. Table 1-1 Verified software configurations Software package Version on HP-UX 11i v1 Version on HP-UX 11i v2 Update 2 PRM C.03.00 C.03.00 Processor Sets A.01.00.00.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Compatibility with long hostnames WLM supports long hostnames. You must install the bundle NodeHostNameXpnd and configure the feature first though. For more information, see the section “Installation procedure” on page 25.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Compatibility of WLM’s virtual partition management and certain CPU bindings Do not use cell-specific CPU bindings or user-assigned CPU bindings on virtual partitions you are going to manage with WLM. Compatibility of WLM’s partition management and PPUTK Do not use WLM’s partition management (virtual partition or nPartition management) and the Pay Per Use Toolkit (PPUTK) tool utilitydc at the same time.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Installation procedure If you are installing WLM from the quarterly Application Release (AR) CD-ROM, use the procedure in this section to minimize system reboots. To install your software, use the SD-UX swinstall command. For information on installing using a GUI, see “Using the swinstall Graphical User Interface (GUI)” on page 38.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Step 1. Verify that HP-UX is up-to-date HP suggests that as part of your systems’ ongoing maintenance and support, the systems be kept up-to-date through the HP-UX Support Plus program. This program delivers quarterly patch bundles via the web at http://software.hp.com/SUPPORT_PLUS/ and as part of the quarterly AR media. For HP-UX 11i v1 (B.11.11), the recommended bundles are described in the following table.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements b. Download any missing patch bundles from http://software.hp.com/SUPPORT_PLUS/ to /tmp. NOTE Do not install these patch bundles at this point. Related support sites include: • HP Software Depot (http://software.hp.com) See the “enhancement releases” link. • HP IT Resource Center (http://itrc.hp.com) See the “maintenance/support” link. • HP Technical Documentation (http://docs.hp.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Step 3. Determine what patches are needed a. Check the following data to determine what patches are suggested for WLM. If you plan to use the WLM configuration wizard, the wlmgui command, or wlminfo’s interactive mode GUI (-i), all of which depend on Java, see the following website for patch information: http://www.hp.com/go/java On HP-UX 11i v1, apply patch PHCO_29109 to address a pthread library issue.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements b. Determine which patches are already on the system If a recent Quality Pack is installed, some of these patches may already be on your system. To determine if these patches are installed, use swlist as follows: # /usr/sbin/swlist [-l patch] patch where patch is the patch’s tag.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Step 4. (Optional) Create a software depot to minimize system reboots Creating a depot is beneficial when you are completing two or more of the following tasks: • Installing patch bundles (GOLDQPK11i or HWEnable11i) The patch bundles include kernel patches. Installation of a patch bundle requires a system reboot. • Installing PHKL_* patches The PHKL_* patches are HP-UX kernel patches.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements a. Ensure that adequate disk space is available. The size of each patch can be found in its README text. b. Create a directory for the depot: # mkdir /tmp/wlm_depot c. Place any patch bundles you downloaded in Step 1 (GOLDQPK11i or HWEnable11i) in /tmp/ if they are not already there. For more information on these patch bundles, see Table 1-2. d. Check each of the patch bundles.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements g. Place any missing individual patches that you downloaded in Step 2 in /tmp/. For HP-UX 11i v1 (B.11.11) patches, see Table 1-3. For HP-UX 11i v2 (B.11.23) patches, see Table 1-4. h. Add each patch file to the depot: # swcopy -s patch_file_path \* @ depot_path where patch_file_path and depot_path are fully specified path names. For example: # swcopy -s /tmp/PHKL_32619.depot \* @ /tmp/wlm_depot i.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements l. Add WLM (product B8843CA) to the depot. NOTE The WLM bundle B8843CA requires a customer_id/codeword pair to unlock it from the quarterly AR CD-ROM. Purchase of WLM entitles you to this codeword, which can be found on the Software Certificate you received from HP. The WLM codeword is needed to complete the next step. Use a line similar to the following to add WLM to your depot.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Step 7. Shut down WLM if it is currently running Run the following command on every system or partition where you will install/upgrade WLM: # /opt/wlm/bin/wlmd -k Also shut down any running instances of the WLM global arbiter: # /opt/wlm/bin/wlmpard -k Step 8. Install patches and install/upgrade WLM NOTE The procedure below explains installation using the command-line version of swinstall.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements c. Install WLM There are two methods for installing WLM. You can: • Install WLM from the depot you created in Step 6 • Install WLM directly from the CD-ROM These options are discussed below.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements Installing from the CD-ROM NOTE Installing without the benefit of a depot may cause unnecessary reboots. For information on reducing reboots, see Step 4 on creating a software depot. If you are installing WLM from the CD-ROM: i. Install the general support patch bundles and software from Step 1 If your system is missing any general HP-UX patch bundles or software mentioned in Step 1, install them now.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements d. Restart MeasureWare if it was running before the WLM upgrade/installation: # /usr/sbin/init.d/mwa start Step 9. Check the file /var/adm/sw/swagent.log Check the file /var/adm/sw/swagent.log for messages relating to additional tasks that may need attention following the swinstall of WLM bundle B8843CA. Step 10.
HP-UX Workload Manager Release Notes Compatibility information and installation requirements As of WLM A.02.02, the /opt/wlm/newconfig/etc/rc.config.d/wlm file includes the variables WLMCOMD and WLMCOMD_ENABLE. NOTE If this was the first time you installed WLM and you have not previously installed PRM, be sure to edit the file /etc/rc.config.
HP-UX Workload Manager Release Notes Patches and fixes in this version Step 6. Select OK to install the software after the analysis phase is completed. Because these products contain kernel filesets, SD will prompt you that a reboot is necessary. NOTE If this was the first time you installed WLM and you have not previously installed PRM, be sure to edit the file /etc/rc.config.
HP-UX Workload Manager Release Notes Software availability in native languages Reprioritization Previously, when a workload group based on a PSET had an SLO with a priority between the priorities of two SLOs on a single FSS group, where the higher-priority SLO on the FSS group is a goal-based SLO, reprioritization can occur: The PSET-based group cannot acquire resources it needs from the low-priority SLO on the FSS group, effectively reprioritizing the low-priority SLO to a higher priority.
HP-UX Workload Manager Release Notes Security Security This section highlights security items you should be aware of. Data collectors Data collectors invoked by WLM run as root and can pose a security threat. Hewlett-Packard makes no claims of any kind with regard to the security of data collectors not provided by Hewlett-Packard. Furthermore, Hewlett-Packard shall not be liable for any security breaches resulting from the use of said data collectors.
HP-UX Workload Manager Release Notes What manuals are available Partitions WLM manages virtual partitions and nPartitions through a global arbiter. WLM’s global arbitration uses non-secured communications. A rogue user could manipulate the communications, resulting in one or more partitions being granted an incorrect number of CPUs. Use global arbitration only on trusted local area networks. By default, wlmpard communicates to the partitions on a system through port 9691.
HP-UX Workload Manager Release Notes WLM toolkits Information about HP-UX system administration and Logical Volume Manager can be found in: • Managing Systems and Workgroups (5187-2216) WLM toolkits Hewlett-Packard provides integration toolkits to simplify integrating Workload Manager with major third-party applications. The toolkits are made available on the web as they are developed. Also, they are bundled with the subsequent Workload Manager release.
HP-UX Workload Manager Release Notes Training Training HP offers a course in HP-UX resource management using WLM. For information, including a course outline, visit: http://www.hp.com/education/courses/u5447s.