Operating System - HP-UX
1833189 Members
3048 Online
110051 Solutions
New Discussion

Manage CPUs with WLM on vpars

 
SOLVED
Go to solution
Joy_S
Advisor

Manage CPUs with WLM on vpars

We have 128-way SD “HPUX 11.31” with two npars , each npar running mutiple of vpars
Vpars already configured with min/max CPUs , we need to create a pool of "on-demand CPUs" to be moved between vpars whenever CPU threshold reach 65% on certain vpars and freed once this % decreased , also system has some icap CPUs, how can I do such configuration ? ,I searched the configuration examples and could not find one match what looking for , WLM ver.A.03.02.02
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: Manage CPUs with WLM on vpars

Shalom,

It would be helpful if you provided links to the documenation you already used from http://docs.hp.com so we don't provide you docs you have already used.

A google search with the site:docs.hp.com provides a number of possible links that may be helpful.

As far as I know, to use WLM in a vpar it will need to be codeword unlocked prior to installation. Most shops use swcopy to make a copy of the software in the clear before installation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Joy_S
Advisor

Re: Manage CPUs with WLM on vpars

I am new to WLM , any how What I am looking for is like "par_usage_goal.wlm" , but in that example I could find only one primary host , while I need to give more than one vpar under same npar a possibility to use CPUs managed by WLM when CPU threshold reach 65%
Joy_S
Advisor

Re: Manage CPUs with WLM on vpars

Any new solution !

Re: Manage CPUs with WLM on vpars

Hi,

To be honets, when working across multiple nPars/vPars I think you would do better to look at using gWLM rather than WLM. gWLM will I think see a lot of further development where WLM may not. Is there something specifically you want in WLM rather than gWLM, or is it just that you already have licenses for WLM?

This doc does a reasonable comparison between the 2 products:

http://h20338.www2.hp.com/hpux11i/downloads/WLM-gWLM-migration.pdf

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Joy_S
Advisor

Re: Manage CPUs with WLM on vpars

The WLM license already purchased and noticed gWLM agent also installed , not sure if this means I can use gWLM or its just agent!

Any how the configuration I realy need is on one npar we have 6 vpars , I need to set priority per vpar , for example vpar1 , priority one when CPU utilization reach 65% , vpar2 priority 2 and so on , how can I achieve that ?
Tim Nelson
Honored Contributor

Re: Manage CPUs with WLM on vpars

Using WLM between vpars in same npar to move CPUs around is completely doable.

I built and used the confirgurations successfully many times but unfortunately I have migrated to IVM and no longer have access to those configurations. I do remember that the documentation provided a guide that worked. I believe the example wlm config template named something like vpar usage goal was the template that I used.

review that or check out the WLM docs at http://docs.hp.com/en/netsys.html

Joy_S
Advisor

Re: Manage CPUs with WLM on vpars

Yes template name " par_usage_goal.wlm" do the job , but I can only specify the priority for one vpar :

primary_host = myserver;
slo slo_myslo {

pri = 1; # Change this value

goal = usage _CPU;
}

How to do that for rest of vpars ?
Tim Nelson
Honored Contributor
Solution

Re: Manage CPUs with WLM on vpars

Joy,

If I remember correctly. The config files for all vpars are pretty much idential except the primary_host on each would always point to the server with the manger on it. Then my_slow on each would become something like slo_vpar, slo_vpar2 etc...

I also think that if you want to use something other than the default 90% CPU usage you will have to use the mincpu and maxcpu qualifiers.

As you look through the other templates they seem to give example of all sorts of ways to do it.
http://h20338.www2.hp.com/hpux11i/cache/328165-0-0-0-121.html#par_usage_goal.wlm

Again I apologize that I cannot give you examples of what I used so you would not have to trial and error like I did.
Joy_S
Advisor

Re: Manage CPUs with WLM on vpars

Ok thanks this is what I was looking for ..