cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing Memory in Vpar

SOLVED
Go to solution
Renu_1
Occasional Advisor

Increasing Memory in Vpar

I want to increase the memory by 8GB, is there any free memory available from the above output. I am not able to make sure whethere there is enoguh memory available or not.

abcd:/:> vparstatus -A
[CPUs (path)]: 0.10
2.14
2.15
2.16
2.17
[CLP (CellID Count)]: 0 1
1 0
2 4
[Available CPUs]: 5

[Available I/O devices (path)]: 0.8.1
2.0.8
2.0.9
2.0.10
2.0.12

[Available ILM (Base /Range)]: 0x3000000/80
(bytes) (MB) 0x48000000/896
0x36c8000000/37248
[Available ILM (MB)]: 38224

[Available CLM (CellID Base /Range)]:
(bytes) (MB)
[Available CLM (CellID MB)]: 0 0
1 0
2 0

Can you please help me on it.
I do not how to check free memory in vpar.

Thanks to all in advance
6 REPLIES
Turgay Cavdar
Honored Contributor
Solution

Re: Increasing Memory in Vpar

It already tells you that you have 38GB free RAM.
Available ILM (MB)]: 38224
Renu_1
Occasional Advisor

Re: Increasing Memory in Vpar

Hi Turgay,

Thanks for making me understand.
I need to increase memory by 8Gb. I need to give following command from another vpar.

#vparmodify -p abcd -a mem::8192


Can you please confirm the command
Steven E. Protter
Exalted Contributor

Re: Increasing Memory in Vpar

Shalom,

Command looks good if you are adding 8 gb of ram to vpar abcd

Reference: HP-UX virtual partitions marty poniatowski.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Turgay Cavdar
Honored Contributor

Re: Increasing Memory in Vpar

As Steven say your command is ok.

If you have hp-ux 11.31 you can also add floating RAM, that you can add/remove RAM without shutting down the OS:
vparmodify -p -p abcd -a mem::8192:float
Ganesan R
Honored Contributor

Re: Increasing Memory in Vpar

Hi Renu,

Few examples for your reference to add the memory.

Syntax
The basic syntax for adding or decreasing ILM resources assigned to a virtual partition is
-[a|d] mem::size
where
a is adding
d is decreasing
size is the quantity of ILM in MBs
Examples
To create the virtual partition winona1 with 1024 MB of ILM:
winona1# vparcreate -p winona2 -a mem::1024

To add 1024 MB of ILM to an existing partition winona2:
winona1# vparmodify -p winona2 -a mem::1024

To decrease the amount of ILM assigned to partition winona2 by 1024 MB:
winona1# vparmodify -p winona2 -d mem::1024
Best wishes,

Ganesh.
Alzhy
Honored Contributor

Re: Increasing Memory in Vpar

If your on vPars A.5.x.x -- meaning HP-UX 11.31 then you should be able to dynamically add memory (no downtime). Turgay illustrated this in the syntax he posted.

If your on 11.11/11.23, then you need to have your target vPar shut down to add memory.

Hakuna Matata.