2023-04-06 13:58:24 +02:00
|
|
|
{ pkgs, ... }:
|
2023-03-31 18:27:25 +02:00
|
|
|
|
|
|
|
{
|
2023-04-06 13:58:24 +02:00
|
|
|
# Infiniband (IPoIB)
|
|
|
|
environment.systemPackages = [ pkgs.rdma-core ];
|
|
|
|
boot.kernelModules = [ "ib_umad" "ib_ipoib" ];
|
|
|
|
|
2023-03-31 18:27:25 +02:00
|
|
|
networking = {
|
2023-04-03 12:51:44 +02:00
|
|
|
enableIPv6 = false;
|
2023-03-31 18:27:25 +02:00
|
|
|
useDHCP = false;
|
2023-06-30 14:01:35 +02:00
|
|
|
defaultGateway = "10.0.40.30";
|
2023-03-31 18:27:25 +02:00
|
|
|
nameservers = ["8.8.8.8"];
|
|
|
|
proxy = {
|
|
|
|
default = "http://localhost:23080/";
|
2023-08-22 16:33:55 +02:00
|
|
|
noProxy = "127.0.0.1,localhost,internal.domain,10.0.40.40";
|
2023-08-17 12:37:58 +02:00
|
|
|
# Don't set all_proxy as go complains and breaks the gitlab runner, see:
|
|
|
|
# https://github.com/golang/go/issues/16715
|
|
|
|
allProxy = null;
|
2023-03-31 18:27:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
2023-04-03 12:51:44 +02:00
|
|
|
allowedTCPPorts = [ 22 ];
|
|
|
|
|
|
|
|
# FIXME: For slurmd as it requests the compute nodes to connect to us
|
|
|
|
allowedTCPPortRanges = [ { from=1024; to=65535; } ];
|
2023-03-31 18:27:25 +02:00
|
|
|
};
|
2023-04-03 12:51:44 +02:00
|
|
|
|
|
|
|
extraHosts = ''
|
|
|
|
10.0.40.30 ssfhead
|
|
|
|
84.88.53.236 ssfhead.bsc.es ssfhead
|
|
|
|
|
|
|
|
# Node Entry for node: mds01 (ID=72)
|
2023-08-22 15:56:09 +02:00
|
|
|
10.0.40.40 bay mds01 mds01-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.40 mds01-ib0
|
|
|
|
10.0.40.141 mds01-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: oss01 (ID=73)
|
|
|
|
10.0.40.41 oss01 oss01-eth0
|
|
|
|
10.0.42.41 oss01-ib0
|
|
|
|
10.0.40.142 oss01-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: oss02 (ID=74)
|
2023-08-25 14:44:35 +02:00
|
|
|
10.0.40.42 lake2 oss02 oss02-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.42 oss02-ib0
|
|
|
|
10.0.40.143 oss02-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon01 (ID=15)
|
2023-06-23 16:22:18 +02:00
|
|
|
10.0.40.1 owl1 xeon01 xeon01-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.1 xeon01-ib0
|
|
|
|
10.0.40.101 xeon01-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon02 (ID=16)
|
2023-06-23 16:22:18 +02:00
|
|
|
10.0.40.2 owl2 xeon02 xeon02-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.2 xeon02-ib0
|
|
|
|
10.0.40.102 xeon02-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon03 (ID=17)
|
|
|
|
10.0.40.3 xeon03 xeon03-eth0
|
|
|
|
10.0.42.3 xeon03-ib0
|
|
|
|
10.0.40.103 xeon03-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon04 (ID=18)
|
|
|
|
10.0.40.4 xeon04 xeon04-eth0
|
|
|
|
10.0.42.4 xeon04-ib0
|
|
|
|
10.0.40.104 xeon04-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon05 (ID=19)
|
2023-07-21 10:34:19 +02:00
|
|
|
10.0.40.5 koro xeon05 xeon05-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.5 xeon05-ib0
|
|
|
|
10.0.40.105 xeon05-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon06 (ID=20)
|
|
|
|
10.0.40.6 xeon06 xeon06-eth0
|
|
|
|
10.0.42.6 xeon06-ib0
|
|
|
|
10.0.40.106 xeon06-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon07 (ID=21)
|
2023-06-23 16:22:18 +02:00
|
|
|
10.0.40.7 hut xeon07 xeon07-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.7 xeon07-ib0
|
|
|
|
10.0.40.107 xeon07-ipmi0
|
|
|
|
|
|
|
|
# Node Entry for node: xeon08 (ID=22)
|
2023-06-23 16:22:18 +02:00
|
|
|
10.0.40.8 eudy xeon08 xeon08-eth0
|
2023-04-03 12:51:44 +02:00
|
|
|
10.0.42.8 xeon08-ib0
|
|
|
|
10.0.40.108 xeon08-ipmi0
|
|
|
|
'';
|
2023-03-31 18:27:25 +02:00
|
|
|
};
|
|
|
|
}
|