0A6400 simply is hex for the '10.100.0' portion of the IP network. Broadly, rpm -qf is handy: rpm -qf /tftpboot/xcat/nbk.x86_64
Will tell you which rpm actually owns that file. We should have been more aggressive in the upgrade to get rid of nbfs. At the time, I was afraid of breaking working setups.... Either way though, it's odd that it would be chasing down the pxelinux.0 path... From: Jonathan Mills <jonmi...@renci.org> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 01/22/2014 11:07 AM Subject: Re: [xcat-user] Frustrating time with sequential node discovery Wang (& Lissa): Thanks, again, for your patience. I realize that Genesis is/was supposed to replace all the nbroot* packages. However, clearly from the responses on this list there are people who are using it to chain-load the genesis kernel. But even assuming we don't care about that, I still don't have a working solution, and here's why: Although, my dhcpd.conf contains: shared-network eth2 { subnet 10.100.0.0 netmask 255.255.255.0 { max-lease-time 43200; min-lease-time 43200; default-lease-time 43200; option routers 10.100.0.1; next-server 10.100.0.1; option log-servers 10.100.0.1; option ntp-servers 10.100.0.1; option domain-name "local"; option domain-name-servers 10.100.0.1; option domain-search "local", "bare"; zone local. { primary 10.100.0.1; key xcat_key; } zone 0.100.10.IN-ADDR.ARPA. { primary 10.100.0.1; key xcat_key; } if option user-class-identifier = "xNBA" and option client-architecture = 00:00 { #x86, xCAT Network Boot Agent always-broadcast on; filename = "http://10.100.0.1/tftpboot/xcat/xnba/nets/10.100.0.0_24"; } else if option user-class-identifier = "xNBA" and option client-architecture = 00:09 { #x86, xCAT Network Boot Agent filename = "http://10.100.0.1/tftpboot/xcat/xnba/nets/10.100.0.0_24.uefi"; } else if option client-architecture = 00:00 { #x86 filename "xcat/xnba.kpxe"; } else if option vendor-class-identifier = "Etherboot-5.4" { #x86 filename "xcat/xnba.kpxe"; } else if option client-architecture = 00:07 { #x86_64 uefi filename "xcat/xnba.efi"; } else if option client-architecture = 00:09 { #x86_64 uefi alternative id filename "xcat/xnba.efi"; } else if option client-architecture = 00:02 { #ia64 filename "elilo.efi"; } else if substring(filename,0,1) = null { #otherwise, provide yaboot if the client isn't specific filename "/yaboot"; } range dynamic-bootp 10.100.0.100 10.100.0.150; } # 10.100.0.0/255.255.255.0 subnet_end } # eth2 nic_end What happens is that the client never loads anything out of /tftpboot/xcat/xnba/nets/blah.... Instead, all my clients simply load /tftpboot/pxelinux.cfg/0A6400, which contains: DEFAULT xCAT LABEL xCAT KERNEL xcat/nbk.x86_64 APPEND initrd=xcat/nbfs.x86_64.gz quiet xcatd=10.100.0.1:3001 The prefix 0A6400 is likely related to the Cisco vendor MAC prefix. This file is created by 'mknb x86_64'. I know, because I can delete it, run mknb, and it comes back: [root@ncsu-hn pxelinux.cfg]# ls 0A6400 0A6500 0A6600 7F 98300D 98300DE6 98300DE7 C0A86B [root@ncsu-hn pxelinux.cfg]# rm -rf ./* [root@ncsu-hn pxelinux.cfg]# mknb x86_64 Creating genesis.fs.x86_64.lzma in /tftpboot/xcat [root@ncsu-hn pxelinux.cfg]# ls 0A6400 0A6500 0A6600 7F 98300D 98300DE6 98300DE7 C0A86B [root@ncsu-hn pxelinux.cfg]# cat 0A6400 DEFAULT xCAT LABEL xCAT KERNEL xcat/nbk.x86_64 APPEND initrd=xcat/nbfs.x86_64.gz quiet xcatd=10.100.0.1:3001 The RPM xnba-undi does not install /tftpboot/xcat/nbk.x86_64, and neither does any of the xCAT-genesis-* RPMS. [root@ncsu-hn ~]# rpm -ql xnba-undi /tftpboot/xcat/xnba.efi /tftpboot/xcat/xnba.kpxe And so the result is that all my nodes PXE boot to a dead end. Do you see???? On 01/22/2014 02:55 AM, Xiao Peng Wang wrote: > Why do you say that you need nbk.x86_64? Is this file listed in the > </tftpboot/xcat/xnba/nets/>? > > With the latest xCAT build, it needs > /tftpboot/xcat/genesis.kernel.x86_64 instead of nbk.* > > Thanks > Best Regards > ---------------------------------------------------------------------- > Wang Xiaopeng (王晓朋) > IBM China System Technology Laboratory > Tel: 86-10-82453455 > Email: w...@cn.ibm.com > Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, > Haidian District Beijing P.R.China 100193 > > Inactive hide details for Jonathan Mills ---2014/01/22 14:10:32---It > would seem to me that what I am missing is the whole of thJonathan Mills > ---2014/01/22 14:10:32---It would seem to me that what I am missing is > the whole of the xCAT-nbroot infrastructure...because > > From: Jonathan Mills <jonmi...@renci.org> > To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, > Date: 2014/01/22 14:10 > Subject: Re: [xcat-user] Frustrating time with sequential node discovery > > ------------------------------------------------------------------------ > > > > It would seem to me that what I am missing is the whole of the > xCAT-nbroot infrastructure...because it isn't part of xcat-core, nor > xcat-dep. So I didn't grab it. But it just so happens...you need it. > > The file > > /tftpboot/xcat/nbk.x86_64 > > is provided by the RPM xCAT-nbkernel-x86_64. Which is missing from my > yum repo mirrior, and from my hosts. > > > Anything else I'm missing? Hopefully if I grab correct copies of > xCAT-nbkernel and xCAT-nbroot (or xCAT-nbroot2?) then node discovery > will actually work. > > On 1/22/14, 12:08 AM, Xiao Peng Wang wrote: > > Both Josh and Russell are correct. > > > > xNBA is a customized pxe and genesis is a xCAT customized diskless linux > > system to run discovery and other tasks like 'bmcsetup'. It does not > > need the /tftpboot/pxelinux.cfg/.* to load the genesis. > > > > For discovery, if a node is not defined in xCAT, the dhcp configuration > > in the /etc/dhcp/dhcpd.conf or /etc/dhcpd.conf is used to reply the dhcp > > request from not-discovered node. > > > > In your dhcpd.conf, it should have the following part for your > > deployment network. If not, run 'makedhcp -n' to recreate your > dhcpd.conf. > > if option user-class-identifier = "xNBA" and option > > client-architecture = 00:00 { #x86, xCAT Network Boot Agent > > always-broadcast on; > > filename = > "http://10.1.0.207/tftpboot/xcat/xnba/nets/10.1.0.0_16"; > > } else if option user-class-identifier = "xNBA" and option > > client-architecture = 00:09 { #x86, xCAT Network Boot Agent > > filename = > > "http://10.1.0.207/tftpboot/xcat/xnba/nets/10.1.0.0_16.uefi"; > > } else if option client-architecture = 00:00 { #x86 > > filename "xcat/xnba.kpxe"; > > } else if option vendor-class-identifier = "Etherboot-5.4" { #x86 > > filename "xcat/xnba.kpxe"; > > } else if option client-architecture = 00:07 { #x86_64 uefi > > filename "xcat/xnba.efi"; > > } else if option client-architecture = 00:09 { #x86_64 uefi > > alternative id > > filename "xcat/xnba.efi"; > > } > > > > During the boot process of a not-discovered node, dhcpd will tell the > > node to load xcat/xnba.kpxe first and then the configuration file > > http://<xcat mn>/tftpboot/xcat/xnba/nets/10.1.0.0_16. Then the xnba will > > load the genesis. > > > > Take a look of the syslog to see whether the xnba was downloaded > > successfully from tftp server. And look into the httpd log to see > > whether the genesis has been downloaded successfully. > > > > > > Thanks > > Best Regards > > ---------------------------------------------------------------------- > > Wang Xiaopeng (王晓朋) > > IBM China System Technology Laboratory > > Tel: 86-10-82453455 > > Email: w...@cn.ibm.com > > Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, > > Haidian District Beijing P.R.China 100193 > > > > Inactive hide details for Josh Nielsen ---2014/01/22 05:56:00---Ah, I > > see what you are saying now. Well, I hope the thread I stJosh Nielsen > > ---2014/01/22 05:56:00---Ah, I see what you are saying now. Well, I hope > > the thread I stumbled on that Jarrod replied to help > > > > From: Josh Nielsen <jniel...@hudsonalpha.org> > > To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, > > Date: 2014/01/22 05:56 > > Subject: Re: [xcat-user] Frustrating time with sequential node discovery > > > > ------------------------------------------------------------------------ > > > > > > > > Ah, I see what you are saying now. Well, I hope the thread I stumbled > > on that Jarrod replied to helps figure out why his configuration is > > looking to the outdated (according to what Jarrod said) configuration > > files in /tftpboot/pxelinux.cfg/. Looks like it is either > > /etc/dhcpd.conf or /var/lib/dhcpd/dhcpd.leases related in that case. > > > > On Tue, Jan 21, 2014 at 3:51 PM, Russell Jones > > <russell-l...@jonesmail.me> wrote: > > > It *should* work with xNBA and Genesis - xNBA is the PXE image that > > > loads Genesis. :-) > > > > > > Genesis is the utility image that handles shell commands, > runimages, etc. > > > > > > Don't confuse NBFS with xNBA - NBFS is deprecated via Genesis. xNBA is > > > the gpxe image that loads Genesis or your normal OS image depending on > > > what you sent via nodeset. Genesis would not be able to load without > > > xNBA (or standard PXE), and neither would any netboot images. > > > > > > On 1/21/2014 3:33 PM, Josh Nielsen wrote: > > >> my case it still works with > > >> both xnba and genesis because of the nature of PXE chainloading. It > > >> probably adds deployment time, but it actually works in such a mixed > > >> configuration. > > >> > > >> -Josh > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > > Critical Workloads, Development Environments & Everything In Between. > > > Get a Quote or Start a Free Trial Today. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > xCAT-user mailing list > > > xCAT-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > > ------------------------------------------------------------------------------ > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > Critical Workloads, Development Environments & Everything In Between. > > Get a Quote or Start a Free Trial Today. > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > _______________________________________________ > > xCAT-user mailing list > > xCAT-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > > > -- > Jonathan Mills > Systems Administrator > Renaissance Computing Institute > UNC-Chapel Hill > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > -- Jonathan Mills Systems Administrator Renaissance Computing Institute UNC-Chapel Hill ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user