HP-UX Virtual Partitions 6.0 Administrator Guide

Example 12 Remove the virtual partition named Oslo
vparremove -p Oslo -f
vparreset
The vparreset command allows you to reset a virtual partition. This command simulates at the
virtual partition level, the hard reset, soft reset (Transfer Of Control, TOC), power off, or graceful
shutdown operations supported by server management processor commands. This command may
be used as a means to restart or bring down an unresponsive virtual partition. Table 10 (page 26)
describes the options you can use with the vparreset command.
Table 10 Options with the vparreset command.
DescriptionOption
Specifies the force option to confirm the reset operation.
The -f option is mandatory.
-f
Specifies the virtual partition to be reset. The vpar_id can be either the vPar
name or number.
-p vpar_id
Performs a hard reset (equivalent of the RS command in the management
processor) of the specified virtual partition. The virtual partition will be
restarted.
-h
Performs a power-off (equivalent of the PC -off command in the management
processor) of the specified virtual partition. The virtual partition will not be
restarted.
-d
Performs a TOC reset of the specified virtual partition. The virtual partition
will be restarted.
-t
Simulates a graceful shutdown, causing the OS to perform a reboot (-h).
The virtual partition will be restarted.
NOTE: For a complete graceful shutdown, HP recommends that you log in
to the vPar and properly stop the applications.
-g
Example 13 Perform a TOC reset on the virtual partition named Oslo
vparreset -p Oslo -t
Example 14 Perform a hard (RS) reset on the virtual partition named Bergen
vparreset -f -p Bergen -h
vparstatus
The vparstatus command allows you to view information about one or more virtual partitions.
Table 11 (page 26) describes the options you can use with the vparstatus command.
Table 11 Options with the vparstatus command.
DescriptionOption
Specifies the virtual partition, the details of which must be displayed. The
vpar_id can be either the vPar name or number.
-p vpar_id
Displays the revision of partition management tools.-r
Displays detailed information, one resource per line. Each resource type is
identified. Available resources include CPU (count), memory (size), OL*
-v
status and virtualized network and storage resources. If configured, it also
displays remote control information and console access user and groups.
26 vPars v6.0 commands