Jarrod,
on our xCAT server (Red Hat Enterprise Linux Server release 7.5) I'm
using the official redhat DHCP server (dhcp-4.2.5-68.el7_5.1.x86_64).
The only customization is that I don't use the xCAT
/etc/dhcp/dhcpd.conf file but I created an other directory call
/etc/dhcp.cscs in order to server all our dhcp client (also the ones
not controlled by xCAT). Following an example of our configuration:
# cat /etc/dhcp.cscs/dhcpd.conf
#
ddns-update-style none;
option domain-name "cscs.ch";
option domain-name-servers 148.187.x.x, 148.187.x.x;
default-lease-time 14400; # 4 hours
max-lease-time 86400; # 1 day
log-facility local7;
##########################
# EFI
##########################
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option arch code 93 = unsigned integer 16; # RFC4578
##########################
# END EFI
##########################
subnet 148.187.1.0 netmask 255.255.255.0 {
option routers 148.187.1.2;
option domain-name-servers 148.187.x.x, 148.187.x.x;
}
subnet 148.187.2.0 netmask 255.255.255.128 {
option routers 148.187.2.2;
option domain-name-servers 148.187.x.x, 148.187.x.x;
}
....
include "/etc/dhcp.cscs/dhcp-conf-dir/cluster1.conf";
include "/etc/dhcp.cscs/dhcp-conf-dir/cluster2.conf";
include ...
where /etc/dhcp.cscs/dhcp-conf-dir/cluster1.conf
host server01.cscs.ch {
hardware ethernet 90:E2:BA:A1:56:F4; # 10G ETH0 NIC
fixed-address 148.187.x.x;
filename "xcat/xnba.efi";
next-server 148.187.x.x;
}
or /etc/dhcp.cscs/dhcp-conf-dir/cluster2.conf
host servername01.cscs.ch {
hardware ethernet 08:94:EF:5F:E0:CC;
fixed-address 148.187.x.x;
next-server 148.187.x.x;
filename "pxelinux.0";
}
and so on.
Unfortunately the server01 has this strange behavior.
Carmelo
On Thu, 2018-06-07 at 16:54 +0000, Jarrod Johnson wrote:
> Is the external DHCP server ISC or other?
>
> Can you share how you tried to do the adaptive DHCPOFFER with
> different filenames depending on the request?
>
> In the future, I hope to provide ProxyDHCP which would allow direct
> DHCP OFFER control for PXE filename without imposing on addressing,
> but for now...
>
> -----Original Message-----
> From: Carmelo Ponti (CSCS) <[email protected]>
> Sent: Thursday, June 07, 2018 12:09 PM
> To: xCAT Users Mailing list <[email protected]>
> Subject: Re: [xcat-user] [External] UEFI installation problem
>
> Jarrod,
>
> On Thu, 2018-06-07 at 15:00 +0000, Jarrod Johnson wrote:
> > Is that preceeded by a lot of the same output over and over?
>
> Yes, I'm seeing the same message many times
>
> > I see xnba downloading xnba, which should not be
> > happening…. Dhcp
> > should be doing a different offer…
>
> We are using a centralized DHCP at CSCS (not the one offered by
> xCAT).
> I tried to configure it to respect the xCAT rules but maybe I'm doing
> something wrong. Any advice?
>
> Carmelo
>
> >
> > From: Carmelo Ponti (CSCS) <[email protected]>
> > Sent: Thursday, June 07, 2018 10:21 AM
> > To: [email protected]
> > Subject: [External] [xcat-user] UEFI installation problem
> >
> > Hello,
> >
> > I would like to install a intel server board S2600WT (BIOS version
> > SE5C610.86B.01.01.0011 08/10/2015) using xcat with UEFI but I got
> > the
> > following error at the console:
> >
> > xCAT Network Boot Agent
> > iPXE 1.0.3-131028 (d603e) -- Open Source Network Boot Firmare --
> > http
> > ://ipxe.org
> > Features: HTTP HTTPS iSCSI DNS TFTP EFI
> > net1: 90:e2:ba:a1:56:f4 using <NULL> on EFI SNP (open) [Link:up,
> > TX:0
> > TXE:0 RX:0 RXE:0] DHCP (net1 90:e2:ba:a1:56:f4) ...... ok Next
> > server:
> > 148.187.xxx.xxx
> > Filename: xcat/xnba.efi
> > tftp://148.187.xxx.xxx/xcat/xnba.efi ... ok Could not boot image:
> > Error 0x7f38e002 (http:/ipxe/org/7f38e002) No more network devices
> > Could not boot image: Error 0x7f048002 (http:/ipxe/org/7f048002)
> > No
> > more network devices
> >
> > Currently I'm using xCAT 2.13 and following the server
> > configuration:
> >
> > Object name: server01
> > arch=x86_64
> > bmc=148.187.xxx.xxx
> > bmcpassword=xxxxxx
> > bmcusername=root
> > cons=kvm
> > currchain=boot
> > currstate=install rhels7.4-x86_64-cscs_storage
> > groups=all,cscs
> > hostnames=server01.cscs.ch
> > interface=eno1
> > ip=148.187.xxx.xxx
> > mac=90:e2:ba:a1:56:f4
> > mgt=ipmi
> > netboot=xnba
> > nfsserver=148.187.xxx.xxx
> > nodetype=osi
> > os=rhels7.4
> > postbootscripts=otherpkgs
> > postscripts=syslog,remoteshell,syncfiles
> > power=ipmi
> > primarynic=eno1
> > profile=cscs_storage
> > provmethod=rhels7.4-x86_64-install-cscs_storage
> > status=powering-on
> > statustime=06-07-2018 15:49:19
> > tftpdir=/tftpboot
> > tftpserver=148.187.xxx.xxx
> >
> > dhcp is configured as following:
> >
> > host server01.cscs.ch {
> > hardware ethernet 90:E2:BA:A1:56:F4; # 10G ETH0 NIC
> > fixed-address 148.187.xxx.xxx;
> > filename "xcat/xnba.efi";
> > next-server 148.187.xxx.xxx;
> > }
> >
> > When I ran "nodeset server01 osimage=rhels7.4-x86_64-install-
> > cscs_storage"
> >
> > The following 3 files are created in /tftpboot/xcat/xnba/nodes :
> >
> > server01
> > server01.elilo
> > server01.uefi
> >
> > I'm suspecting a problem with the BIOS version but I'm not sure.
> >
> > Thank you for any advice,
> >
> > Carmelo Ponti
> >
> >
> >
> > --
> >
> > -------------------------------------------------------------------
> > ---
> >
> > Carmelo Ponti System Engineer
> >
> > CSCS Swiss Center for Scientific Computing
> >
> > Via Trevano 131 Email: [email protected]<mailto:[email protected]
> > >
> >
> > CH-6900 Lugano http://www.cscs.ch
> >
> > Phone: +41 91 610 82 15/Fax: +41 91 610 82
> > 82
> >
> > -------------------------------------------------------------------
> > ---
> > -------------------------------------------------------------------
> > -----------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > xCAT-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
>
> --
> -------------------------------------------------------------------
> ---
> Carmelo Ponti System Engineer
> CSCS Swiss Center for Scientific Computing
> Via Trevano 131 Email: [email protected]
> CH-6900 Lugano http://www.cscs.ch
> Phone: +41 91 610 82 15/Fax: +41 91 610 82 82
> -------------------------------------------------------------------
> ---
>
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
--
----------------------------------------------------------------------
Carmelo Ponti System Engineer
CSCS Swiss Center for Scientific Computing
Via Trevano 131 Email: [email protected]
CH-6900 Lugano http://www.cscs.ch
Phone: +41 91 610 82 15/Fax: +41 91 610 82 82
----------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user