1833852 Members
1898 Online
110063 Solutions
New Discussion

Re: IA Boot

 
kholikt
Super Advisor

IA Boot

I am compiling the procedure to change the vg00 PV device name for a IA server due to zoning. As I am not familiar with the IA boot sequence, here is the procedure I have done.

However, I am not too sure the EFI portion. How to boot from CD? How to choose the correct disk to boot? I also confused on the s2 stuff.

1. Boot up from HPUX OS CDROM. Go to Recovery Shell.

2. At recovery shell run ‘ioscan –funCdisk’ to identify boot disk

3. Run “lifls /dev/dsk/cXtXdX” to confirm.

4. reboot

5. Stop the boot process. Using the EFI boot manager, go to the EFI shell prompt.
Choose: “EFI Shell [Built-in]”

6. Find the file system mapping for the boot device path. Look for the corresponding device map for the boot device hardware path that looks similar to the following.
Shell> map
fs0 : Acpi(HWP0002,PNP0A03,404)/Pci(1|0)/Scsi(PunA,Lun0)/HD(Part1,Sig8786850E-A951-11DA-
8002-D6217B60E588)

7. Ensure the above file system is bootable (has HPUX.EFI)
Shell> ls fs0:\EFI\HPUX\HPUX.EFI

8. From the EFI shell boot to LVM maintenance mode
Shell> fs0:

where fs0 is the mapping index for the boot device

fs0:\> hpux
(C) Copyright 2004 Hewlett-Packard Development Company, L.P.All rights reserved
HP-UX Boot Loader for IPF -- Revision 2.027
Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help
HPUX>

9. Boot in LVM maintenance mode:
HPUX> boot -lm /stand/vmunix

10. Remove the old vg00 group information
# vgexport /dev/vg00

11. Import the vg00 using the files saved in the pre-migration step:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000
# edit the /pvs.vg00 file to reflect the new device name
# vgimport –m /emc/mapfile.vg00 –f /emc/pvs.vg00 –s –v /dev/vg00 or vgimport –m /emc/mapfile.vg00 -s –v /dev/vg00 /dev/dsk/cxtxdx

# strings /etc/lvmtab
verify the PV path is correct for vg00 else perform the following to re-generate the /ec/lvmtab file.
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan –a –v

12. Activate the root volume group and update the LV
# vgchange –a y vg00
# vgdisplay –v vg00
# lvlnboot –b /dev/vg00/lvol1 # for /stand
# lvlnboot –r /dev/vg00/lvol3 # for root
# lvlnboot –d /dev/vg00/lvol2 # for swap/dump
# lvlnboot –s /dev/vg00/lvol2 # for swap

13. Verify the hardware path for the boot device matches the primary boot path.
# lvlnboot –v /dev/vg00

14. Update the LVM metadata with the new boot PV hardware paths:
# lvlnboot –R /dev/vg00

15. Update the primary and alternate boot paths
# setboot –p ‘pri path’
# setboot –a ‘alt path’

16. Display the boot paths and auto flags:
# setboot

17. Reboot the server.
# reboot
abc
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: IA Boot

Shalom,

Booting from the CD in EFI involves using a menu. How to automate this is problematic. I'm not sure you can.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com