Operating System - HP-UX
1753317 Members
5284 Online
108792 Solutions
New Discussion юеВ

How IUX differentiate the bootp request is from HP server or AIX server?

 
SOLVED
Go to solution
Sunny_Zhang
Frequent Advisor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

Hi Michael, I just did what you suggest trying to tftp the file from my linux box, and it failed with time-out.

# tftp 10.10.1.3 << eof
> get /boot/Rel_B.11.23/IINSTALL
> quit
> eof
tftp> Transfer timed out.

There is no network problem. Is there anyway I can increase the timeout value?
Sunny_Zhang
Frequent Advisor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

Also here is the console output after I issue boot lan from BCH console:

Booting...
Network Station Address 00306e-c30181
System IP Address 10.10.1.11
Server IP Address 10.10.1.3

Boot IO Dependent Code (IODC) revision 2


HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL booting hpux (;0)/boot/INSTALL

Boot
: lan(0/0/0/0;0)/boot/WINSTALL

From this point, my system is hang there. Thanks!
Michael Roberts_3
Honored Contributor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

> There is no network problem. Is there anyway I can increase the timeout value?

from 'man 4 instl_adm'
_hp_tftp_cmds
String variable that may be specified in the *INSTALLFS file to
supply additional instructions to the tftp commands that are used
to transfer data during an installation. The commands supplied
with this variable are passed as input to the tftp command along
with the usual commands supplied by Ignite-UX. The most likely
use of this would be to modify the retransmission-timeout (rexmt)
and overall timeout (timeout) values. The default values that
Ignite-UX uses are: rexmt set to 2 and timeout set to 25. See
tftp(1) for more details. The string assigned to this variable
should contain one tftp command statement per line. For example:

init _hp_tftp_cmds="rexmt 5 timeout 40"

==========
On your linux tftp server do you have the location of the kernels as a valid tftp area?

The paths you show here are not from current Ignite revs. Which version of Ignite do you have?

The bootloader expects to find the kernels in a location relative to where the boot_lif came from. So if your boot_lif file is in /opt/ignite/boot then the ISL path
(;0)/boot/WINSTALL
Is actually looking in /opt/ignite/boot/WINSTALL

ISL booting hpux (;0)/boot/INSTALL

Boot
: lan(0/0/0/0;0)/boot/WINSTALL
etouq ot hguone revelc ton m'i
Sunny_Zhang
Frequent Advisor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

Actually I didn't use ignite server here at all. I tried to use my linux box to do netboot for my HP9000 server since I only have one HP box here. The investigation of this is pretty interesting, I will keep posting my result here. Thanks!
Bob_Vance
Esteemed Contributor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

(How 'bout assigning some points ;>)

I successfully made my Linux server be able to support Igniting an HP box from a Golden Image specifically to be able to do what you are trying:

recovering an HP box with no HPUX Ignite server.

Attached are the notes for doing this.


hth
bv

"The lyf so short, the craft so long to lerne." - Chaucer
Bob_Vance
Esteemed Contributor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

I suppose that it would be more useful with the actual attachment ;>)


bv
"The lyf so short, the craft so long to lerne." - Chaucer
Bob_Vance
Esteemed Contributor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

A better version of the notes.
((I changed a dirname, but didn't update
these notes fully.
))

Also, note that this was done for Itanium server boot/installs.

This explains the
"/opt/ignite/boot/nbp.efi"

For PARisc, you would use
"/opt/ignite/boot/boot_lif";



bv
"The lyf so short, the craft so long to lerne." - Chaucer
Sunny_Zhang
Frequent Advisor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

Bob, Thank you very much for your detailed note.

I was busy with something else for past several days, and just resume this work today. Actually I did something very similar what you did, and the difference is that I am using my own tftp server & bootp server.

The HP9000 server did tftp boot_lif file successfully from my linux box, but it hung during downloading kernel file: WINSTALL.

The following is the console output during netboot from my linux box:
Main Menu: Enter command or menu > boot lan install
Interact with IPL (Y, N, or Cancel)?> y

Booting...
Network Station Address 00306e-c30181
System IP Address 10.10.1.11
Server IP Address 10.10.1.3

Boot IO Dependent Code (IODC) revision 2


HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL> hpux (;0)/boot/Rel_B.11.23/INSTALL

Boot
: lan(0/0/0/0;0)/boot/Rel_B.11.23/WINSTALL

The file layout on my linux server is the following:
dawn]# ls -al /opt/ignite/boot/
total 6348
dr-xr-xr-x 3 root root 4096 Dec 2 12:07 .
drwxr-xr-x 3 root root 4096 Dec 2 12:07 ..
-r--r--r-- 1 root root 26 Dec 2 12:07 AUTO
-r-xr-xr-x 1 root root 57 Dec 2 12:07 auto_globals
-r--r--r-- 1 root root 331776 Dec 2 12:07 boot_lif
-r--r--r-- 1 root root 5242880 Dec 2 12:07 EFI_CD_image
-r--r--r-- 1 root root 328192 Dec 2 12:07 fpswa.efi
-r--r--r-- 1 root root 521494 Dec 2 12:07 hpux.efi
-r--r--r-- 1 root root 24576 Dec 2 12:07 nbp.efi
dr-xr-xr-x 2 root root 4096 Dec 2 12:07 Rel_B.11.23

dawn]# ls -al /opt/ignite/boot/Rel_B.11.23/
total 119416
dr-xr-xr-x 2 root root 4096 Dec 2 12:07 .
dr-xr-xr-x 3 root root 4096 Dec 2 12:07 ..
-r-xr-xr-x 1 root root 94 Dec 2 12:07 auto_conf
-r-xr-xr-x 1 root root 52622680 Dec 2 12:07 IINSTALL
-r-xr-xr-x 1 root root 29753344 Dec 2 12:07 IINSTALLFS
-r-xr-xr-x 1 root root 27164008 Dec 2 12:07 WINSTALL
-r-xr-xr-x 1 root root 12582912 Dec 2 12:07 WINSTALLFS

Any help is very appreciated!
Bob_Vance
Esteemed Contributor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

The sequence starts well.
It looks like something with the TFTP server.
25 second timeout should be way plenty.
We are now retreading areas that Michael addressed.

However, the TFTP parms settings are in (W)INSTALLFS. That is retrieved *after* (W)INSTALL is loaded -- whose transfer is timing out! Not much help there ;>)

You say that you are using Linux,
"I tried to use my linux box to do netboot ..."
but then you also say
"the difference is that I am using my own tftp server & bootp server."

What do you mean by that?
Do you know that the TFTP server works?
Why are you not just using the TFTP that comes with Linux?
What Linux dstro?


bv
"The lyf so short, the craft so long to lerne." - Chaucer
Sunny_Zhang
Frequent Advisor

Re: How IUX differentiate the bootp request is from HP server or AIX server?

Hi Bob, Could you snoop your bootp reply from your linux box by using ethereal or tcpdump for me? By snooping my linux server, I found my HP-UX box starting tftp boot_lif successfully at the first 163 packets by receives ACK from HP-UX box, but it always failed at block 164 with some unknow error. I guess maybe there are some errors when I assemble bootp reply with some wrong options. Thanks!