HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

Crash Processing and Recovery
Network and Tape Recovery
Chapter 10
319
Using make_net_recovery within a vPars Environment
Archiving Virtual Partition
make_net_recovery works the same for making archives of both non-vPars and vPars systems.
Recovering a Virtual Partition from a Running Virtual Partition
To recover a virtual partition, perform the following from a running virtual partition. (In these examples, the
partition winona1 is running and the target partition winona2 is the partition being recovered.)
1. Record the following:
a. the autoboot attribute of the target partition using vparstatus. You may need to set it back to this
state in the last step.
winona1# vparstatus -p winona2
[Virtual Partition]
Virtual Partition Name
State Attributes
========================== ===== ==========
winona2 Down Dyn,Manual
b. the contents of the AUTO file in the LIF area of the primary boot disk pointed to by stable storage.
Use the lifcp command to see the contents.
2. Set the TERM environment variable to hpterm. For POSIX shell, the command is
winona1# export TERM=hpterm
3. Boot the target partition and point the boot kernel to use your Ignite-UX server (assume the Ignite
server’s IP is ww.xx.yy.zz):
winona1# vparboot -p winona2 -I ww.xx.yy.zz,/opt/ignite/boot/WINSTALL
4. Run the Ignite-UX recovery as you would on a hard partition not running vPars, entering the data (boot
disk and LAN) of the target partition.
5. After the target partition has been recovered:
a. if the autoboot attribute has been changed, set it back to what was recorded in the first step. For
example, to set the autoboot attribute back to manual:
winona1# vparmodify -p winona2 -B manual
b. if needed, set the AUTO file back to its original contents that were recorded in the first step using the
lifrm and lifcp commands.
Recovering All the Virtual Partitions of a Hard Partition
To recover all the virtual partitions within a hard partition, first recover the virtual partition whose boot disk
is the disk set as the primary path within system-wide stable storage. Once the virtual partition is recovered,
recover the other virtual partitions one by one. (There is no way to recover all partitions simultaneously.)
To recover the initial virtual partition:
1. From the BCH prompt, boot the hard partition using the Ignite-UX server (assume the Ignite server’s IP
is ww.xx.yy.zz):
BCH> bo lan.ww.xx.yy.zz install
interact with IPL? N