HP rp7440 nPartition Administrator's Guide, Second Edition - Page 173

Tools, Switch Complexes, parstatus -AC, parcreate -c

Page 173 highlights

Procedure 6-2 Creating a New nPartition (nPartition Commands) From the command line, use the parcreate command to create a new nPartition. You also can use the parstatus and parmodify commands to list nPartition and complex details and modify nPartition settings. NOTE: You can remotely perform this task using remote administration options supported by the Enhanced nPartition Commands or Partition Manager Version 2.0. Remote administration is supported by the Partition Manager Tools→Switch Complexes action and by the nPartition command -u... -h... options or -g... -h... options. For details see "Tools for Configuring nPartitions" (page 165). 1. Login to a system that enables you to list the current cell assignments and details. For example, login to HP-UX running on an existing nPartition in the server complex, or login to a system with the Enhanced nPartition Commands or Partition Manager Version 2.0. Plan your nPartition configuration by selecting which cells will comprise the new nPartition. Use the parstatus -AC command to list all unassigned (available) cells in the server complex. # parstatus -AC [Cell] CPU Memory Use OK/ (GB) Core On Hardware Actual Failed/ OK/ cell Next Par Location Usage Max Failed Connected To Capable Boot Num cab0,cell1 absent - - - - - - cab0,cell3 absent - - - - - - cab0,cell4 power on 4/0/4 2.0/0.0 cab 0,bay0,chassis3 yes - - cab0,cell5 absent - - - - - - cab0,cell6 power on 4/0/4 2.0/0.0 cab 0,bay1,chassis1 yes - - cab0,cell7 absent - - - - - - # You can select any of the cells listed to create the new nPartition; only the cells that are not "absent" are present within the server complex. All cells that you choose must meet the hardware requirements for nPartitions (for example, they all must have the same firmware revision). The cells also must form an HP-recommended nPartition configuration. At least one cell must have an I/O chassis with core I/O. 2. After confirming that cells you have chosen would establish a valid nPartition configuration, use the parcreate -c... command to create a new nPartition with the cells. The -c... option differs slightly for the nPartition command releases. When using the parcreate command, only specify the -B option if you want the nPartition to be booted and become active. The -B option causes parcreate to immediately boot the newly-created nPartition past the default shutdown for reconfig state. By not specifying -B, the new nPartition can be further modified because it will remain inactive at the shutdown for reconfig state (until you boot it using the BO command at the service processor Command Menu). If creating a single-cell nPartition, use just one -c option. To create a multiple-cell nPartition, specify the -c option multiple times (once for each cell) issuing a single command line. For example, with the Original nPartition Commands, the following command creates a one-cell nPartition: # parcreate -c4:base:y:ri -c6:base:y:ri Partition Created. The partition number is : 1 # Creating a New nPartition 173

  • 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
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266

Procedure 6-2 Creating a New nPartition (nPartition Commands)
From the command line, use the
parcreate
command to create a new nPartition. You also can
use the
parstatus
and
parmodify
commands to list nPartition and complex details and modify
nPartition settings.
NOTE:
You can remotely perform this task using remote administration options supported by
the Enhanced nPartition Commands or Partition Manager Version 2.0. Remote administration
is supported by the Partition Manager
Tools
Switch Complexes
action and by the nPartition
command
-u... -h...
options or
-g... -h...
options.
For details see
“Tools for Configuring nPartitions” (page 165)
.
1.
Login to a system that enables you to list the current cell assignments and details. For
example, login to HP-UX running on an existing nPartition in the server complex, or login
to a system with the Enhanced nPartition Commands or Partition Manager Version 2.0.
Plan your nPartition configuration by selecting which cells will comprise the new nPartition.
Use the
parstatus -AC
command to list all unassigned (available) cells in the server
complex.
#
parstatus -AC
[Cell]
CPU
Memory
Use
OK/
(GB)
Core
On
Hardware
Actual
Failed/ OK/
cell
Next Par
Location
Usage
Max
Failed
Connected To
Capable Boot Num
========== ============ ======= ======= =================== ======= ==== ===
cab0,cell1 absent
-
-
-
-
-
-
cab0,cell3 absent
-
-
-
-
-
-
cab0,cell4 power on
4/0/4
2.0/0.0 cab 0,bay0,chassis3 yes
-
-
cab0,cell5 absent
-
-
-
-
-
-
cab0,cell6 power on
4/0/4
2.0/0.0 cab 0,bay1,chassis1 yes
-
-
cab0,cell7 absent
-
-
-
-
-
-
#
You can select any of the cells listed to create the new nPartition; only the cells that are not
"absent" are present within the server complex.
All cells that you choose must meet the hardware requirements for nPartitions (for example,
they all must have the same firmware revision). The cells also must form an HP-recommended
nPartition configuration. At least one cell must have an I/O chassis with core I/O.
2.
After confirming that cells you have chosen would establish a valid nPartition configuration,
use the
parcreate -c
... command to create a new nPartition with the cells. The
-c...
option differs slightly for the nPartition command releases.
When using the
parcreate
command, only specify the
-B
option if you want the nPartition
to be booted and become active. The
-B
option causes
parcreate
to immediately boot the
newly-created nPartition past the default shutdown for reconfig state.
By not specifying
-B
, the new nPartition can be further modified because it will remain
inactive at the shutdown for reconfig state (until you boot it using the
BO
command at the
service processor Command Menu).
If creating a single-cell nPartition, use just one
-c
option.
To create a multiple-cell nPartition, specify the
-c
option multiple times (once for each cell)
issuing a single command line.
For example, with the Original nPartition Commands, the following command creates a
one-cell nPartition:
#
parcreate -c4:base:y:ri -c6:base:y:ri
Partition Created. The partition number is : 1
#
Creating a New nPartition
173