Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old March 1st, 2007
bcarlson's Avatar
bcarlson Offline
Junior Member
 
Join Date: February 2007
Posts: 12
Question Change Entitlement of an inactive LPAR

Hey all,

I'm slowly getting my APV legs and have run into a stumbling block.

I understand changing entitlement for an LPAR that is active via the HMC and such.

How, or for that matter, can one do that for an inactive LPAR? Besides activating the LPAR, DLPARing and then shutting it down again?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old March 5th, 2007
estuart's Avatar
estuart Offline
Junior Member
 
Join Date: August 2006
Posts: 21
Re: Change Entitlement of an inactive LPAR

For an inactive lpar you would just adjust the settings by selecting the desired partition profile and modifying the properties.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old March 5th, 2007
bcarlson's Avatar
bcarlson Offline
Junior Member
 
Join Date: February 2007
Posts: 12
Re: Change Entitlement of an inactive LPAR

That only helps if the aim is to reactivate the LPAR.

Here's my situation:
The managed system is 100% allocated for processing units. An LPAR is inactive but is still reserved its entitlement. Is it possible to deallocate the inactive LPARs entitlement without changing the LPAR's profile or switching the profile, activate/DPLAR/deactivate the LPAR?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old March 5th, 2007
estuart's Avatar
estuart Offline
Junior Member
 
Join Date: August 2006
Posts: 21
Re: Change Entitlement of an inactive LPAR

Since the lpar is defined and it has a minimum cpu entitlement then that entitlement must be reserved by the hypervisor so that the lpar can start should it be turned on. To access some of that entitlement you would have to modify the partition's properties and lower its minimum cpu requirement or delete the lpar. If the lpar is off, modifying its entitlement should be trival.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old March 5th, 2007
bcarlson's Avatar
bcarlson Offline
Junior Member
 
Join Date: February 2007
Posts: 12
Re: Change Entitlement of an inactive LPAR

I would think this is easy to do, I just don't know how. Let me make the situation clearer.

I've got several LPARs, uncapped/shared on a p570.

I've got an lpar, that is currently down, with the following:
lshwres -r proc --level lpar -m p570 | grep LPAR
....curr_min_proc_units=0.2,curr_proc_units=1.0,cu rr_max_proc_units=1.0....

The pool is completely allocated:

lshwres -r proc --level pool -m p570
shared_proc_pool_id=0,configurable_pool_proc_units =16.0,curr_avail_pool_proc_units=0.0,pend_avail_po ol_proc_units=0.0


What I'd like to do is set this inactive LPAR to it's minimum allocation without activating/deactivating. WSM doesn't allow this as the LPAR is down (no DLPAR).

This seem like simple bookkeeping to me, I'm just looking for the proper book.

I would have thought chhwres would handle this, but the man page specifically mentions that only modifies a running LPAR.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old March 5th, 2007
ScriptDaddy's Avatar
ScriptDaddy Offline
Member
 
Join Date: December 2006
Posts: 41
Re: Change Entitlement of an inactive LPAR

It's not possible to modify or perform any operations on an LPAR that is in a down/de-activated state.

The LPAR would need to be activated for the hypervisor to perform any changes.

When you modify a LPAR profile, the hypervisor does not know about those changes until you activate the profile, which is when it's written to memory.

The only way around it is to activate and then de-activate your profile I'm afraid, unless you know someone who has access to the low level commands, that will write the updates to the Hypervisor direct. I only know of one bloke that has knowledge of those commands and he helps write the HMC software.

Ben
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old March 5th, 2007
bcarlson's Avatar
bcarlson Offline
Junior Member
 
Join Date: February 2007
Posts: 12
Re: Change Entitlement of an inactive LPAR

Okay, that's what I was beginning to suspect.

Recommended practice then would be to carefully consider DLPARing resources before bringing an LPAR down.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old March 5th, 2007
ScriptDaddy's Avatar
ScriptDaddy Offline
Member
 
Join Date: December 2006
Posts: 41
Re: Change Entitlement of an inactive LPAR

I understand it can be a hinderence, but it has been implemented this way for a reason. Imagine everytime you made a change to the profile it was updated on the Hypervisor, not a problem if you are 100% sure with things, but imagine if an inexperienced user accidently assigned all available and shared CPU's to a LPAR, you run the risk of seriously effecting performance or worse causing the system to fail.

The good thing about activating the profile is that is will complain should resource conflicts or lack of resources be found.

I'm sure in a future release of the HMC software they will remove this boundary, but in the mean time, it's a case of activate / deactivate.

Ben
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old March 6th, 2007
bcarlson's Avatar
bcarlson Offline
Junior Member
 
Join Date: February 2007
Posts: 12
Re: Change Entitlement of an inactive LPAR

Quote:
Originally Posted by ScriptDaddy
I understand it can be a hinderence, but it has been implemented this way for a reason. Imagine everytime you made a change to the profile it was updated on the Hypervisor, not a problem if you are 100% sure with
Ben
I agree, making profile changes apply to the Hypervisor as soon as they are made would be bad. Nevermind that multiple profiles could exist, how would you choose which profile settings to apply?

However, what I've been talking about is not a profile change. The behavior I have seen is that even though a shared LPAR is down, its last entitlement (which may be anywhere between min and max, whatever was last DLPARed) is reserved even though that LPAR is down. And there doesn't seem to be a way to affect that entitlement other than activate/DLPAR/deactivate.

Imagine I have 3 LPARS and 3 total processing units (3 CPUs). Each LPAR is set with shared, uncapped and:
min_proc_units=.5
desired_proc_units=1
max_proc_units=2

Start with L1 and L2 active, L2 was allocated max entitlement at some point. L3 is currently inactive
L1,active,curr_proc_units=1
L2,active,curr_proc_units=2
L3,inactive,curr_proc_units=0

At this point, L3 can't be activated. Say we down L2. L3 still can't be activated, checking the processor pool would show 0 proc_units available, with
L1,active,curr_proc_units=1
L2,inactive,curr_proc_units=2
L3,inactive,curr_proc_units=0

What should be possible is to set L2's curr_proc_units, even though it is currently down. I can understand reserving L2's proc_units, otherwise downing an LPAR may allow another LPAR to 'steal' enough proc_units that the original LPAR can no longer start: very undesirable.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old March 6th, 2007
ScriptDaddy's Avatar
ScriptDaddy Offline
Member
 
Join Date: December 2006
Posts: 41
Re: Change Entitlement of an inactive LPAR

I understand what your saying and also agree. I was mainly pointing out a scenario that could happen.

Like you mentioned earlier, any future DLPAR operations will need to be carefully thought through. As a rule of thumb I always try to ensure at least the minimum amount of CPU is still assigned to an LPAR i.e. not DLPAR'd out, removed etc, as you never know when you'll need to bring the LPAR back up.

Re: Your scenario.

L3 would be able to start if you downed L2, what you are seeing is what the Hyper Visor currently know's. Once you started L3, it would update it's config and allow the LPAR to start, as long as the CPU's were set to shared.

Sorry if I haven't made myself clear, I'll try to reword it better if that's the case.

Ben
__________________
IBM Certified Specialist - pSeries and p5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cpu Entitlement VirtualNewbie IBM PowerVM Editions 2 June 20th, 2007 07:21
how to add a virtual disk to a lpar? Melih IBM PowerVM Editions 6 May 24th, 2007 09:16
lpar physical resource cdrom TheDogBoy Hardware Management Console 6 April 26th, 2007 14:15



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50