Hi Jean-François!
On Mon, Apr 03, 2017 at 09:31:33AM -0700, Jean-François Courteau wrote:
> I just tried the follofing setting:
> connNetFilterFile = /beegfs/netfilter.conf
>
> Created the file /beegfs/netfilter.conf
> [root@srvhc01 beegfs]# cat /beegfs/netfilter.conf
>
192.168.255.0/24
> [EOF]
>
> Then I restarted the beegfs-client and beegfs-helperd services. The output of
> the beegfs-ctl command is still the same...
>
> [root@srvhc01 beegfs]# beegfs-ctl --listnodes --nodetype=client --nicdetails
>
641B-58DDBABD-srvhc01.nexcess.int [ID: 1]
> Ports: UDP: 8004; TCP: 0
> Interfaces:
> + enp4s0f1[ip addr: 192.168.1.10; type: TCP]
> + enp4s0f0[ip addr: 192.168.0.11; type: TCP]
>
3271-58E106CC-srvhc02.nexcess.int [ID: 5]
> Ports: UDP: 8004; TCP: 0
> Interfaces:
> + nm-team[ip addr: 192.168.255.16; type: TCP]
>
> Are there other services I need to restart for the setting to take effect?
I just tried that on my test system. All my nodes have ethernet and
infiniband. beegfs-ctl --listnodes always shows all interfaces:
3FD6-58E27EE5-z001 [ID: 46]
Ports: UDP: 8104; TCP: 0
Interfaces:
+ ib0[ip addr: 10.0.29.1; type: RDMA]
+ eth0[ip addr: 130.133.29.1; type: TCP]
+ ib0[ip addr: 10.0.29.1; type: TCP]
But once I configure a connNetFilterFile file, the client is only
ever using the paths I stated in that file.
For example, if I put
10.0.29.0/24 into that file and then disable
the infiniband port, the client does no longer fall back to the
ethernet interface, as it usually does. The client logfile is not
very specific about the effect of the filter file:
mount(2026) [App_logInfos] >> Usable NICs: ib0(RDMA) eth0(TCP) ib0(TCP)
mount(2026) [App_logInfos] >> Net filters: 1
beegfs-check-servers even shows the ethernet interfaces as being usable:
Metadata
==========
zmeta01 [ID: 1]: reachable at
130.133.29.69:8105 (protocol: TCP)
[...]
but the client logfile complains "Connect failed on all available
routes". So this information does not seem to be consistent everywhere
once you activate the connNetFilterFile option. Maybe I'm missing
something here.
The part that I don't understand in your case: why does the nm-team
interface not show up on
srvhc01.nexcess.int at all? What do you get
for "Usable NICs" in the client logfile when the service starts up?
Regards,
Jens.