HP Integrity Superdome 2 16-socket HP Superdome 2 Partitioning Administrator G - Page 94

Managing: Modifying Attributes of a Virtual Partition, Booting from the CLI, Examples

Page 94 highlights

Booting from the CLI To set the vPars environment, you must set the nPartition into vPars mode so that the next nPartition boot allows you to boot into vPars mode. To set the nPartition mode: 1. Set the nPartition in vPar mode. # parmodify -p -N vpars 2. Do one of the following: a. poweron partition {nPartition identifier}[:{vPar identifier}] (Not specifying a vPar will result in all of the vPars in the nPartition to be booted.) b. Use the pe command to prompt you for the partition to activate: Example 6 Booting a vPar pe This command controls power enable to a partition. Partition Partition Number Name 1 nPar0001 2 nPar0002 2:1 nPar0002:vPar0001 Q) Quit Select partition number: 2:1 The power state is OFF for partition 2:1. In what state do you want the power? (ON/OFF) on Managing: Modifying Attributes of a Virtual Partition You can modify the name of a virtual partition and its resource attributes using the vparmodify command when the virtual partition is in the Down state. For more information about resource attributes, see the vparmodify2 manpage on the OS or the vparmodify help on the OA. Examples • To rename the virtual partition vPar0001 to Bergen: vparmodify -N nPar0001 -p 1 -P Bergen • To add two processors to the virtual partition Oslo (cpu and core syntax): vparmodify -N nPar0001 -p vPar0001 -a cpu::2 or vparmodify -N nPar0001 -p vPar0001 -a core::2 • To add two socket-local processors from enclosure 1, blade 2, socket 0 to the virtual partition vPar0001 ((cpu and core syntax): vparmodify -N nPar0001 -p vPar0001 -a socket:1/2/0:cpu::2 or vparmodify -N nPar0001 -p vPar0001 -a socket:3/6/0:core::2 94 Managing and Booting Virtual Partitions

  • 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

Booting from the CLI
To set the vPars environment, you must set the nPartition into vPars mode so that the next nPartition
boot allows you to boot into vPars mode. To set the nPartition mode:
1.
Set the nPartition in vPar mode.
# parmodify
p <npar_name> -N vpars
2.
Do one of the following:
a.
poweron partition {nPartition identifier}[:{vPar identifier}]
(Not
specifying a vPar will result in all of the vPars in the nPartition to be booted.)
b.
Use the
pe
command to prompt you for the partition to activate:
Example 6 Booting a vPar
pe
This command controls power enable to a partition.
Partition
Partition
Number
Name
---------
---------
1
nPar0001
2
nPar0002
2:1
nPar0002:vPar0001
Q)
Quit
Select partition number: 2:1
The power state is OFF for partition 2:1.
In what state do you want the power? (ON/OFF) on
Managing: Modifying Attributes of a Virtual Partition
You can modify the name of a virtual partition and its resource attributes using the
vparmodify
command when the virtual partition is in the Down state. For more information about resource
attributes, see the
vparmodify2
manpage on the OS or the
vparmodify
help on the OA.
Examples
To rename the virtual partition vPar0001 to Bergen:
vparmodify -N nPar0001 -p 1 -P Bergen
To add two processors to the virtual partition Oslo (cpu and core syntax):
vparmodify -N nPar0001 -p vPar0001 -a cpu::2
or
vparmodify -N nPar0001 -p vPar0001 -a core::2
To add two socket-local processors from enclosure 1, blade 2, socket 0 to the virtual partition
vPar0001 ((cpu and core syntax):
vparmodify -N nPar0001 -p vPar0001 -a socket:1/2/0:cpu::2
or
vparmodify -N nPar0001 -p vPar0001 -a socket:3/6/0:core::2
94
Managing and Booting Virtual Partitions