Installing and Managing HP-UX Virtual Partitions (includes A.04.02)
Monitor and Shell Commands
Modes: Switching between nPars and vPars Modes (Integrity only)
Chapter 5
96
...
Shell> fs0:
fs0:\> hpux /stand/vpmon
...
MON>
• Monitor: reboot [
mode
]
where
mode
has the value of either vPars or nPars
reboots the nPartition into the
mode
mode. If any virtual partitions are up, this will cause them to be
shutdown ungracefully.
• EFI: vparconfig [reboot
mode
]
where
mode
has the value of either vPars or nPars
sets the
mode
for the next nPartition reboot and then also reboots the nPartition.
Note that vparconfig is not a built-in EFI shell command. You must go to the disk (for example, fs0:)
to execute the vparconfig command.
Examples:
• To set the mode to vPars and then immediately reboot the nPartition into vPars mode:
Shell> fs0: /* first goto the disk */
fs0:\> vparconfig reboot vPars /* then you can execute vparconfig */
• To set the mode to nPars and then immediately reboot the nPartition into nPars mode
Shell> fs0: /* first goto the disk */
fs0:\> vparconfig reboot nPars
• EFI: parconfig [
mode
[-n] ]
where
mode
has the value of only nPars. parconfig does not allow you to set the mode to vPars
-n means no interactive prompts
NOTE: HP recommends using vparconfig instead of parconfig whenever possible; information on
parconfig is provided here as additional information or when vparconfig is not present on the disk.
vparconfig is installed only on the boot disks of the virtual partitions when vPars is installed. If the boot
disks are removed or you switch boot disks, you may need to use parconfig.
Example
To set the nPartition into nPars mode and reboot the nPartition:
1. First, set the mode:
Shell> parconfig nPars -n
2. Then, you can reboot the nPartition from either the EFI shell using the reset option:
Shell> parconfig reset