Dynamically turning on memory

2020-01-23 Thread Martha McConaghy
I have a feeling that this is a "dumb user" question, but googling around has 
not provided an answer that fits our environment.  Since I'm messing with a 
production system, I don't want to screw around and do something wrong.

I have an LPAR on a z15 that is running Ubuntu 18.04 native.  It has 768G of 
memory with 256G in reserve.  I need to turn on some of that 256G and have the 
Ubuntu system use it.  Under z/VM, its one command and you are done..   In 
this environment, I have no idea how to:

  1.  Get some of the 256G released from reserve
  2.  Get Ubuntu to use it

I'm sure that this is something that many of you have done before, so, please, 
help. Point me to a doc or something that describes the process.  The system is 
running KVM and openstack, and there are nearly 100 servers running on it.  So, 
I can't afford to reboot to turn on the memory.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Dynamically turning on memory

2020-01-23 Thread Marcy Cortes
I’ve never done it in an LPAR, but it should be the same.

Use chmem-e 256G

Use lsmem to check


Sent with BlackBerry Work
(www.blackberry.com)


From: Martha McConaghy 
mailto:martha.mccona...@marist.edu>>
Date: Thursday, Jan 23, 2020, 7:57 AM
To: LINUX-390@VM.MARIST.EDU 
mailto:LINUX-390@VM.MARIST.EDU>>
Subject: [LINUX-390] Dynamically turning on memory

I have a feeling that this is a "dumb user" question, but googling around has 
not provided an answer that fits our environment.  Since I'm messing with a 
production system, I don't want to screw around and do something wrong.

I have an LPAR on a z15 that is running Ubuntu 18.04 native.  It has 768G of 
memory with 256G in reserve.  I need to turn on some of that 256G and have the 
Ubuntu system use it.  Under z/VM, its one command and you are done..   In 
this environment, I have no idea how to:

  1.  Get some of the 256G released from reserve
  2.  Get Ubuntu to use it

I'm sure that this is something that many of you have done before, so, please, 
help. Point me to a doc or something that describes the process.  The system is 
running KVM and openstack, and there are nearly 100 servers running on it.  So, 
I can't afford to reboot to turn on the memory.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Dynamically turning on memory

2020-01-23 Thread Martha McConaghy
Oh, Doh!  That is just what I need.  Thanks so much, Marcy.  Guess my googling 
skills are on the fritz today.  Nothing I found mentioned either of those 
commands.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601


From: Linux on 390 Port  on behalf of Marcy Cortes 

Sent: Thursday, January 23, 2020 11:02 AM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: Dynamically turning on memory

I’ve never done it in an LPAR, but it should be the same.

Use chmem-e 256G

Use lsmem to check


Sent with BlackBerry Work
(www.blackberry.com)


From: Martha McConaghy 
mailto:martha.mccona...@marist.edu>>
Date: Thursday, Jan 23, 2020, 7:57 AM
To: LINUX-390@VM.MARIST.EDU 
mailto:LINUX-390@VM.MARIST.EDU>>
Subject: [LINUX-390] Dynamically turning on memory

I have a feeling that this is a "dumb user" question, but googling around has 
not provided an answer that fits our environment.  Since I'm messing with a 
production system, I don't want to screw around and do something wrong.

I have an LPAR on a z15 that is running Ubuntu 18.04 native.  It has 768G of 
memory with 256G in reserve.  I need to turn on some of that 256G and have the 
Ubuntu system use it.  Under z/VM, its one command and you are done..   In 
this environment, I have no idea how to:

  1.  Get some of the 256G released from reserve
  2.  Get Ubuntu to use it

I'm sure that this is something that many of you have done before, so, please, 
help. Point me to a doc or something that describes the process.  The system is 
running KVM and openstack, and there are nearly 100 servers running on it.  So, 
I can't afford to reboot to turn on the memory.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


Re: Dynamically turning on memory

2020-01-23 Thread Marcy Cortes
You're welcome!
All the z specific commands are in the Device Drivers books 
https://www.ibm.com/support/knowledgecenter/linuxonibm/liaaf/lnz_r_dd.html

There's a chapter on Managing hotplug memory 



-Original Message-
From: Linux on 390 Port  On Behalf Of Martha McConaghy
Sent: Thursday, January 23, 2020 8:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] Dynamically turning on memory

Oh, Doh!  That is just what I need.  Thanks so much, Marcy.  Guess my googling 
skills are on the fritz today.  Nothing I found mentioned either of those 
commands.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601


From: Linux on 390 Port  on behalf of Marcy Cortes 

Sent: Thursday, January 23, 2020 11:02 AM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: Dynamically turning on memory

I've never done it in an LPAR, but it should be the same.

Use chmem-e 256G

Use lsmem to check


Sent with BlackBerry Work
(www.blackberry.com)


From: Martha McConaghy 
mailto:martha.mccona...@marist.edu>>
Date: Thursday, Jan 23, 2020, 7:57 AM
To: LINUX-390@VM.MARIST.EDU 
mailto:LINUX-390@VM.MARIST.EDU>>
Subject: [LINUX-390] Dynamically turning on memory

I have a feeling that this is a "dumb user" question, but googling around has 
not provided an answer that fits our environment.  Since I'm messing with a 
production system, I don't want to screw around and do something wrong.

I have an LPAR on a z15 that is running Ubuntu 18.04 native.  It has 768G of 
memory with 256G in reserve.  I need to turn on some of that 256G and have the 
Ubuntu system use it.  Under z/VM, its one command and you are done..   In 
this environment, I have no idea how to:

  1.  Get some of the 256G released from reserve
  2.  Get Ubuntu to use it

I'm sure that this is something that many of you have done before, so, please, 
help. Point me to a doc or something that describes the process.  The system is 
running KVM and openstack, and there are nearly 100 servers running on it.  So, 
I can't afford to reboot to turn on the memory.

Martha


Martha McConaghy

Marist:  System Architect/Technical Lead

SHARE Association:  Vice President

Marist College IT

Poughkeepsie, NY 12601

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390