Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change maximum_mem for running LPAR in HMC Command Line

Status
Not open for further replies.

axelsche

MIS
Sep 5, 2001
53
DE
Hi,

I tried to add additional Memory to an existing LPAR with the following command.

[hscroot@hsyhmc02 hscroot]$ chhwres -m HKG_2 -p "E12/K12 hkgsap11" -r mem -o a -q 4

I got the following error message:

The quantity to be added would exceed the maximum resource allocation allowed in the profile. At the most, there can only be 0 added. Please retry command.

I checked:
[hscroot@hsyhmc02 hscroot]$ lshwres -m "HKG_2" -r mem --all

for the partition I want to change it says:
allocated free lmb_size max min partition system partition_name
16 13 256 16 4 001*7038-6M2*100FD7A HKG_2 E12/K12 hkgsap11

The profile says:
[hscroot@hsyhmc02 hscroot]$ lssyscfg -m HKG_2 -r prof -p "001*7038-6M2*100FD7A" --all
Name BootMode DesiredCPU DesiredMEM MaxCPU MaxMEM MinCPU MinMEM
4CPU/3GB 1 4 6144 4 6144 1 1024

Can I somehow change the maximum_mem parameter for the running partition??

I tried:
[hscroot@hsyhmc02 hscroot]$ chsyscfg -r lpar -m HKG_2 -n "001*7038-6M2*100FD7A" -i maximum_mem=6144

It gives no error message, but I still can't add additional memory to the partition.

Any ideas???

TIA
Axel
 
Have tried it from then HMC, not using command line? Or are you trying to do it the "fun"/"hard" way?

In the HMC, you just modify the profile to allow a higher max memory... ( ofcourse that's won't be activated until you shutdown and reactivate the partition).

I think it will require a reboot, to get the system to see the memory you want to add ( solely because the profile says the machine can't have that much. )

I could be wrong.... just my 2 cents.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top