How would I go about getting that primary nic into the nics table? This is the command we use to add the node definition:
nodeadd ${base_name}${node} groups=${group},all chdef ${base_name}${node} arch=x86_64 mgt=ipmi cons=ipmi ip=${base_net}.${ip_net}.${ip} netboot=petitboot installnic=mac primarynic=mac bmc=${base_net}.${idrac_net}.${ip} chdef ${base_name}${node} bmcusername=${bmc_user} bmcpassword=${bmc_pass} nicips.bmc=${base_net}.${idrac_net}.${ip} nicaliases.bmc=${base_name}${node}.drac.${domain_name} nicnetworks.bmc="dracnet" nictypes.bmc="bmc" chdef ${base_name}${node} nicaliases.bmc=${base_name}${node}.drac.${domain_name} nictypes.bmc=bmc nicnetworks.bmc=dracnet if [ ! -z "${ib_present}" ]; then chdef "${base_name}""${node}" nicips.ib0="${base_net}.""${ib_net}"."${ip}" nicextraparams.ib0="Type=InfiniBand CONNECTED_MODE=yes MTU=65520" nicnetworks.ib0="ibnet" nictypes.ib0="Infiniband" nicaliases.ib0="${base_name}""${node}".ib.${domain_name} chdef "${base_name}""${node}" -p postscripts="confignics --ibaports=1" fi chdef -t node "${base_name}""${node}" -p postscripts="confignetwork -s" chdef -t node "${base_name}""${node}" provmethod=${os_image} makehosts "${base_name}""${node}" Once the node is booted into genesis, we associate the node with the info captured in discoverydata. I suppose the only reason that the others are in the nics table is because we wanted them configured in DNS with those aliases. So, node 1 is c001.cluster. To get to the iDRAC, it's c001.drac.cluster and InfiniBand is c001.ib.cluster On Thu, May 13, 2021 at 9:22 AM Russ Auld <russa...@comcast.net> wrote: > If you would like the Ethernet interface configured, add it to the nics > table. The IP address shown by lsdef is probably coming from the hosts > table. > The hosts table is useful if you want to build out /etc/hosts by running > makehosts. > It?s also the right place to list interfaces that are not configured > in-band, such as bmc?s. The nics table is where you want to list all > in-band interfaces (to be configured by the os). > > > On Thu, May 13, 2021 at 10:58 AM <aaronhc...@gmail.com> wrote: > >> Going to respond to both of you in a single email. >> >> Russell, >> >> Was not aware of confignics going away. Will look into replacing that >> piece correctly. >> >> Nathan, >> >> The nics table says this about the node: >> "c001","bmc!172.16.4.26,ib0!172.16.8.26",,,"ib0!Infiniband,bmc!bmc",,"bmc!dracnet,ib0!ibnet","ib0!c001.ib.cluster,bmc!c001.drac.cluster","ib0!Type=InfiniBand >> CONNECTED_MODE=yes MTU=65520",,,, >> >> Also, one of my team mates pointed out that the network-scripts RPM is >> not being installed by default. >> >> Adding that RPM to the osimage template and adding >> systemctl enable network-scripts >> systemctl start network-scripts >> To the %post section of the template has corrected the issue. >> >> It does seem a bit odd though that something like that wouldn't be >> included and enabled by default. >> >> On Thu, May 13, 2021 at 2:59 AM Russell Auld <russa...@comcast.net> >> wrote: >> >> First, I think confignics has been superseded by confignetwork; >> Regardless of that, you should only call one of them. >> >> Second, are you using the ?nics? table? If not, please look into it. If >> yes, please show the settings for the node. >> >> >> >> >> >> >> >> *From:* aaronhc...@gmail.com <aaronhc...@gmail.com> >> *Sent:* Wednesday, May 12, 2021 4:13 PM >> *To:* xCAT Users Mailing list <xcat-user@lists.sourceforge.net> >> *Subject:* [xcat-user] Node nic config error during install >> >> >> >> xCAT 2.16.1 >> >> CentOS 8.3 >> >> >> >> When the node finishes installing, the network doesn't come up. >> >> >> >> The postscript is set to do it. >> >> postscripts=syslog,remoteshell,syncfiles,confignics >> --ibaports=1,confignetwork -s >> >> However, it doesn't. >> >> >> >> If I attempt to run it manually, I get this error: >> >> [root@c001 xcatpost]# /xcatpost/confignetwork -s >> [I]: NetworkManager is active >> [E]:Error: Can not determine proper install nic. >> [I]: There is no other nic device to configure. >> >> >> >> There is an ifcfg-eno1 file present, which is wrong: >> >> [root@c001 network-scripts]# cat ifcfg-eno1 >> # Generated by parse-kickstart >> TYPE=Ethernet >> DEVICE=eno1 >> UUID=3f02c4a7-daf5-4404-8fe7-43492454ef92 >> ONBOOT=yes >> BOOTPROTO=dhcp >> IPV6INIT=yes >> PROXY_METHOD=none >> BROWSER_ONLY=no >> DEFROUTE=yes >> IPV4_FAILURE_FATAL=no >> IPV6_AUTOCONF=yes >> IPV6_DEFROUTE=yes >> IPV6_FAILURE_FATAL=no >> NAME="System eno1" >> >> >> >> There is also an ifcfg-xcat-eno1 file, which is what should be configured. >> >> [root@c001 network-scripts]# cat ifcfg-xcat-eno1 >> DEVICE=eno1 >> IPADDR=172.16.0.26 >> NETMASK=255.255.252.0 >> BOOTPROTO=none >> ONBOOT=yes >> NAME=xcat-eno1 >> AUTOCONNECT_PRIORITY=9 >> MTU=1500 >> >> >> >> 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state >> UP group default qlen 1000 >> link/ether 18:03:73:1c:77:b8 >> >> >> >> lsdef for the node shows these: >> >> ip=172.16.0.26 >> mac=18:03:73:1c:77:b8 >> >> >> >> Any idea why this is failing? >> >> >> >> This is a first attempt to get this set up on 8.x >> >> >> >> >> >> >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user >
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user