Migrating vPar Systems to Integrity VM

6 of 13
Removing the Virtual Partition Configuration
In each vPar, make sure the AUTO file is set to boot HP-UX (/stand/vmunix) rather than the vPar
monitor (/stand/vpmon). Then disable the autoboot parameter so that when the virtual partition
software is removed, the OS doesn’t try to restart after the kernel is rebuilt.
To do this, proceed as follows for each vPar:
1. Identify the HW path of the boot device for the vPar
# setboot
0/0/0/2/0.6.0
2. Use the HW path to identify the boot partition
# ioscanfunC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 5 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4G
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
3. The ‘s1’ partition is (typically) the EFI partition, to check the current auto boot setting
# efi_cp -d /dev/dsk/c0t6d0s1 -u efi/hpux/auto /tmp/junk
# cat /tmp/junk
boot /stand/vpmon vparload auto
This indicates that the vPar monitor will be initially booted. This needs to be changed so that it boots
the HP-UX kernel instead.
Note the AUTO file may not have been changed to boot the vPar monitor in which case you may skip
steps 4 and 5 below.
4. Modify the AUTO file so that the HP-UX kernel is booted instead of the vPar monitor
# mkboot -a "boot vmunix" /dev/dsk/c0t6d0
Note the ‘s1’ partition need not be specified, mkboot will find the right EFI partition.
5. Verify that the change was successful
# efi_cp -d /dev/dsk/c0t6d0s1 -u efi/hpux/auto /tmp/junk
# cat /tmp/junk
boot vmunix
6. Now disable the autoboot functionality if it isn’t already so that when the kernel is rebuilt during
the vPar software remove, the OS won’t come back up on its own.
# setboot
Primary bootpath : 0/0/0/2/0.6.0
HA Alternate bootpath : <none>
Alternate bootpath : <none>
Autoboot is ON (enabled)
# setboot -b off
# setboot
Primary bootpath : 0/0/0/2/0.6.0
HA Alternate bootpath : <none>
Alternate bootpath : <none>
Autoboot is OFF (disabled)