NOTE: You must be logged in as root on the systems where you run the mxstart, gwlmcmsd, and gwlmagent commands mentioned below. In System Insight Manager, you must be logged in as root or have authorizations for “All Tools” or “Matrix OE All tools.”

1.Start the gWLM agent daemons on vpar1 and vpar2:

#vpar1> /opt/gwlm/bin/gwlmagent

#vpar2> /opt/gwlm/bin/gwlmagent

Alternatively, you can start the agents through System Insight Manager, as discussed in the HP Matrix Operating Environment Software Installation and Update Guide.

2.Connect to System Insight Manager by pointing your web browser to: http://hostname:280

where hostname represents the hostname of the CMS, in this case, vpar3.

3.Create a gWLM SRD containing the two vpars by following the steps given in “Getting started with gWLM” (page 17).

a.For hosts, enter the names of the two vPars separated by a space in the field beneath the table.

b.Ensure when setting the SRD properties that the mode is Managed.

c.Use an OwnBorrow policy for the vpar1 workload and for the vpar2 workload. An OwnBorrow policy has a name of the form:

Owns_4-Max_8

Ideally, the sum of the cores owned by the workloads will equal the total number of cores in the SRD when using this type of policy. (You might need to edit policies to achieve this equality.)

d.Confirm and finish the SRD creation. (You are then placed on the Shared Resource Domain View, showing the newly created SRD and its workloads.)

4.Select the vpar1 workload.

5.View gWLM’s real-time reports to show CPU resource allocation for vpar1 by selecting in the HP Matrix OE visualization menu bar:

ReportgWLM Real-time Reports...

You can also view the reports by clicking the workload’s bar graph.

6.Click the Policy graph radio button to see a graph of vpar1’s CPU resource allocation.

7.Start a CPU resource-intensive workload in vpar1.

If you already have such a workload configured in vpar1, start it now.

If you need such a workload, the following command prints its PID (24379 in this case) and then just consumes CPU resources:

# perl -e ’print "$$\n";while (1) {};’ & [1] 24379

This command consumes most of a single core. Start multiple copies of the command to consume additional cores.

8.Wait a few minutes, then look at the “Policy Request and Workload Allocation” graph from Step 6 to see how the policy for vpar1’s workload is requesting CPU resource allocations and how gWLM is granting them.

9.Kill the workloads you started in vpar1.

10.Set the Workload dropdown near the top of the screen to the vpar2 workload and repeat Step 7 through Step 9 to see gWLM move cores to vpar2.

Seeing gWLM in action 19

Page 19
Image 19
HP UX 11i Workload Management (gWLM/WLM) Software manual # perl -e ’print $$\nwhile 1 ’ & 1

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.