Operating System - HP-UX
1843977 Members
2098 Online
110226 Solutions
New Discussion

Documents Guide VPAR Manager

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

Documents Guide VPAR Manager

Hi,
i need modify the memory in the VP.

The Host server is RX7640. The server have 4 VPar

i need quit memory in the VPAR 1 and assinged more memory in the VPAR 2

Any know procedure? or manual HP VP?

Thanks
16 REPLIES 16
Berd
Trusted Contributor

Re: Documents Guide VPAR Manager

Eli,

You will firstly need to identify memory components you wish to move using vparstatus, and then deallocate using vparmodify with a -d option, and the add to required partition with vparmodify -a option.

HTH

Berd
Torsten.
Acclaimed Contributor

Re: Documents Guide VPAR Manager

Do you have dynamic memory?


If not, stop the first vPar, reduce the memory, start again.

Then stop second vpar, add memory and start again.

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!   
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

How can see memory dynamic or not?
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

this change do as loggin in the VPar1? in the case the quit memory.

where do loggin to change memory?

Torsten.
Acclaimed Contributor

Re: Documents Guide VPAR Manager

You can do the modification from any running vPar.

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!   
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

Torsten, I have VPAR modify down? or I can VPAR start?

Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

The Version VPar.

SAPL917:/> vparstatus -V
Version 2.0

Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

anex example:

the vpar SAPL917 has 10 GB
the vpar SAPL930 has 4 GB

I need delet 6 gb from SAPL917
The VPAR SAPL917 before change:
SAPL917 4 GB

I need add 6 GB from SAPL930
The VPAR SAPL930 before change:
SAPL930 10 GB

commands apply:
vparmodify -p SAPL917 -d cell:0:mem:6144

vparmodify -p SAPL930 -a cell:0:mem:6144

This correct?
Berd
Trusted Contributor

Re: Documents Guide VPAR Manager

Eli,

You are missing a colon in the vpar commands, and you can also specify FLOAT if the memory is not cell local

vparmodify -p vpar1 -d cell:6:mem::32768:FLOAT

vparmodify -p vpar2 -a cell:6:mem::32768:FLOAT

Regards,
Berd
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

Berd, I dont understand the command "FLOAT"
Torsten.
Acclaimed Contributor
Solution

Re: Documents Guide VPAR Manager

This is dynamic memory, you should read the chapter

Memory: Concepts and Functionality

in admin guide!

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!   
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

Torsten,

I need quit 6 GB to Vpart SAPL917

I need add 6 GB to Vpart SAPL930

anex:
SAPL917:/> vparstatus
[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ============ ======================= =====
SAPL930 Up Dyn,Auto,Asr /stand/vmunix -lq
sback900 Up Dyn,Auto,Nsr /stand/vmunix -lq
SAPL916 Up Dyn,Auto,Nsr /stand/vmunix -lq
SAPL917 Up Dyn,Auto,Nsr /stand/vmunix -lq

[Virtual Partition Resource Summary]
CPU Num Num Memory Granularity
Virtual Partition Name Min/Max CPUs IO ILM CLM
============================== ======= ==== ==== ========== ==========
SAPL930 4/ 4 4 4 128 128
sback900 2/ 4 2 4 128 128
SAPL916 2/ 4 2 4 128 128
SAPL917 2/ 4 2 4 128 128

Memory (MB)
ILM CLM
# User # User
Virtual Partition Name Ranges/MB Total MB Ranges/MB Total MB
============================== ====================== ======================
SAPL930 0/ 0 4095 0/ 0 0
sback900 0/ 0 5120 0/ 0 0
SAPL916 0/ 0 12668 0/ 0 0
SAPL917 0/ 0 10240 0/ 0 0
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

this change could be online?
Torsten.
Acclaimed Contributor

Re: Documents Guide VPAR Manager

Non floating (non dynamic) memory cannot be changed 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!   
Berd
Trusted Contributor

Re: Documents Guide VPAR Manager

Eli,

Try vparstatus -v, this will show if you have any floating memory.

Berd
Eli Daniel
Super Advisor

Re: Documents Guide VPAR Manager

Yhanks
the command apply:

vparmodify -p SAPL917 -d mem::6144
vparmodify -p SAPL930 -a mem::6144

the change suscesfully