Site hosted by Angelfire.com: Build your free website today!
   
  pSeries Tech Tips
   
  AIX 5.2 - DLPAR
 

AIX Dynamic LPAR: 


Quickly and easily allocate system resources across multiple logical partitions 
Add resources such as newly activated CUoD processors without re-booting the server 
The new dynamic logical partitioning (dynamic LPAR) function provides enhanced resource management for the pSeries 670 and 690 servers. Dynamic LPAR allows available system resources to be quickly and easily configured across multiple logical partitions to meet the rapidly changing needs of your business. Dynamic LPAR also allows you to add new system resources such as newly activated CUoD processors or new hot plug PCI adapters into your system's configuration without requiring a re-boot. 

AIX 5L for V5.2 or later 
Hardware Management Console for pSeries with V1.3 or later software 

p670/p690 (7040-671 or 7040-681) system microcode (machine code) at the October 2002 update or later 

--------------------------

Question: What is required to enable dynamic capable LPARs?

Answer: An upgrade of AIX, HMC, and Platform Firmware is required. The required levels are as follows:

    AIX: 5.2
    HMC: Release 3, Version 1.0
    Platform Firmware: 10/2002 system firmware or later.

    To determine platform firmware level, on any AIX partition type:
      lscfg -vp | grep -p Platform.
    The last 6 digits of the ROM Level represent the Platform Firmware date in the format: "YYMMDD".

Question: Does the upgrade of the HMC or Platform Firmware affect my AIX 5.1 partitions?

Answer: The upgrade of Platform Firmware on some 5.1 systems may cause some systems difficulty in reboot. Thus, users are encouraged to apply APAR IY31961 on their AIX 5.1 partitions before upgrading Platform Firmware.
 

Question: What is the order for AIX, HMC, and Platform Hardware updates?

Answer: The recommended order is:
1. Install APAR IY31961 on AIX 5.1 partitions, if needed.
2. Upgrade the HMC to version 3.1.
3. Upgrade the Platform Firmware to 10/2002 or later.
4. For 5.2 partitions, perform AIX migration (from 5.1) or install.

 

Question: Where would I find latest versions or upgrades for: AIX or HMC or Platform Firmware?

Answer: Users should visit the software support sites:
AIX: techsupport.services.ibm.com/server/support?view=pSeries
HMC: techsupport.services.ibm.com/server/hmc
Users should consult their IBM Customer Engineers regarding latest Platform Firmware availability.

 

Question: Can dynamic and non-dynamic LPARs co-exist on the same pSeries?

Answer: Yes. The HMC GUI will not display Dynamic LPAR menus for partitions that are not DLPAR enabled.
 

Question: Is Linux DLPAR capable?

Answer: No.
 

Question: Do all DLPAR operations have to be done through the HMC GUI?

Answer: While it is recommended that users use the HMC GUI for dynamic resource re-allocation, it is possible for a user or script to execute commands on the HMC command line to perform dynamic resource operations on a dynamic capable partition.
 

Question: What conditions may impede DLPAR operations?

Answer: There may be cases where the resource that users wish to deallocate are not available because they are in use by the operating system or applications. In those cases, the operation may not complete until these resources are freed. Other cases may exist where the change of resource allocation may violate pre-set limits in the partition's profile.
 

Question: Are there special rules for DLPAR operations?

Answer: Dynamic operations with processors and memory typically require no special actions. However, the movement of "slots" does require special handling. When the user is moving a "slot", they are attempting to reallocate a resource that is attached to an adapter that is inserted in a slot. An example of this might be a CDROM drive or ethernet adapter that is used by one DLPAR partition that the administrator would like moved to another DLPAR partition. For cases involving slots, the user should:

  1. deconfigure the child device connected to the parent adapter.
  2. use the SMIT PCI Hot Plug procedures to remove the adapter (but don't physically remove the card).
  3. use the HMC GUI to move the slot from one Dynamic-capable partition to another.
  4. after the movement of the slot, re-enable the adapter via the "Hot-Plug" process and reconfigure the parent adapter and then the child device.

 

Question: How much time does it take for a DLPAR operation to complete?

Answer: In general, on a non-loaded system, a single processor move can take less than a minute. Memory moves may take a few more minutes than a processor move.
 

Question: How is the "detail level" option in the HMC used?

Answer: This sets the various level of debug output displayed during DLPAR operations. Additionally, this allows the user to see all the steps that AIX performed in the DLPAR operation providing tracing/logging information for debug and problem determination.
 

Question: How is the timeout value for DLPAR operations used by the HMC?

Answer: The user can set a time limit (in minutes) setting so that the DLPAR operation request will be canceled if the pre-set time limit is exceeded. An example is a situation requiring memory moves. When the memory cannot be re-allocated because resource memory is pinned to the physical memory, sometimes certain operations will take a very long time to complete. A time limit in this case may be used to limit the amount of retries that take place. A time limit of zero implies that there is no time limit.
 

Question: With a timeout limit of zero, how can I stop a command that may not complete because the DLPAR command will not succeed?

Answer: Although a user may set the timeout limit to zero, HMC and AIX each have a set of default behaviors that will ensure a DLPAR command, that will eventually fail, will return with the appropriate error message.
 

Question: If we do dynamic configuration, what will happen to the process pinned or accessing direct memory?

Answer: Nothing. If a process has pinned memory, the virtual memory manager transparently migrates the data to a new pinned physical page and atomically updates the virtual to real page mappings to point to the new physical page.
 

Question: Are there special AIX filesets or PTF levels required for DLPAR?

Answer: The installation of AIX 5.2 is adequate for current pSeries LPARs to perform dynamic operations.
 

Question: Are applications affected by DLPAR operations?

Answer: A large majority of applications should be DLPAR unaware, which means they are not programmed to take advantage of DLPAR capabilities from within the application. Thus, they should not be affected by DLPAR. Only programs considered "DLPAR aware" might be affected by DLPAR actions.
 

Question: What is a "DLPAR aware" application?

Answer: A DLPAR aware application cares about the resource levels allocated to the partition and can alter its behavior based on changes in the resource levels. AIX provides APIs for applications that wish to be DLPAR aware.
 

Question: What is the relationship between DLPAR and Capacity Upgrade on Demand (CUoD)?

Answer: DLPAR can be used to bring online a resource that has been activated through CUoD.
 

Question: How does Dynamic Processor Deallocation work with Dynamic Processor Sparing?

Answer: If spare (unlicensed CUoD) processors are available, the partition should be able to assign and bring online these processors before it deactivates a failing processor.
 

Question: How does affinity partitioning relate to DLPAR?

Answer: Users can perform DLPAR operations on I/O slots with affinity partitions, but not with processor or memory resources.
 

Question: Are there any examples of using the HMC command line to automate DLPAR?

Answer: The DLPAR toolset avaliable on alphaworks provides tools that automate DLPAR operations using the HMC command line.


Various sources for Information on DLPAR:
http://www.redbooks.ibm.com/redpieces/pdfs/sg247039.pdf 
chapter 3 is the best for Dynamic Lpars

The Redbook on 5.2 differences has a section on it...around page 104
http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006bb65f/a1866edc1dd53d2885256b96005a67ef?OpenDocument&Highlight=0,AIX

The AIX 52 install in a partition guide.
http://publib16.boulder.ibm.com/pseries/en_US/aixins/aixlparins/aixlparins.pdf  

Release notes has a section on dynamic LPAR http://publib.boulder.ibm.com/pseries/aixgen/relnotes/52_relnotes.htm http://publib.boulder.ibm.com/pseries/aixgen/relnotes/52RELNOTES/10073900.htm http://publib.boulder.ibm.com/pseries/aixgen/relnotes/52RELNOTES/10073900.htm#Header_59

AIX 5.2 install guide http://publib16.boulder.ibm.com/pseries/en_US/aixins/insgdrf/insgdrftfrm.htm http://publib16.boulder.ibm.com/pseries/en_US/aixins/aixlparins/aixlparinstfrm.htm

FAQ on LPARS and Planning http://www-1.ibm.com/servers/eserver/pseries/lpar/resources.html
http://www-1.ibm.com/servers/eserver/pseries/lpar/
http://www-1.ibm.com/servers/eserver/pseries/lpar/faq_5.html
http://www-1.ibm.com/servers/eserver/pseries/lpar/planning.html
http://www-1.ibm.com/servers/eserver/pseries/lpar/faq_3.html

HMC guides
http://techsupport.services.ibm.com/server/hmc?fetch=home.html
http://www.alphaworks.ibm.com/tech/dlpar

Announcement Letter
Redbook on 5.2 Differences
Release Notes
Documentation for 5.2

(slg2003)