...
| Code Block |
|---|
pip3 install netaddr pip3 install netifaces |
I also created a general configuration script, which can come in handy: lustrecfg.py
| Code Block |
|---|
python3 lustrecfg.py [--dry-run] --cfg=<YAML configuration file |
The configuration file would look like:
| Code Block |
|---|
lustre:
operation: all
build_src: lustre_src
build_script: deploy.py
config_name: lnet
lnet:
net:
- net type: o2ib0
interfaces: eno1,eno2,eno3
tunables:
peer_credits: 32
peer_credits_hiw: 16
concurrent_sends: 64
- net type: o2ib1
interfaces: eno1
tunables:
peer_credits: 32
peer_credits_hiw: 16
concurrent_sends: 64
route:
- net: tcp1
gateway: 192.168.122.21@tcp
hop: -1
priority: 0
health_sensitivity: 1
global:
lnet_transaction_timeout: 100
lnet_retry_count: 3 |
Overview
Due to Linux routing quirks, if there are two network interfaces on the same node, the HW address returned in the ARP for a specific IP might not necessarily be the one for the exact interface being ARPed.
...