HP UX 11i Workload Management (gWLM/WLM) Software Cell-local processors and iCAP environment

Page 64

Workaround

Remove the old configuration data from the gWLM database at regular intervals (such as monthly). Use the gwlm history command to trim the database based on date or age.

On HP-UX systems, enter the commands from /opt/gwlm/bin/. On Microsoft Windows systems, enter the commands from the default location at C:\Program Files\HP\Virtual Server Environment\bin\gwlm\.

gwlm history --truncate=<CCYY/MM/DD>

For example, to remove data that was stored before January 25, 2012, enter: gwlm history --truncate=2012/01/25

gwlm history –-purge=<days>

For example, to remove all data except for the last thirty days, enter: gwlm history --purge=30

2.Automatically remove the old configuration data from the gWLM database.

To remove data automatically, the following properties must be set in the gwlmcms.properties file :

com.hp.gwlm.cms.db.history.keep

Valid values:

0: Do not remove any historical data (default).

1- 10000 : The number of days for which history will be retained.

Any historical data older than the specified number of days will be removed from the database.

This Property controls the number of days for which the historical data for configuration and monitoring will be retained in the database. Data present beyond the specified number of days is automatically purged from the database on a daily basis.

NOTE: Before setting the value of this property to any value other than zero, ensure that you manually run the following command with specified conditions:

gwlm history --purge

This command must be executed at a time when the database is not heavily loaded. The value of com.hp.gwlm.cms.db.history.keep must be used as the parameter to gwlm history --purgecommand.

This ensures that the first run of the automatic purge does not affect database operations, even if data needs to be removed for a long period of time. Since the automatic purge is performed on a daily basis, purges after the initial one removes only a single day’s data. This reduces the load on the database.

Cell-local processors and iCAP environment

Using cell-local processors with virtual partitions inside an nPartition that uses (iCAP) leads to failure of the icod_modify command.

Workaround

Do not assign CPUs using cell specifications. Consider assigning CPUs to the virtual partitions using a hardware path.

Alternatively, to use cell-local processors, update to vPars A.04.04 on HP-UX 11i v2 (B.11.23) or to vPars A.05.01 on HP-UX 11i v3 (B.11.31).

CMS is slow to respond

The CMS is slow to respond.

Workaround

Time a gwlm list command on the CMS. If it takes more than 10 seconds, perform the following steps:

1.In the file /etc/opt/gwlm/conf/gwlmcms.properties (HP-UX) or install-path\VirtualServerEnvironment\conf\gwlmcms.properties

64 Global Workload Manager known issues

Image 64
Contents HP Global Workload Manager 7.4 User Guide Acknowledgements Contents Additional configuration and administration tasks Support and other resourcesIndex Benefits of using gWLM Comparison of PRM, WLM, and gWLM featuresOverview GWLM OverviewConcepts and terms for using gWLM Scheduler fss group. gWLM manages a workload byWould make for a workload-without actually affecting GWLM management model SRDHow gWLM allocates CPU resources Available interfaces AssumptionsWhere to find additional information Finding more gWLM informationLearn about other gWLM commands Configuring gWLM to manage workloads Policy typesPolicy types Choosing a policy type Choosing a policy typeUsing the wizard Seeing how gWLM will perform without affecting the systemGetting started with gWLM Combining the different policy typesSeeing gWLM in action # /opt/gwlm/bin/gwlmagent# perl -e ’print $$\nwhile 1 ’ & 1 Common uses for gWLM Fixing the amount of CPU resources a workload getsCommon configuration tasks Setting up gWLM initial setup stepsChanging from advisory mode to managed mode Creating a new policyEditing a policy Changing which policy is associated with a workloadAdding a new compartment or GiCAP group member to an SRD Stop managing a workloadStop managing an SRD Quick Link Option Viewing gWLM reports in monitor-Only mode Monitoring workloads and gWLMMonitoring workloads High-Level viewMonitoring gWLM from the command line Message logsHP-UX /var/opt/gwlm/gwlmcommand.log.0 Viewing HP Systems Insight Manager events Monitoring gWLM with GlancePlusSecurity General security topicsSecuring gWLM communications Securing database communicationsSecurity Additional configuration and administration tasks Manually adjusting CPU resourcesManually adjusting memory resources Setting aside space for historical dataSetting cache size for historical configuration data Setting database recovery modelCreating a database maintenance plan Tips for backup and restoreSetting gWLM properties CMS propertiesSetting gWLM properties Agent properties # Severe # Warning # Info # Config # Fine # Finer # Finest Controlling gWLM’s startup behavior Communications ports# /opt/gwlm/bin/gwlmagent --enablestartonboot How the automatic restart works Related eventsManually clearing an SRD Node Failed to Rejoin SRD on Start-up event# gwlm undeploy --srd=SRD--force Nesting partitions Nested partitionsUsing gWLM with Hyper-Threading Changing the interval on the command lineChanging the gWLM resource allocation interval Changing the interval in HP System Insight ManagerUsing gWLM with hosts on multiple LANs Shows a possible scenarioCreating Golden Images Multiple network interface cardsIncorrectly configured host name or IP address Get the IP address configured for the host using nslookupUnable to create new native thread Enabling or disabling dumping core for gWLMCore dump file is available in root directory How to contact HP Subscription serviceSupport and other resources Information to collect before contacting HPRelated information HP authorized resellersTypographic conventions User input Documentation feedback Compatibility with agents Global Workload Manager known issues LimitationsUnable to build a single shared resource domain Compatibility with PRM and WLMRare incompatibility with virtual partitions Making a configuration change to a large SRD is slowHost name aliases are not supported Deleting workloads takes a long time Integrity VM prevents discovery of psets and fss groupsProcess placement using psrset is ignored Information error during shutdownCustom metrics lost on redeploy Major issues Documentation or minor issues Remove old configuration data from the gWLM databaseCell-local processors and iCAP environment CMS is slow to respondCombining psets and virtual partitions Error during discovery of compartmentsModifying Java while gWLM is running Sample missing at start or end of gwlmreport output Missing or unexpected historical data system clocks differOnly one SRD is allowed to be deployed Processes moved to default pset or default fss group SRD deployment times out and displays a blank screenApplication hangs in fss group Scripts not placed in correct workloadsChanges in sizes in Discovery Configuration of agent and CMS not synchronizedUnable to remove workload from nested partitions SRD Missing historical data gWLM CMS daemon/service restarted Negative current size for NonvmUnmanaging a VM or vPar that is on leaves SRD undeployed Index SRDIndex

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.