Choosing a policy type
How do you decide which policy type to use? Table 3 answers this question for several common use cases. The section following the table helps you decide between using an OwnBorrow policy or a utilization policy.
Table 3 Choosing a policy type
If...
You want gWLM to allocate a constant amount of CPU resources to a workload.
You have your own metric by which you want gWLM to manage a workload.
IT acts as a service provider to business units.
You have static vPars, but you want to move to a model where cores migrate among vPars.
Use the following type of policy...
Fixed
Custom
OwnBorrow
This policy type allows you to set an owned amount of resources, while also giving you control over how workloads borrow and lend resources.
gWLM provides a “topborrowers” report and a “resourceaudit” report to help you manage your data center using this model. For more information, see gwlmreport(1M).
OwnBorrow
For each vPar, set its number of owned cores to its static number of cores. The vPar gets those owned cores whenever needed.
You have nPars but, you want to move to a model where CPU resources migrate among nPars.
You want to tap into a pool of resources taking or giving CPU resources as
OwnBorrow
Install the HP Instant Capacity product on each npar. (This software allows gWLM to simulate CPU resource movement among nPars with spare capacity.)
For each npar, set its number of owned cores to the number of cores you want the npar to have whenever needed.
Utilization
You have a policy that should be in effect only for a given time period, for the duration of a file's existence, or for a certain Serviceguard condition.
Conditional
Select an existing policy and a default policy and then set
a
Choosing between an OwnBorrow policy and a utilization policy
OwnBorrow and utilization policies both allocate resources to a workload based on the workload's use of its current allocation. Both policy types also specify minimum and maximum amounts of resources the workload should get. A workload with either type of policy can lend other workloads its unused
OwnBorrow policies, however, provide greater control in lending resources because they also have an owned amount of resources. A workload always gets its owned resources back whenever needed. So, with an OwnBorrow policy, you can set a lower minimum allocation (increasing the amount of resources available for sharing among workloads), knowing the associated workloads get their owned resources whenever needed. Thus, an OwnBorrow policy provides greater flexibility in attempting to allocate a workload a certain amount of resources when needed while also lending those resources to other workloads when not needed.
16 Configuring gWLM to manage workloads