IBM Support

WRKSHRPOOL Does Not Show Full Memory That is Installed

Troubleshooting


Problem

If additional memory is added to a stand-alone system (no HMC attached), it can be seen when doing a WRKHDWRSC *PRC and also shows up as operational in HSM hardware service manager. However, it does not show up in WRKSHRPOOL. The WRKSHRPOOL command will still show the original amount of memory that was installed. This document describes how to correct this problem.

Cause

This condition is caused by the server being partitioned (usually by accident) using Virtual Partition Manager (VPM) in IBM i System Service Tools (SST).  A stand alone server can be partitioned by going into service tools using the STRSST command, option 5 - working with System Partitions, then continuing past the notification screen that says "PRESS ENTER TO CONFIRM USING VIRTUAL PARTITION MANAGER TO PARTITION THE SERVER".  If ENTER is pressed, the server is immediately partitioned as a one partition system and the current number of processors and memory assigned to the one partition.  After this point if more memory is added, or a Capacity on Demand code is entered to activate more processors, the new processor and/or memory will simply sit "available" and has to be manually assigned to a partition using VPM.

Resolving The Problem

If additional memory is added to a stand-alone system (no HMC attached), it can be seen when doing a WRKHDWRSC *PRC and also shows up as operational in HSM hardware service manager. However, it does not show up in WRKSHRPOOL. The WRKSHRPOOL command will still show the original amount of memory that was installed.

If the server was accidentally partitioned and you do not want/need to keep it partitioned,

the server can be returned to a stand-alone server (a.k.a. Manufacturing Default Configuration - MDC) by doing the following:

  1. Issue the System Service Tools (STRSST) command and enter your service tools user and password
  2. Option 5. Work with system partitions
  3. Option 4. Clear configuration data
  4. Press F10 to Clear configuration data
  5. When exiting SST, it allows an F10 to IPL; however, it is suggested to use F3 to exit and continue working, allowing a standard IPL from the command line to complete the operation of returning the system to MDC at a convenient/scheduled time


If you want/need to keep the server partitioned,

possibly due to processor licensing, do the following to add the memory to the partition configuration:

  1. Issue the System Service Tools (STRSST) command, and select the following options:
  2. Option 5. Work with system partitions
  3. Option 3. Work with partition configuration
  4. Take note of the  Memory region size on the top part of the screen
  5. Use option 2 next to the desired partition to change the configuration


In the memory configuration section, update the New size and the Maximum size to the desired amounts. Once the changes have been made, a PWRDWNSYS RESTART(*NO) and then power back on from front panel are required for them to take effect.

Example of the memory configuration section:

Size of available memory (MB)  . . . . . . . :  11907
Size of partition memory (MB)  . . . . . . . .  4096
Minimum / maximum size of memory (MB)  . . . .  648      / 4096

Notes:

  • The Maximum value you enter cannot be a full size of total memory as hypervisor requires a reserved amount, specific to the configuration.
  • The Maximum and Current values must be multiples of the memory region size (typically 256 MB)

The Current and Available values can assist to determine the New and Maximum values.

Example
o Add the Current (4096) + Available (11907) = to get a total (16003)
o Divide that total 16003 by memory region size (256) to get 62.5 (how many times 256 goes into the total evenly )
o Use that to find next closest multiple of 256 below the 16003 (256 x 62 from previous step ) = 15872
o Reduce the amount required by the Hypervisor; in this example, another 256, so 15872-256 which gives a value of 15616.

Size of available memory (MB) . . . . . . . : 11907 
Size of partition memory (MB) . . . . . . . . 15616 
Minimum / maximum size of memory (MB) . . . . 648 / 15872


6. Once the changes have been made, exit Service Tools. When exiting, it allows an F10 to IPL; however, it is suggested to use F3 to exit and continue working, allowing a standard IPL from the command line for the changes to take effect at a convenient/scheduled time

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CGbAAM","label":"General Information"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

568628542

Document Information

Modified date:
15 August 2022

UID

nas8N1012101