HP Superdome 2 Partitioning Administrator Guide (5900-2206, March 2012)
8 Managing and Booting Virtual Partitions
This chapter addresses the following topics:
• “Modes: Switching between nPars and vPars Modes ” (page 92)
• “Managing: Creating a Virtual Partition” (page 96)
◦ “Booting a Virtual Partition” (page 96)
◦ “Managing: Modifying attributes of a Virtual Partition” (page 97)
◦ “Commands: Displaying vPars Resource Information (vparstatus)” (page 98)
◦ “Shutting Down or Rebooting a Virtual Partition” (page 102)
◦ “Shutting down all Virtual Partitions” (page 103)
◦ “Managing: Removing a Virtual Partition” (page 103)
Modes: Switching between nPars and vPars Modes
Modes
The mode can be set for an nPartition during creation time using the parcreate or the parmodify
command. Mode switching can thus be performed from the OA CLI. For vPars usage, there are
only two modes:
• vPars
Sets the next nPartition boot, to boot into the vPars environment. This enables you to boot to
the vPars mode, thereby booting all the virtual partitions in the nPartition.
• nPars
Sets the next nPartition boot, to boot into the standalone environment. In this mode, you cannot
boot the virtual partitions. However, you can boot any OE instance into the standalone mode.
For an nPartition that is already inactive, the mode switch occurs when the inactive nPartition
is booted.
After a mode switch of the nPar from nPars mode to vPars mode, any prior SLM specification is
lost from the vPar and the containing nPar. This is due to the system behavior which sets the SLM
to the vPar default of 0%. To recover from this situation:
1. Poweroff the nPartition.
2. Ensure that the partition is in vPars mode before continuing with the next step.
3. Run parmodify to configure the SLM value, which is a part of the blade attributes:
parmodify -p<nPar_id> -m
blade:<blade_path>:[blade_type]:[use_on_next_boot]:[failure_usage]:[slm_value]
4. Repeat the previous step for al lthe blades from which SLM should be drawn.
5. vparmodify the virtual partitions to set the SLM (this is needed to set the SLM back to the vPar
which was removed as part of the previous vPar poweron attempt because the containing
nPar was not configured for SLM.
vparmodify -N<nPar_id> -p<vPar_id> -a socket:<socket_path>:mem::<slm_value>
6. Poweron the nPartition.
Setting the mode using the OA GUI
The mode can be set for an nPartition during creation time using the Boot Options in the Modify
nPartition Window. Mode switching can thus be performed from the OA GUI.
To set the mode using OA GUI:
92 Managing and Booting Virtual Partitions