Operating System - HP-UX
1752830 Members
3676 Online
108789 Solutions
New Discussion юеВ

Re: number of cpus wrong on vpar

 
Geoff Wild
Honored Contributor

number of cpus wrong on vpar

On one of my rx8640's, I have 5 vpars.
1 vpar hung - tried to add a cpu - and it stayed in pending state.
Had to soft reset it.
After it booted, strange thing happend - cpu resource summary shows it has 2 cpus - but it doesn't - OS only has 1!

vpar in question is pcvp1105:

[Virtual Partition Resource Summary]
CPU Num Num Memory Granularity
Virtual Partition Name Min/Max CPUs IO ILM CLM
============================== ======= ==== ==== ========== ==========
pcvp1101 1/ 2 2 5 1024 1024
pcvp1102 2/ 4 2 5 1024 1024
pcvp1103 1/ 4 1 5 1024 1024
pcvp1104 2/ 4 2 6 1024 1024
pcvp1105 1/ 2 2 5 1024 1024



Yet in a -d output it only has 1:

# vparstatus -d
CPU Cell Config Sibling Information
path CPU LID ID Status Assigned to Path /vPar name
===== ================== ==== ====== ================== =======================
0.120 0x0 0 E pcvp1101 0.121 pcvp1103
0.121 0x1000000 0 E pcvp1103 0.120 pcvp1101
0.122 0x4000000 0 E pcvp1102 0.123 pcvp1102
0.123 0x5000000 0 E pcvp1102 0.122 pcvp1102
0.124 0x8000000 0 E - 0.125 -
0.125 0x9000000 0 E - 0.124 -
0.126 0xc000000 0 E - 0.127 -
0.127 0xd000000 0 E - 0.126 -
1.120 0x10000 1 E pcvp1101 1.121 pcvp1105
1.121 0x1010000 1 E pcvp1105 1.120 pcvp1101
1.122 0x4010000 1 E pcvp1104 1.123 pcvp1104
1.123 0x5010000 1 E pcvp1104 1.122 pcvp1104
1.124 0x8010000 1 E - 1.125 -
1.125 0x9010000 1 E - 1.124 -
1.126 0xc010000 1 E - 1.127 -
1.127 0xd010000 1 E - 1.126 -


icapstatus:

Local nPartition Status (Wed Apr 9 20:31:07 2008)
-------------------------------------------------
Total number of configured cores: 16
Number of Intended Active cores: 8
Number of active cores: 8
Number of inactive cores: 8



And of course if I try to add a cpu to pcvp1105 - it fails:

# icapmodify -a 1 -t "add a core:gwild"

NOTE: This request may take one or more minutes to complete.


ERROR: The processing of this request has timed out.
ERROR: Unable to satisfy the request. 1 cores are still active in
this virtual partition.

Yet I can add icap to another vpar at will and delete it.

How to fix the issue with the wrong cpu's assigned to pcvp1105? I figure that's why it won't let me icap - as it thinks it has 2 cpus (which is its max).

Also - I do NOT want to have to reboot.

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
2 REPLIES 2

Re: number of cpus wrong on vpar

Geoff,

Have you tried a "vparmodify -m" (can't remember the syntax I'm afraid) to set the current number of CPUs in pcvp1105 to 1? Maybe that will reset something in the vpdb which is confused?

Pretty much a guess I'm afraid.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Geoff Wild
Honored Contributor

Re: number of cpus wrong on vpar

A reboot of the npar (we took it down as we added 32 more gig of ram) fixed the issue.

What I learned - don't try to vparmodify vpars if they are hung - TOC them first, then run your vparmodify commands...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.