HP-UX vPars and Integrity VM V6.3 Administrator Guide

Base memory – This can be used by vPar kernel for critical data structures. You can add, but
cannot delete base memory from a live vPar.
Floating memory – This is typically used for user applications. You can either add or delete
floating memory from a live vPar.
Syntax for specifying memory with vparcreate command is:
-a mem::mem_size[:{b|f}]
Example 21 Create a vPar with 4 GB base memory
hostmachine# vparcreate -p machinename -a mem::4G:b
Example 22 Create a vPar with 2 GB base memory and 2 GB floating memory
hostmachine# vparcreate -p machinename -a mem::2G:b a mem::2G:f
For more information about base and floating memory, see Section 5.6.3.3 (page 60).
10.1.4 Specifying I/O devices
Example 23 Create a vPar with virtual network interface backed by virtual switch
Create a vPar named Oslo in the local system, specifying 2 GB of memory, 2 CPUs, and virtual
network interface backed by virtual switch “sitelan.
# vparcreate -p Oslo -a mem::2048 -a cpu::2 -a
network:avio_lan::vswitch:sitelan
For more information about creating and managing virtual switches, see Chapter 8 (page 111).
Example 24 Create a vPar with virtual disk backed by a whole disk
Create a vPar named Oslo in the local system, specifying memory of 2 GB, 2 CPUs, and a virtual
disk backed by a whole disk “/dev/rdisk/disk70”.
# vparcreate -p Oslo -a mem::2048 -a cpu::2 -a
disk:avio_star::disk:/dev/rdisk/disk70
Example 25 Create a vPar with NPIV HBA
Create a vPar named vpar001 with a virtualized HBA using NPIV port assuming a GUID manager
is available to assign World Wide Port Name and World Wide Node Name.
# vparcreate -p vpar001 -a hba:avio_stor::npiv:/dev/fcd0
For additional information about configuring NPIV, see the vparresources3(5) and Chapter 7
(page 101).
10.1 Creating a vPar 157