- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PRM on Service Guard
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
02-04-2008 04:18 PM
02-04-2008 04:18 PM
Hi Admins,
I have two node cluster ( N4000 running hpux 11.11) with 4 packages running on node1 and 6 packages running on node2. Due to some performance issue we want to move one package to node2 from node1.
I want to allocate some resource dedicatedly to that package at the time of failover. That is when ever failover happens I need to allocate some resource to that package on node1.
I have gone through some hp docs and found it is possible through PRM.
My question is, is it advisable to do so?. Has any one of you done this before.
If yes how can it be done?
Your expert advice is required for me to proceed further.
I am not familiar with PRM.
Thanks,
Sreeram
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2008 05:29 AM
02-05-2008 05:29 AM
Re: PRM on Service Guard
Please help..
thanks Sreeram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2008 10:58 AM
02-05-2008 10:58 AM
Re: PRM on Service Guard
PRM is a big pricey tool that can help you manage performance. It has a lot of bells and whistles and a learning curve.
If other performance enhancers like more memory or CPU's are not available you may wish to consider it.
You need to take a cold hard look though whether its not best to just provide your operations department some sudo enabled fail over scripts they can use when top or glance looks sluggish.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2008 11:24 AM
02-05-2008 11:24 AM
SolutionThe reason:
Let's say you want to allocate 25% of processing to a particular application and it's set of related tools. If you turn on the "CAP" in which the program can never take 25% percent of available resources, then even if the rest of the machine is idle, you'll only consume 25% of the total CPU. If you don't turn on the "CAP" then you're programs assigned to 25% may exceed the 25% limit, if there are unused cycles left on the box. So, if you put this in "NONCAP" mode, your program could theoretically use 100% of the server, if the rest of the server was unused. Of course, if it was 50% unused then only that portion would be available to you.
So you get to pick one of the modes, CAP or UNCAPPED. After testing it out, you'll probably pick UNCAPPED of the two. Just because it seems silly to have extra processing horsepower waiting around not use it.
In either case, once you're either "CAP"mode or you're exceeding the capacity of the box in UNCAPPED mode, and thus, in either case, PRM is now working for you.
The problem becomes, if you're allocation is 25% for this program - you're NOT going to get 25% of your 8 cpus in the box, which would be two processors available to program. Nu-uh, what you're going to get is 25% of EVERY processor! Sounds good right? Maybe and Maybe not. Since you've got an N4000, the fastest chips for that thing were, I believe, 550 Mhz. So 1/4 of 550 is about 138 Mhz. So, if your program is single threaded, then the single thread will be effectively running on a 138Mhz proc. That is, ... v e r y s l o w l y. And the rest of your 1/4% of processing would be ... idle, or not depending on the setting of CAP.
So, using PRM you'd think you're getting 25% of 8 cpus, which would be two 550 Mhz cpus! The problem is - you're not. You're going to get 1/4 of 8 CPUS.
In other words, you're processor allocation becomes 8 SLOW processors, instead of two fast ones.
What's wrong with this? Well, it depends, 8 slow procs may be good for some applications, like maybe a medium to light weight web server. But it's terrible for a database, a java servlet, etc. It's not good for anything that best utilizes any single full speed processing.
So, if the process you're moving has numerous processes that come up and go away very quickly, then PRM works fine. If your process is one that spawns several very hard working processes that stay active for extended lenghts of time, then you'll be dissapointed.
PRM is a great tool and it has its place, but sometimes it is difficult to place it correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2008 12:21 PM
02-05-2008 12:21 PM
Re: PRM on Service Guard
Thanks Steven and twoproc for your reply. Let me talk to my management with these details.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2008 04:41 AM
02-06-2008 04:41 AM
Re: PRM on Service Guard
Do not use CPU Capping as outlined above.
PRM is good for serviceGuard environments. Lets say that system A has a application that uses 80% of the CPU. System B has a application that uses 70% of the CPU. IN a failover you want application A to get 70% of the CPU and application B to get 20% of the CPU. When there is extra capacity before failover without CPU capping the applications can use the extra CPU and memory that is not allocated so PRM really only benefits when you are at 90% or more CPU and there is a contention for resources.
I hope this helps.