parspec.5 (2010 09)

p
parspec(5)
For OA Based Partition Management Systems
parspec(5)
The parspec change policy attribute of the nPartition gives the customer the ability to choose the behavior
in these cases. If the parspec change policy is enabled (default), the affected partition operation is contin-
ued with available or modified resources or attributes after making the required changes in the parspec.
If the parspec change policy is disabled, the affected partition operation is failed and no changes are
made to the parspec.
For example, consider the scenario where the memory granularity specified by the user cannot be accom-
modated by the system and a new memory granularity value has to be applied. This is likely to affect the
virtual partition memory sizes specified by the user and stored in the parspec since they will have to be
rounded up to be a multiple of the new memory granularity. Users may want to make virtual partition
memory size adjustments manually and not have the system make any changes in the virtual partition
memory sizes they have assigned. In that case, they would have to disable the parspec change policy for
the nPartition before they configure and boot virtual partitions.
Additional examples of resources that would require modification to allow a partition to boot are: non-
existent root ports, deconfigured root ports, oversubscription of CPUs, or non-existent socket for socket-
local CPUs or socket-local memory assignment to virtual partitions. Note that nPartition resources may
be assigned to an nPartition without being activated. Since assignment and activation of nPartition
resources can be performed independently, they need not be removed from a parspec in the event of a
deconfiguration, and will not prevent the nPartition from booting.
EXAMPLES
Create an alternate
parspec myPs1 containing the blade in enclosure 1 slot 1.
parcreate -C myPs1 -a blade:1/1:base:y:ri:75%
Create an nPartition with a current parspec named
myParspec2, containing the blade in enclosure 1
slot 2.
parcreate -C:y myParspec2 -a blade:1/2:base:y:ri:25%
Create a two blade nPartition nextPartition
from a saved parspec nextPartition_copy.
parcreate -Z nextPartition_copy
Modify alternate parspec AppSpec to add a new blade in enclosure 1 slot 3 to the nPartition definition.
parmodify -Z AppSpec -a blade:1/3:base:y:ri:50%
Create a new alternate parspec from the current, active nPartition 1 (save the configuration).
parmodify -p 1 -c newPartition
Remove inactive nPartition 2 and it’s associated current
parspec.
parremove -p 2 -Z
Remove an alternate parspec myParspec.
parremove -Z myParspec
Display the list of current parspecs.
parstatus -z -P
Display the list of all parspecs, both current and alternate.
parstatus -z
Display the nPartition configuration information maintained in the default parspec for nPartition 1,
ps0001. Note that this command can be performed on either a current or alternate parspec.
parstatus -Z ps0001
Display the virtual partition configuration information for all defined virtual partitions maintained in the
default
parspec for nPartition 3, ps0003. Note that this command can be performed on either a
current or alternate parspec.
vparstatus -Z ps0003
Save the current configuration of nPartition 1, and switch to an alternate configuration.
parmodify -p 1 -c Saved_Config
poweroff partition 1
parremove -p 1
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010