Migrating vPar Systems to Integrity VM

10 of 13
In particular, be sure the boot disk is added and should be added first for convenience in
identification later. For our earlier example, the HW path of the boot disk was 0/1/1/0.1.0. Using
ioscan on the VM Host, we can identify the device filename corresponding to this path:
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type
Description
=======================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE _NEC DVD
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP146GST3146
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP146GST3146
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
In this example, the path is /dev/rdsk/c2t2d0 (note we’re concerned with the character device), so
the virtual disk corresponding to this disk is added with
# hpvmmodify P vpolyd02 a disk:scsi::disk:/dev/rdsk/c2t2d0
We’re now ready to power on the virtual machine and begin the boot process.
Boot the System in Logical Volume Maintenance Mode
Once the VM has been configured with so that one of its virtual disks maps to the original boot disk,
the VM must be booted up to logical volume maintenance mode as follows:
1. Power on the VM and access its console
# hpvmconsole P vpolyd02 fic ‘pc on’
Note the VM will almost certainly fail to boot itself up even though EFI may find the LIF partition on the
boot disk because the old and new (virtual) HW paths won’t match.
2. Identify the LIF partitions by first entering the EFI shell. At the Shell> prompt, use ‘map’ to identify
the storage on the VM:
Shell> map
fs0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part1,SigC8DA64F6-
89FF-11DA-8002-D6217B60E588)
fs1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part3,SigC8DA6546-
89FF-11DA-8004-D6217B60E588)
blk0 : Acpi(PNP0604,0)
blk1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
blk2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part1,SigC8DA64F6-
89FF-11DA
-8002-D6217B60E588)
blk3 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part2,SigC8DA651E-
89FF-11DA
-8003-D6217B60E588)
blk4 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part3,SigC8DA6546-
89FF-11DA
-8004-D6217B60E588)
Shell>
3. Identify the fs entry corresponding to the right LIF partition annotated on the far right as
“HD(Part1,…”. Enter the corresponding fs at the shell prompt. In the example above, this would be
Shell> fs0:
4. Go to the EFI\HPUX directory there and boot the system in LVM maintenance mode
fs0:\> cd EFI\HPUX
fs0:\EFI\HPUX> hpux lm