- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Dynamic CPU allocation into vPar from enclosin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 02:13 AM
01-25-2007 02:13 AM
Dynamic CPU allocation into vPar from enclosing nPar
I just need to ask if it is possible to dynamically allocate CPUs into a a vPar
if they are unallocated elsewhere within the enclosing nPar.
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 02:22 AM
01-25-2007 02:22 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
seems you asked similar question before:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1051200
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have not awarded any points !
From another thread:
"Be careful that you fully understand the implications of what you are doing... remember that in vPar any unbound CPU (that is a CPU that can be moved between vPars without stopping the effected partitions) is NOT capable of handling IO interrupts, and as such cannot handle IO for any of the processes in whatever vPar it happens to be in. Depending on how you change your environment, if you end up with more unbound CPUs than you currently have, you could find a reduction in performance in some of your vPars if you applications have many IO intensive processes."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 02:29 AM
01-25-2007 02:29 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
I know my last question was similar but I did check and this one is different on the following basis. I will award points and apologies if I forgot to do so - I will check the previous one and do so while I await for a response on this one.
Anyway, the difference in this case is that I am considering an "in and out of nPar to a vPar" as opposed to "in and out of vPar to another vPar". I do hope I'm making ense :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 02:59 AM
01-25-2007 02:59 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
If I am not mistaking it, we can not view available resources that are not assigned to any Vpar, from there if we can not view them, we can not assign them.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:03 AM
01-25-2007 03:03 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
This is bad news....it seems that one has to create an "extra vPar" just to be able to "borrow" extra CPUs :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:20 AM
01-25-2007 03:20 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
If I understand ypur question correctly, which I would summarise as follows:
If I have an nPar with 4 CPUs in it, and a vPar in that nPar with 2 CPUs in it, can I assign the 2 unallocated CPUs to the vPar?
The answer is YES of course you can - use 'vparstatus -A' to view unallocated resources, then the usual vparmodify commands as you see fit...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:23 AM
01-25-2007 03:23 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
Do you know if the CPU allocation can be automated via Workload Manager ?
Thanks
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:28 AM
01-25-2007 03:28 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
Yes. Dynamic CPU allocation is a function of WLM. WLM simply executes vparmodify commands based on its configuration metrics.
Reveiw the wlm template called vpar_usage_goal. Very simple.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:31 AM
01-25-2007 03:31 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
I am grateful to you all.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:41 AM
01-25-2007 03:41 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
I'm not so sure your specific scenario will work with WLM - whilst WLM will happily move allocated CPU resources about between vPars, I'm not sure whether it will pay any attention to unallocated CPUs. Read the following:
http://docs.hp.com/en/B8843-90033/ch01s03.html#d0e437
Now this is describing a situation around iCAP, but the point I took from it is that WLM looks at CPUs which are *already assigned* to vPars when it starts.
Of course, if they're not iCAP CPUs I can't think of a reason why you wouldn't want to have all of your CPUs assigned to some vPar - otherwise you're paying for them and not using them...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 03:46 AM
01-25-2007 03:46 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 04:13 AM
01-25-2007 04:13 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
So you have another nPar that you're going to 'borrow' active cores from (by moving around where the iCAP cores are)? Well WLM *will* manage that.
The situation described in the link I posted was just for where iCAP wasn't involved (i.e. the CPUs were active, just not assigned to a vPar).
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 04:15 AM
01-25-2007 04:15 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
http://h20338.www2.hp.com/hpux11i/downloads/resizing.partitions.with.wlm.pdf
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 04:36 AM
01-25-2007 04:36 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 07:14 AM
01-25-2007 07:14 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
when you are creating a vPar, you are specifying the minimum, maximum and current (total) number of CPUs.
example:
-a cpu:::2:4
(min 2, max 4)
-a cpu::3
(total 3)
In this case you can add 1 other, unallocated CPU to the vPar (check this with vparstatus) by issuing
vparmodify -P name -a cpu::1
this will add 1 CPU to the vPar - same for reduce the total number (-d switch)
For the 11.11 version the minimum stands for the "bound" CPUs.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 08:41 PM
01-25-2007 08:41 PM
Re: Dynamic CPU allocation into vPar from enclosing nPar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 11:10 PM
01-25-2007 11:10 PM
Re: Dynamic CPU allocation into vPar from enclosing nPar
So what we did instead was to create a simple regular cron job that does a ruptime (enable RWHOD in your netdaemons config file). If it finds that a partition is overloaded, it drops a core from a less-loaded partition and adds it to this one. You could do a similar thing, but also/instead activate a T-ICAP cpu for a while to get you over the peak in processing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 12:24 AM
01-26-2007 12:24 AM
Re: Dynamic CPU allocation into vPar from enclosing nPar
Regards
Martin