Ok, thanks for the information. I will plan the memory on the guests 
accordingly.

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Pavelka, 
Tomas
Sent: Thursday, October 02, 2014 9:52 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Adding memory dynamically to a RHEL6.5 guest running under z/VM 6.3

One way is to have standby memory defined. 
For example, if you have user LINUX and want to have 512MB with the chance to 
go up to 2G, then you add the 2G as max memory on the USER directory statement:

USER LINUX PASWD 512M 2048M G 64

Then add the following statement to the user directory to define the remaining 
memory as standby:

COMMAND DEFINE STORAGE AS 512M STANDBY 1536M

If you set up the user like this, then from inside the Linux guest you can add 
memory at run time with the chmem command. For example, to add extra 512 M run:

chmem -e 512M

Note that it is not always possible to return the standby memory that you have 
once allocated without re-ipling the guest.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to