We built this script to bring up ipoib on RHELS 9.2. Your mileage may vary....
[root@xcat02 postscripts]# more ipoib #!/bin/bash # Define the log function function log { echo "$(date +"%Y-%m-%d %H:%M:%S") - $1" >> /root/post.log 2>&1 logger -t xcat "$1" } # Log script start log "Starting ib-config-as-eth script" # Find the primary interface and its IPv4 address log "Finding the primary interface and its IPv4 address" primary_interface=$(ip route | awk '/default/ {print $5; exit}') primary_ip=$(ip addr show dev $primary_interface | awk '$1 == "inet" {gsub(/\/.* $/, "", $2); print $2}') # Replace "172.20." with "172.25." in the primary IP address log "Replacing IP address" ib_ip=${primary_ip/172.20./172.25.} ib_conname=ib0 # Find first ib interface name ib_ifname=$(cd /sys/class/net; ls -d ib* | head -1) [[ -n $ib_ifname ]] || exit # Add InfiniBand connection log "Adding InfiniBand connection $ib_ifname" nmcli connection add type infiniband con-name $ib_conname ifname $ib_ifname tran sport-mode Datagram # Set IPv4 address log "Setting IPv4 address to $ib_ip/16" nmcli connection modify $ib_conname ipv4.addresses "$ib_ip/16" # Set IPv4 method to manual log "Setting IPv4 method to manual" nmcli connection modify $ib_conname ipv4.method manual # Ignore IPv6 log "Ignoring IPv6" nmcli connection modify $ib_conname ipv6.method ignore # Activate the connection log "Activating the connection" nmcli connection up $ib_conname # Log script end log "/postscripts/ipoib script completed" > On Nov 15, 2023, at 5:52 AM, Tomer Shachaf <tomers...@matrix.co.il> wrote: > > From my experience, it’s working good for redhat 9. but there the script to > configure the ib interface doesn’t working for me , only on 8.5. > Hope it’s helping you . > > בברכה , > > תומר שחף | מהנדס אינטגרציה ותשתיות | חטיבת אינטגרציה ותשתיות | מטריקס | נייד > 054-2686841 | > tomers...@matrix.co.il <mailto:tomers...@matrix.co.il> | www.matrix.co.il > <http://www.matrix.co.il/> > > > >> On 15 Nov 2023, at 12:12, Tovey, Matthew <matthew.to...@lrz.de> wrote: >> >> >> Hi list, >> >> Is xcat 2.16.5 working with Redhat 9.X OSs for CNs? The release notes say >> “alpha support for 9.0” – how well does that work? Does Confluent handle >> them better? >> >> I’ve tried to install a Rocky 9.0 image on an x86_64 CN, but the kickstart >> file that xcat comes up with has syntax errors. I’m wondering if there >> exists a patch with a kickstart file for xcat that will work with rocky 9.0 >> and/or 9.2. >> >> Thanks, >> >> Matt >> -- >> Matt Tovey >> Future Computing / Quantum Computing / BDAI Administration >> Leibniz Supercomputing Centre Tel. : >> +49-89-35831-7864 >> Boltzmannstr. 1 >> D-85748 Garching email : >> matt.to...@lrz.de <mailto:matt.to...@lrz.de> >> >> >> זהירות: מקור הדואל הזה הוא מחוץ למטריקס. חל איסור ללחוץ על קישורים או לפתוח >> קבצים מצורפים אלא אם כן השולח מוכר והתוכן בטוח >> Caution: The source of this email is from outside Matrix. it is forbidden to >> click on links or open attachments unless you recognize the sender and know >> the content is safe. >> >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net <mailto:xCAT-user@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> <https://lists.sourceforge.net/lists/listinfo/xcat-user> > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net <mailto:xCAT-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/xcat-user > <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