Operating System - HP-UX
1833838 Members
2046 Online
110063 Solutions
New Discussion

moving cores across vPars

 
SOLVED
Go to solution
David Islas González_1
Frequent Advisor

moving cores across vPars

Hi everybody,

I'm new with vPars and WLM. I'm trying to move cores across vPars with WLM but it is not working :( .
I've been trying to do this with the par_usage_goal.wlm and the par_usage_goal.wlmpar examples of WLM but it is not working. I have the next scenario 2 vPars both of them with one bundle cpu and 3 unbundled cpus. At the beginning I'm working with only one cpu. I have modified this wlm config files (par_usagegoal.wlm and .wlmpar) for my own vPars. Does anybody knows about a "cookbook" for make this happen.

I'm waiting for an answer.

Regards!!
David.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: moving cores across vPars

Shalom,

How about the old fashioned way.

passord free scp ?

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
David Islas González_1
Frequent Advisor

Re: moving cores across vPars

Sorry I don't understand your answer :S
Jonathan Fears
Trusted Contributor
Solution

Re: moving cores across vPars

Hello David. First, I'm not sure what you mean by "working with only one CPU". But check these things first.

Do you have the configuration setup properly? There should be a par_usage_goal.wlm config on both vpars and the par_usage_goal.wlmpar only running on one of the vpars (or even some other system that both vpars have network connectivity to). In the par_usage_goal.wlm configs, be sure to change the 'primary_host' keyword value to the name of the vpar/system where the par_usage_goal.wlmpar config is running. Depending on if you have mincpu/maxcpu values in your SLOs, be sure they are allowing the SLO to request additional CPUs beyond what the vpar currently has (ex. mincpu=1, maxcpu=7). Once all the configs are activated, you should simply have to drive up the load on one of the vpars to see WLM migrate CPUs from one vpar to another.

If you have all of the setup correct and are still having problems, please reply back and we'll check on some other things.

Best Regards,
Jonathan
David Islas González_1
Frequent Advisor

Re: moving cores across vPars

Hi Jonathan,

Thanks for your suggestions, that's one point that I was missing, in the general structure of the configuration file that your are sending to the wlmd you must specify the min and the max cpu, with this parameter now I can use the others CPUs.

Another thing that I was missing is that I didn't assign all the CPUs that I have in my nPar, that is, I have 4 CPU in my nPar;for my two vPars I specified (when I created them) just 1 bundled CPU for each one and both of them can grow until 3 CPUs. But when I started the wlmd and the wlmpard I began with only one CPU assigned per vPar, and that's an error!! You must assign all your CPUs (with the vparmodify) to your vPars before start the wlmd and the wlmpard.

David Islas González_1
Frequent Advisor

Re: moving cores across vPars

After breaking my head for the last 2 days, I found a solution. I'm new with this tool and your suggestions helped me a lot. Thanks!!