Operating System - HP-UX
1830895 Members
1472 Online
110017 Solutions
New Discussion

Re: add Unbound CPU to VPAR

 
Anitha_3
Frequent Advisor

add Unbound CPU to VPAR


hi,

i want add the unbound cpu to vpar..

below is the output of vparstatus. vpar2 is showing only one cpu.

it should be like the vpar1. where it shows 2 cpus.

its quite urgent..

thanks in advance.

regards,
Govind.

[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ========== ========================= =====
vpar1 Up Dyn,Auto /stand/vmunix
vpar2 Up Dyn,Auto /stand/vmunix

[Virtual Partition Resource Summary]
CPU Num Memory (MB)
CPU Bound/ IO # Ranges/
Virtual Partition Name Min/Max Unbound devs Total MB Total MB
============================== ================ ==== ====================
vpar1 2/ 4 2 0 5 0/ 0 4096
vpar2 1/ 4 1 1 5 0/ 0 4096
3 REPLIES 3
Shaikh Imran
Honored Contributor

Re: add Unbound CPU to VPAR

Hi Govinda,

You can do this by either of the below commands:
(1)
vpar1# vparmodify -p vpar2 -m cpu::2
This will modify the existing one cpu to 2
(here m = modify total cpu & vpar = one partition & vpar2 = second partition )
OR
(2)
vpar1# vparmodify -p vpar2 -a cpu::1
This will add the unbound cpu to the existing one
(here a = add to existing cpu & vpar = one partition & vpar2 = second partition )

And you should get 2 cpu's for partition 2 also.

Regards,


I'll sleep when i am dead.
Anitha_3
Frequent Advisor

Re: add Unbound CPU to VPAR

hi,

thanks for the reply, after
vpar1# vparmodify -p vpar2 -a cpu::1 doing this command the cpu is assigned to unbound state.

to make the cpu bound u have to use the following command.


#vparmodify -p vpar2 -m cpu::2 -m cpu:::2

(here -m cpu::2 --- no.of cpus. -m cpu:::2 -- no of cpus bounded)

any comments are welcome.

Thanks & regards,
Govind.



Shaikh Imran
Honored Contributor

Re: add Unbound CPU to VPAR

hi,

No ! Its not like that
Either of the above commands will
acheive the task you are looking for.
i.e. either you use (1) or (2) you will
get the results.
Try & revert back..

Regards,
I'll sleep when i am dead.