You could turn on bios device names (aka consistent device naming) which was designed specifically to address this type of problem. Your NICs would no longer be named eth0, eth1, eth2 etc., but instead use a name that is based on the physical hardware layout and on BIOS information.
_______________________________________________________________________ Kevin Keane | Systems Architect | University of San Diego ITS | [email protected] Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859 | Text: 760-721-8339 *REMEMBER! **No one from IT at USD will ever ask to confirm or supply your password*. These messages are an attempt to steal your username and password. Please do not reply to, click the links within, or open the attachments of these messages. Delete them! On Thu, Jul 11, 2019 at 1:27 AM Heckes Frank (CI/OSB4) via xCAT-user < [email protected]> wrote: > Hi all, > > > > I created a diskless image for rhel7.6 using genimage (xCAT Version > 2.13.7). The dhcp/tftp boot process works fine, but > > the execution of the initrd stalls after some time. Even the Dracut shell > is unusable. > > I tried specify the bootif as described below in the tftp boot record, but > it doesn’t help. > > > > Performing a statefull install I noticed that the NIC HW instances are not > named (ethX) persistently during reboot. Aka > the primary NIC might be named eth0 or eth2, as this is not guaranteed by > the kernel. > > > > · Does any know how to set the bootif in a deterministic way? > > · Increase verbosity or chance to reach Dracut/emergeny shell to > check the system for error? > > > > Many thanks for any help or advice. > > > > Cheers, > > -Frank > > > > > > > > ------------------- DHCP Record ------------------------ > > host syv-hpc-login1 { > > dynamic; > > hardware ethernet 4c:52:62:2e:c9:7b; > > uid 4c:52:62:2e:c9:7b; > > fixed-address 10.236.87.203; > > supersede server.ddns-hostname = "syv-hpc-login1"; > > supersede host-name = "syv-hpc-login1"; > > if option user-class-identifier = "xNBA" and option > client-architecture > > = 00:00 { > > supersede server.always-broadcast = 01; > > supersede server.filename = > > " > http://10.236.87.199:80/tftpboot/xcat/xnba/nodes/syv-hpc-login1"; > > } elsif option user-class-identifier = "xNBA" and option > > client-architecture = 00:09 { > > supersede server.filename = > > " > http://10.236.87.199:80/tftpboot/xcat/xnba/nodes/syv-hpc-login1.uefi"; > > } elsif option client-architecture = 00:07 { > > supersede server.filename = "xcat/xnba.efi"; > > } elsif option client-architecture = 00:00 { > > supersede server.filename = "xcat/xnba.kpxe"; > > } else { > > supersede server.filename = ""; > > } > > supersede server.next-server = 0a:ec:57:c7; > > } > > > > > > ------------------- TFTP Record ------------------------ > > #!gpxe > > #netboot rhels7.6-x86_64-compute > > imgfetch -n kernel http:// > ${next-server}:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/kernel > > imgload kernel > > imgargs kernel imgurl= > http://10.236.87.199:80//install/images/builds/rhels7.6/x86_64/netboot/compute-2.0.0/rootimg.cpio.gz > XCAT=10.236.87.199:3001 NODE=syv-hpc-login1 FC=0 XCATHTTPPORT=80 > console=tty0 console=ttyS0,115200n8r selinux=0 biosdevname=0 net.ifnames=0 > nouveau.blacklist=yes BOOTIF=4C:52:62:2E:C9:7B > > imgfetch http:// > ${next-server}:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/initrd-stateless.gz > > imgexec kernel > > > > > > --- elio > > default="xCAT" > > delay=0 > > > > image=/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/kernel > > label="xCAT" > > > initrd=/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/initrd-stateless.gz > > append="imgurl= > http://10.236.87.199:80//install/images/builds/rhels7.6/x86_64/netboot/compute-2.0.0/rootimg.cpio.gz > XCAT=10.236.87.199:3001 NODE=syv-hpc-login1 FC=0 XCATHTTPPORT=80 > console=tty0 console=ttyS0,115200n8r selinux=0 biosdevname=0 net.ifnames=0 > nouveau.blacklist=yes BOOTIF=4C:52:62:2E:C9:7B" > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user >
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
