Guide to Creating and Modifying vPars (Virtual Partitions)

August 4, 2025
This document provides a practical reference for creating, modifying, and managing Virtual Partitions (vPars) on HPE Integrity systems. It includes commands for assigning CPU, RAM, IO resources, and managing boot configurations.

This document provides a practical reference for creating, modifying, and managing Virtual Partitions (vPars) on HPE Integrity systems. It includes commands for assigning CPU, RAM, IO resources, and managing boot configurations.

1. Create vPar with CPU and RAM Only

vparcreate -pVpar1 -a mem::20240 -a cpu::2 -N 2

·     -p Vpar1: Name of the vPar

·     -a mem::20240: Assigns 20240 MBof memory

·     -a cpu::2: Assigns 2 CPUs

·     -N 2: Specifies nPar ID (nPar 2)

2. Create vPar with CPU, RAM and PCISlot

Example using IOX 9and BUS 1 or 2 (Second last):

vparcreate -pVpar1 -a mem::20240 -a io:9/1/0/1/2 -a cpu::2 -N 2
vparcreate -pVpar2 -a mem::20240 -a io:9/1/0/1/0 -a cpu::2 -N 2
vparcreate -pVpar3 -a mem::20240 -a io:9/1/0/2/2 -a cpu::2 -N 2

3. Modify vPar to Add USB/VGA Dongle

Paths for Front VGA Dongle:

Path | Slot | Device | Status | Blade

1/2/0/2/2 | 1/2/6 | VGA/USB | OK | Blade 2

1/4/0/2/2 | 1/4/6 | VGA/USB | OK | Blade 4

1/8/0/2/2 | 1/8/6 | VGA/USB | OK | Blade 8

Command Examples:

vparmodify -p 2:1 -a io:1/2/0/2/2
vparmodify -p2:2 -a io:1/4/0/2/2
vparmodify -p2:3 -a io:1/8/0/2/2

4. Add Front IO Slot to vPar

vparmodify -p 2:1 -a ioslot:1/8/6

5. Scan IO Paths

ioscan -kf -H 48/0/0/2/0

6. Assign Internal DVD to vPar

Ensure a medium is loaded:

#This assigns the DVD to vPar1 in nPar 2
# Exact command varies by system implementation

7. Add Boot Entry from EFI Shell

drivers               # To search installed cards, note card number(e.g., 7D)
drvcfg7D             # Show ports for card 7D (example)
drvcfg7D 47 -s       # Select port 47 of card 7D

bcfgboot add 1 hpux.efi "HP-UX-PrimaryBoot"

8. Shutdown vPar from OA

vparreset -p Vpar1 -h -N 2 -f

9. Useful System Info Commands

show partition info 2 VERBOSE      # Detailed nPar info
vparstatus -A -N2                  # Show all vPars in nPar 2
parstatus -c1/2 -V                 # Get resources on Blade 2

For any updates or additional commands, refer to the HP-UX Virtual Partitions (vPars) documentation.