1833859 Members
2532 Online
110063 Solutions
New Discussion

Re: vPar Configuration

 
SOLVED
Go to solution

vPar Configuration

Hi Friends,

I have 2 vPars in my Superdome npar and i have 2 Cpus Available not assigned to any vpar.

Vpar 1 - 4 CPU Allocated
5GB Ram Allocated
Vpar 2 - 2 CPU allocated
4 GB Ram allocated.

My requirements is

1. I want to add 1 CPU to Vpar 2 as Bound CPU by the command

vparmodify -p Vpar1 -m cpu::3 -mcpu:::3:8
shutdown -r (Vpar2)

2. I want to remove 2 GB Ram from Vpar1 and add it to Vpar 2.

Shutdown -h vpar1
Vpar2> vparmodify -p vpar1 -d mem::2048
vpar2> vparmodify -p vapar2 -a mem::2048
shutdown -r (Vpar2)

Is the commands and the procedure correct?

My doubt is in the secon instance do i need to give the amount of Mem i need to add or the total mem of 7 GB.

Pls suggest.
2 REPLIES 2
Torsten.
Acclaimed Contributor
Solution

Re: vPar Configuration

Hi,

according to the documentation you "ADD" memory, so your command

vpar1> vparmodify -p vpar2 -a mem::2048

will add 2GB memory to the existing amount.

Please note, you have to run this command from vPar1 when vPar2 is down.

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!   
Tim Nelson
Honored Contributor

Re: vPar Configuration

1) you can add and remove cpus to and from vpars on the fly, no need to shutdown, obviously cpu per vpar must be > 0.

2) As mentioned, shutdown vpar1 and use vparmodify ( or gui vparmgr )from vpar2 to modify mem and vice versa.