1752647 Members
5471 Online
108788 Solutions
New Discussion

Re: ia64 boot loader?

 
Doug O'Leary
Honored Contributor

ia64 boot loader?

Hey;

 

All of the documentation on ia64 mirroring says the boot loader on the vg00/OS disks should say something like "boot vmunix"; however, I'm at a client site who's root disks are saying hpux, like the pa-risc systems.  Obviously, this works as these systesm have booted.  Is this a relatively new thing?  Should they still say 'boot vmunix' or is that entry wrong now?

 

# model
ia64 hp Integrity rx2800 i2
# uname -r
B.11.31
# setboot | grep -i bootpath
Primary bootpath : 0/0/0/1/0/0/0.0x0.0x1030000c0000000 (/dev/rdisk/disk2)
HA Alternate bootpath :
Alternate bootpath : 0/0/0/1/0/0/0.0x0.0x1000000c0000000 (/dev/rdisk/disk3)
# lifcp /dev/disk/disk2_p2:AUTO -
hpux
# lifcp /dev/disk/disk3_p2:AUTO -
hpux

 

I'm assuming the alternate boot disk should still have the ignore quorum option, right?  If you're booting off the alternate disk, chances are the primary isn't there anymore... 

 

Thanks for helping me clarify this; I appreciate it.

 

Doug O'Leary


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
11 REPLIES 11
Torsten.
Acclaimed Contributor

Re: ia64 boot loader?

The entries in LIF are still there for compatibility, but the boot file is in EFI.

 

Check like this:

 

# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri

# efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.alt

# cat /tmp/AUTO.pri

# cat /tmp/AUTO.alt

 

 


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
donna hofmeister
Trusted Contributor

Re: ia64 boot loader?

my notes have:

 

# mkboot -a "boot vmunix -lq" /dev/rdisk/PRIMARY

# mkboot -a "boot vmunix -lq" /dev/rdisk/SECONDARY

 

 

Patrick Wallek
Honored Contributor

Re: ia64 boot loader?

At the HP-UX level you are looking at, I think this is correct.

 

For example:

 

11.31 root /root # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk41_p2 -- Boot Disk
/dev/disk/disk5_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk41_p2
/dev/disk/disk5_p2
Root: lvol3 on: /dev/disk/disk41_p2
/dev/disk/disk5_p2
Swap: lvol2 on: /dev/disk/disk41_p2
/dev/disk/disk5_p2
Dump: lvol2 on: /dev/disk/disk5_p2, 0

 

11.31 root /root # lifcp /dev/rdisk/disk5_p2:AUTO -
hpux

 

11.31 root /root # lifcp /dev/rdisk/disk41_p2:AUTO -
hpux
11.31 root /root # model
ia64 hp server rx2660

However the "boot vmunix" option is what is run from EFI.  For example:

 

EFI Boot Manager ver 1.10 [14.61] Firmware ver 2.31 [4411]

Please select a boot option

HP-UX Primary Boot: 0/1/1/1.0x2.0x0
Internal Bootable DVD
EFI Shell [Built-in]
Boot Option Maintenance Menu
System Configuration Menu


Use ^ and v to change option(s). Use Enter to select an option
Loading.: HP-UX Primary Boot: 0/1/1/1.0x2.0x0
Starting: HP-UX Primary Boot: 0/1/1/1.0x2.0x0

(C) Copyright 1999-2011 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF -- Revision 2.044

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 8
Type 'help' for help

HPUX>

Doug O'Leary
Honored Contributor

Re: ia64 boot loader?

Hey;

 

thanks for the replies.

 

>>The entries in LIF are still there for compatibility, but the boot file is in EFI.

 

You know, I actually knew that... get out of supporting HPUX for a few months and you forget the easy stuff.  

 

So, still have a problem, I think:

 

# model
ia64 hp Integrity rx2800 i2
# uname -r
B.11.31
# setboot | grep bootpath
Primary bootpath : 0/0/0/1/0/0/0.0x0.0x1030000c0000000 (/dev/rdisk/disk2)
HA Alternate bootpath :
Alternate bootpath : 0/0/0/1/0/0/0.0x0.0x1000000c0000000 (/dev/rdisk/disk3)
# efi_cp -d /dev/rdisk/disk2_p1 -u /EFI/HPUX/AUTO /tmp/auto.pri
# efi_cp -d /dev/rdisk/disk3_p1 -u /EFI/HPUX/AUTO /tmp/auto.alt
# cat /tmp/auto.pri
hpux -lq
# cat /tmp/auto.alt
boot vmunix -lq

 

The primary is saying "hpux -lq".  I'm assuming that's failing on boot and this guy is booting off of the alternate.  Does that sound accurate?

 

Thanks again for the replies.  Apologies for the part-timerz question.

 

Doug O'Leary


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Torsten.
Acclaimed Contributor

Re: ia64 boot loader?

I assume the same. Check syslog for the message about the disk used for boot - it's the alternate?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
donna hofmeister
Trusted Contributor

Re: ia64 boot loader?

that's seems likely.

 

Does "dmesg" give any hints?

Doug O'Leary
Honored Contributor

Re: ia64 boot loader?

Hey;

 

dmesg's no help - system's been up for 166 days.  I can't find any reference to either primary/alt in syslog.  

 

I remembered that there was an adb command to find out from which disk a system was booted.  A quick google search showed the ia64 version.  Curiously enough, assuming accuracy, it's showing the disk that says hpux:

 

# efi_cp -d /dev/rdisk/disk2_p1 -u /EFI/HPUX/AUTO /tmp/auto.pri
# cat /tmp/auto.pri
hpux -lq
# ll /dev/disk | grep $(echo "bootdev/x"|adb /stand/vmunix /dev/kmem | awk '/0x/ {print substr($1,5)}')
brw-r----- 1 bin sys 1 0x000008 Feb 10 2011 disk2_p2

 

I'm going to get a chance to reboot this guy sometime soon... I'll have to watch the console.

 

Thanks again for the help/replies.

 

Doug O'Leary


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Torsten.
Acclaimed Contributor

Re: ia64 boot loader?

Try

$ grep -i "boot device" /var/adm/syslog/syslog.log

vmunix: Boot device's HP-UX HW path is: 0.4.1.0.5000c50002


Check the console log from MP too.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Doug O'Leary
Honored Contributor

Re: ia64 boot loader?

Hey;

 

Thanks for the string.  That backs up the adb command string above:

 

# grep -i 'boot device' /var/adm/syslog/syslog.log
Jun 27 19:05:19 mercury vmunix: Boot device's HP-UX HW path is: 0/0/0/1/0/0/0.0x0.0x1030000c0000000
# setboot | grep 0/0/0/1/0/0/0.0x0.0x1030000c0000000
Primary bootpath : 0/0/0/1/0/0/0.0x0.0x1030000c0000000 (/dev/rdisk/disk2)
# cat /tmp/auto.pri
hpux -lq
# efi_cp -d /dev/rdisk/disk2_p1 -u /EFI/HPUX/AUTO /tmp/auto.pri

 

So, it seems like hpux is valid, at least in this specific case.  I wonder if some bozo played games with the EFI shell to make that work.  Any rate, I got the confirmation that I needed.  Thanks again.

 

Doug O'Leary


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html