HP Integrity Superdome 2 32-socket HP Superdome 2 Partitioning Administrator G - Page 81

CPU-core: Adding and Deleting by Total, vparcreate

Page 81 highlights

NOTE: On an HP Integrity Superdome 2 system, a vPar is created with zero CPUs by default. Therefore, the default cpu:::[min] value is zero. The default cpu::::[max] value is the total number of CPUs in the nPartition. The virtual partition must be in the "Down" state to set the minimum or maximum value. The total count of CPUs in the virtual partition must always be greater than or equal to min and less than or equal to max. Examples • To set the minimum number of CPUs to 2: vparmodify -N -m cpu:::2 • To set the minimum number of CPUs to 2 and the maximum to 4: vparmodify -N -m cpu:::2:4 CPU-core: Adding and Deleting by Total NOTE: A vPar can be modified only when it is in the "Down" state. The syntax to add or delete CPUs is: -a, -d, -m cpu::num where: -a, -d, -m cpu::num specifies adding, deleting, or modifying the total count of CPUs specifies the number of CPUs NOTE: • -d cpu::num syntax (deletion by total), or • -d socket:{socket_path}:cpu::num syntax (deletion by total in a specific socket), or • -d cpu:hw_path syntax (deletion by resource path) To add or delete CPUs, a virtual partition must be down. Deletion by total (cpu::num) is required when cores that were assigned by total are to be deleted. Deletion by path is required when cores added by path are to be deleted. The total increases or decreases by num when the -a or -d options are used and is set to num when the -m option is used. vparcreate With the vparcreate command, use the -a option and specify as num the number of CPUs allocated to the virtual partition. If no cpu syntax is given on the vparcreate command line, the default value for total cpu is 0. Planning Your Virtual Partitions 81

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

NOTE:
On an HP Integrity Superdome 2 system, a vPar is created with zero CPUs by default.
Therefore, the default cpu:::[min] value is zero. The default cpu::::[max] value is the total number
of CPUs in the nPartition.
The virtual partition must be in the “Down” state to set the minimum or maximum value.
The total count of CPUs in the virtual partition must always be greater than or equal to
min
and
less than or equal to
max
.
Examples
To set the minimum number of CPUs to 2:
vparmodify -N <nPar name> -m cpu:::2
To set the minimum number of CPUs to 2 and the maximum to 4:
vparmodify -N <nPar name> -m cpu:::2:4
CPU-core: Adding and Deleting by Total
NOTE:
A vPar can be modified only when it is in the “Down” state.
The syntax to add or delete CPUs is:
-a, -d, -m cpu::
num
where:
-a, -d, -m
specifies adding, deleting, or modifying the
total
count of CPUs
cpu::num
specifies the number of CPUs
NOTE:
-d cpu::
num
syntax (deletion by total), or
-d socket:{socket_path}:cpu::
num
syntax (deletion by total in a specific socket), or
-d cpu:
hw_path
syntax (deletion by resource path)
To add or delete CPUs, a virtual partition must be down.
Deletion by total (
cpu::
num
) is required when cores that were assigned by total are to be deleted.
Deletion by path is required when cores added by path are to be deleted.
The total increases or decreases by
num
when the
-a
or
-d
options are used and is set to
num
when the
-m
option is used.
vparcreate
With the
vparcreate
command, use the
-a
option and specify as
num
the number of CPUs
allocated to the virtual partition.
If no
cpu
syntax is given on the
vparcreate
command line, the default value for total cpu is 0.
Planning Your Virtual Partitions
81