1837793 Members
14380 Online
110120 Solutions
New Discussion

vPar memory reassignment

 
ShanA_2
Occasional Advisor

vPar memory reassignment

Hi All
some one please help me to reconfigure my vpar configuration.
currently we have two vpars running with
vPAR1 CPU:6 MEMORY:20GB
vPAR2 CPU:4 MEMORY:4GB

i Need to re-allocate the memory configuration from 20Gb to 18Gb and assign the 2GB to vPAR2,

could some one please confirm the below commands are correct.
shutdown vPAR1 and executing
vparmodify -p vPAR1 -m mem::18432
vparmodify -p vPAR2 -a mem::2048
looking forward for your answers- thanks in advance

shan A
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: vPar memory reassignment

shutdown vpar1 and modify from vpar2:

vparmodify -p vPAR1 -d mem::2048

(decrease 2GB mem)

now boot vpar1, shutdown vpar2 and add the memory.
(with newer versions you can add memory online)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
skt_skt
Honored Contributor

Re: vPar memory reassignment

which partition manager & vpar version you have?
ShanA_2
Occasional Advisor

Re: vPar memory reassignment

currently we are running vpar version
A.03.04.06 HP-UX Virtual Partitions

Sandy Chen
Honored Contributor

Re: vPar memory reassignment

Hi,

Torsten is correct,

- shutdown VPAR1
- vparmodify -p vPAR1 -d mem::2048
- boot VPAR1
- shutdown VPAR2
- vparmodify -p vPAR2 -a mem::2048

regards,
Sandy
I never think of the future. It comes soon enough.
ShanA_2
Occasional Advisor

Re: vPar memory reassignment

thanks you sandy and Torsten.

The changes were done well,

i'm curious to know what is the difference between using -m and -d options, since i have tried both the options, both worked in the same way, other than specifing "total memory" or "to be added portion" ?
Torsten.
Acclaimed Contributor

Re: vPar memory reassignment

The manual say regarding the memory:

"The basic syntax for adding or decreasing ILM resources assigned to a virtual partition is

vparmodify ... -[a|d] mem::size
where
a is adding
d is decreasing
size is the quantity of ILM in MBs"

Never tried "-m", no idea if this works too.

If your problem is solved now, please read this:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
ShanA_2
Occasional Advisor

Re: vPar memory reassignment

vpar1#shutdown -y -h 0
from vpar2 change the parameters for vpar1
vpar2#vparmodify -p vpar1 -d mem::2048
vpar2#vparstatus
vpar2#vparboot -p vpar1
vpar2#shutdown -y -h 0
change to vpar1 and execute the following
vapr1#vparmodify -p vpar2 -a mem::2048
vpar1#vparboot -p vpar2
vpar1#vparstatus