HP UX 11i Workload Management (gWLM/WLM) Software manual Manually adjusting CPU resources

Page 33

5 Additional configuration and administration tasks

This chapter covers various configuration and administration tasks.

Manually adjusting CPU resources

When an SRD is created, it has a certain number of cores. gWLM manages the SRD using the same number of cores. If the SRD—or a policy used in the SRD—is configured to use Temporary Instant Capacity (TiCAP), gWLM can automatically activate that additional capacity to meet policies. If neither the SRD or its policies are configured to use TiCAP, you may be able to temporarily provide additional resources to a deployed SRD by:

Using an available core from the vpar monitor free pool.

Activating an iCAP core.

Deleting a core from an unmanaged vpar and then adding it to a vpar in the SRD.

Deactivating a core in an npar and then activating one in an npar in the SRD.

NOTE: If gWLM detects activated cores for which there is no request, it deactivates them to avoid spending money on the unneeded capacity.

NOTE: After you manually change system resources (by modifying unmanaged partitions or changing bindings, for example), you might see resize errors on one or more of the managed nodes. However, gWLM should recover (and stop issuing errors) by the next resource allocation interval—unless gWLM can no longer access the required resources.

NOTE: Deployed SRDs do not accept manual decreases in the available resources. gWLM will attempt to reclaim any removed resources.

NOTE: Although a deployed SRD might recognize added resources, policy maximum values are still in effect and can clip resource requests. Consider adjusting policy settings to use the added resources.

NOTE: When gWLM manages an SRD, do not change the value of the resource reservation parameter for any of the vPars managed by gWLM.

As already mentioned, gWLM can take advantage of the additional CPU resources only temporarily. To take full, persistent advantage of the extra resources using the gWLM interface in System Insight Manager:

1.Modify the size of the SRD.

a.Select the SRD affected by the additional resources in the Shared Resource Domain View.

b.Select the menu item ModifyShared Resource Domain.

c.Click the Workload and Policies tab.

d.Adjust the size of the SRD by editing the value, beneath the table, labeled “Total Size.”

e.Click OK.

2.Edit policies used in the SRD to ensure they do not unintentionally limit their associated workloads' resource requests.

To take full, persistent advantage of the extra resources using the gWLM command-line interface:

1.Undeploy the SRD containing the systems that were adjusted.

2.Re-create and re-deploy the SRD.

3.Ensure policies used in the SRD do not unintentionally limit their associated workloads' resource requests.

Manually adjusting CPU resources 33

Image 33
Contents HP Global Workload Manager 7.4 User Guide Acknowledgements Contents Support and other resources Additional configuration and administration tasksIndex Comparison of PRM, WLM, and gWLM features Benefits of using gWLMOverview GWLM OverviewScheduler fss group. gWLM manages a workload by Concepts and terms for using gWLMWould make for a workload-without actually affecting SRD GWLM management modelHow gWLM allocates CPU resources Assumptions Available interfacesFinding more gWLM information Where to find additional informationLearn about other gWLM commands Policy types Configuring gWLM to manage workloadsPolicy types Choosing a policy type Choosing a policy typeSeeing how gWLM will perform without affecting the system Using the wizardGetting started with gWLM Combining the different policy types# /opt/gwlm/bin/gwlmagent Seeing gWLM in action# perl -e ’print $$\nwhile 1 ’ & 1 Fixing the amount of CPU resources a workload gets Common uses for gWLMSetting up gWLM initial setup steps Common configuration tasksCreating a new policy Changing from advisory mode to managed modeChanging which policy is associated with a workload Editing a policyStop managing a workload Adding a new compartment or GiCAP group member to an SRDStop managing an SRD Quick Link Option Monitoring workloads and gWLM Viewing gWLM reports in monitor-Only modeMonitoring workloads High-Level viewMessage logs Monitoring gWLM from the command lineHP-UX /var/opt/gwlm/gwlmcommand.log.0 Monitoring gWLM with GlancePlus Viewing HP Systems Insight Manager eventsGeneral security topics SecuritySecuring gWLM communications Securing database communicationsSecurity Manually adjusting CPU resources Additional configuration and administration tasksSetting aside space for historical data Manually adjusting memory resourcesSetting database recovery model Setting cache size for historical configuration dataCreating a database maintenance plan Tips for backup and restoreCMS properties Setting gWLM propertiesSetting gWLM properties Agent properties # Severe # Warning # Info # Config # Fine # Finer # Finest Communications ports Controlling gWLM’s startup behavior# /opt/gwlm/bin/gwlmagent --enablestartonboot Related events How the automatic restart worksNode Failed to Rejoin SRD on Start-up event Manually clearing an SRD# gwlm undeploy --srd=SRD--force Nested partitions Nesting partitionsChanging the interval on the command line Using gWLM with Hyper-ThreadingChanging the gWLM resource allocation interval Changing the interval in HP System Insight ManagerShows a possible scenario Using gWLM with hosts on multiple LANsMultiple network interface cards Creating Golden ImagesGet the IP address configured for the host using nslookup Incorrectly configured host name or IP addressEnabling or disabling dumping core for gWLM Unable to create new native threadCore dump file is available in root directory Subscription service How to contact HPSupport and other resources Information to collect before contacting HPHP authorized resellers Related informationTypographic conventions User input Documentation feedback Compatibility with agents Limitations Global Workload Manager known issuesCompatibility with PRM and WLM Unable to build a single shared resource domainMaking a configuration change to a large SRD is slow Rare incompatibility with virtual partitionsHost name aliases are not supported Integrity VM prevents discovery of psets and fss groups Deleting workloads takes a long timeInformation error during shutdown Process placement using psrset is ignoredCustom metrics lost on redeploy Major issues Remove old configuration data from the gWLM database Documentation or minor issuesCMS is slow to respond Cell-local processors and iCAP environmentError during discovery of compartments Combining psets and virtual partitionsModifying Java while gWLM is running Missing or unexpected historical data system clocks differ Sample missing at start or end of gwlmreport outputOnly one SRD is allowed to be deployed SRD deployment times out and displays a blank screen Processes moved to default pset or default fss groupApplication hangs in fss group Scripts not placed in correct workloadsConfiguration of agent and CMS not synchronized Changes in sizes in DiscoveryUnable to remove workload from nested partitions SRD Negative current size for Nonvm Missing historical data gWLM CMS daemon/service restartedUnmanaging a VM or vPar that is on leaves SRD undeployed SRD IndexIndex

UX 11i Workload Management (gWLM/WLM) Software specifications

HP-UX 11i Workload Management (gWLM/WLM) software is an integral component of HP's premier UNIX operating system, designed to enhance system performance and resource management across diverse workloads. This advanced tool allows system administrators to monitor, control, and allocate resources effectively to achieve optimal performance, reliability, and service levels in enterprise environments.

One of the main features of gWLM/WLM is its ability to classify workloads and manage them according to specific policies set by the administrator. By using service level objectives (SLOs), administrators can define the performance criteria for various applications and workloads. gWLM continuously tracks these workloads, ensuring that they adhere to the defined SLOs, thus maintaining a high level of application performance.

The software employs resource pools, which segment resources such as CPU, memory, and I/O bandwidth among different workloads based on predefined priorities. This capability ensures that critical applications receive the resources they require, even during peak usage periods, thereby preventing resource starvation that could lead to system slowdowns or crashes.

Another significant characteristic of gWLM/WLM is its real-time monitoring and reporting capabilities. The software provides detailed insights into resource utilization, workload performance, and system health. Administrators can access this information through a user-friendly interface, allowing for informed decision-making and proactive management.

Integration with HP Serviceguard adds another layer of functionality, enabling high availability for critical applications. gWLM can orchestrate workload migration to ensure that service levels are maintained, even in the event of hardware failures or resource contention.

The technology behind gWLM/WLM is built on advanced algorithms that leverage historical data and predictive modeling to optimize resource allocation dynamically. This means that as workloads change, the system can automatically adjust resource distribution to meet performance targets without the need for constant manual intervention.

gWLM also supports integration with various enterprise management tools, enabling administrators to implement comprehensive monitoring and management strategies across the IT infrastructure. The scalability of gWLM allows organizations of all sizes to benefit from its robust workload management features, ensuring that they can adapt to changing demands in their operational environments.

In summary, HP-UX 11i Workload Management software offers a sophisticated solution for optimizing resource utilization, managing workloads effectively, and maintaining high performance in complex enterprise environments. Its comprehensive features and technologies make it an essential tool for any organization seeking to enhance their IT operations.