HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
You could create an alternate partition database where the configuration is:
winsim2winsim1Partition Name
total = 4
min = 4
total = 4
min = 4
Bound CPUs
no CPUs are available
Unbound CPUs
1600 MB1600 MB
Memory
0.8
1.10
1.2
0.0
0.4
I/O Paths (LBAs)
0.8.0.0.5.00.0.2.0.6.0
Boot Path
1.10.0.0.4.00.0.0.0
LAN
AUTOAUTO
Autoboot
To create and boot using an alternate partition database, perform the following:
1. Create the partition configuration and alternate partition database file.
winona1# vparcreate -p winsim1 -D /stand/vpdb.sim -a cpu::4 -a cpu:::4 -a mem::1600 -a io:0.0 -a io:0.4
-a io:0.0.2.0.6.0:BOOT
winona2# vparcreate -p winsim2 -D /stand/vpdb.sim -a cpu::4 -a cpu:::4 -a mem::1600 -a io:0.8 -a io:1.10
-a io: 1.2 -a io:0.8.0.0.5.0:BOOT
CAUTION: LBAs must be explicitly specified. The examples in this chapter use a
non-nPartitionable system. If using an nPartitionable system, read “Planning, Installing, and
Using vPars with an nPartitionable Server” (page 49).
The alternate partition database file is created if it does not exist.
NOTE: In order to boot from an alternate partition database file, the file must exist in /stand
of the disk from which you will boot the entire server.
2. Shutdown all the virtual partitions and reboot the server:
winona3# vparstatus ; shutdown -hy 0
winona2# vparstatus ; shutdown -hy 0
winona1# vparstatus ; shutdown -hy 0
MON> reboot
3. Interrupt the boot process and boot the vPars Monitor /stand/vpmon specifying the -D
alternate partition database option and the -a autoboot option:
BCH> bo pri
interact with IPL: y
ISL> hpux /stand/vpmon -D /stand/vpdb.sim -a
The vPars Monitor boots, reads the partition database file /stand/vpdb.sim, and copies
the partition configuration information into the vPars Monitor’s memory. The local copy of the
partition database is now /stand/vpdb.sim (the same filename as what was read by the
vPars Monitor at Monitor boot time).
Integrity NOTE: If you issue readdb /stand/vpdb.backup, the file that is actually read
is at /stand/boot.sys/stand/vpdb.backup. The vparcreate command transparently
creates the soft link from /stand/boot.sys/stand/<file> to /stand/<file>. Therefore,
if you backup the database file using the Unix cp command, a ln command also should be
executed to create the soft link. Otherwise it will not be possible to boot from the backup
database file.
168 vPars Monitor and Shell Commands