Skip to content

Additional documentation on "Optionally define IPoIB network settings" for compute nodes #2594

@migueldiascosta

Description

@migueldiascosta

On a fresh install using OpenHPC 4.1 with Rocky 10 and following the installation guide, I found that wwctl node set --yes "${c_name[$i]}" --netname=ib --netdev=ib0 --ipaddr="${c_ipoib[$i]}" --netmask="${ipoib_netmask}" was not enough to get IPoIB working on the compute nodes, because the interface name would get changed from ib0 to something else.

Warewulf does have an overlay, udev.netname, that tries to fix the interface name also for infiniband devices, https://github.com/warewulf/warewulf/blob/5cc2177a6e3d27a2c91b0b7a94140f9d8b28d1c4/overlays/udev.netname/rootfs/etc/udev/rules.d/70-persistent-net.rules.ww#L4-L6, but it requires additionally setting --type="infiniband" and --hwaddr with the last 6 bytes of the hardware address (https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_networking/configuring-infiniband-and-rdma-networks#understanding-ipoib-hardware-addresses)

After that, the interface did get configured correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions