HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
v
vparcreate(1M) vparcreate(1M)
NAME
vparcreate - create a virtual partition
SYNOPSIS
vparcreate -p vp_name [-B boot_attr][
-D db_file][-S static_attr][-b kernel_path]
[
-o boot_opts][-a rsrc]...
DESCRIPTION
The
vparcreate command creates a new virtual partition (vPar) using the specified hardware resources.
vp_name is a symbolic name for the virtual partition and must be used in all references to it. If the
-D
option is specified, the virtual partition is created in db_file. Otherwise it is created in the virtual partition
monitor database. In either case, a virtual partition named vp_name must not already exist in the data-
base. Any error terminates the command without creating a virtual partition.
Only a superuser can execute the
vparcreate command. In a secure virtual partition environment only
a
Primary-Admin
vPar can create a virtual partition.
Options
No option except
-a (add resource) may be specified more than once. Resources allocated with the
-a
option must be available, that is, not already allocated to a virtual partition, nor exceeding the overall lim-
its of the resources. Some CPU resources have special requirements; these are described below Table 1.
Resources assigned with multiple -a options must not conflict. Violation of any condition is a command
error.
The vparcreate command recognizes the following command line options and arguments:
-p vp_name Specifies the symbolic name of the virtual partition. The name can consist of alpha-
numeric characters A-Z, a-z, 0-9, the underbar character (
_), and the period (.).
The maximum length of the name is 239 characters. Required.
-B boot_attr Specifies the autoboot and autosearch attribute of the virtual partition. boot_attr can
have the following (case-insensitive) values:
auto sets the autoboot attribute.
manual clears the autoboot and and autosearch attributes.
search sets the autosearch attribute.
nosearch clears the autosearch attribute.
If the autoboot attribute is set to auto, the virtual partition is rebooted after a suc-
cessful vparreset command or when the virtual partition monitor is first loaded, if
appropriate monitor options have been specified.
If the attribute is set to manual, the virtual partition halts after a vparreset, and
does not boot when the monitor is loaded. It must then be booted manually with the
vparboot command.
If the autosearch attribute is set to search, then the combination of autoboot(auto)
and autosearch(search) decides the boot action to be taken. The interpretation of auto-
boot and autosearch has changed for systems that support hardware partitions. Refer
to setboot(1M) for details.
On hard partitioned systems with vpars the boot action corresponds to the autoboot
and autosearch flags in the following manner:
AutoBoot AutoSearch Boot Action
______________________________________________________
off off Halt the virtual partition for
manual boot.
on off Attempt the primary path;
on failure halt the virtual
partition.
on on Attempt the primary path;
on failure try alternate path.
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1M−−1099