fix: slurm updates for rossby
This commit is contained in:
@@ -106,7 +106,7 @@ let
|
||||
firewall.extraCommands = ''
|
||||
iptables -I INPUT -s 172.16.239.0/24 -j ACCEPT
|
||||
iptables -I INPUT -s 10.1.6.0/24 -j ACCEPT
|
||||
iptables -I INPUT -s 10.64.0.0/24 -j ACCEPT
|
||||
iptables -I INPUT -s 100.64.0.0/24 -j ACCEPT
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -142,12 +142,14 @@ let
|
||||
features.hpc.slurm = {
|
||||
enable = true;
|
||||
client = true;
|
||||
clusterName = "rossby";
|
||||
controlMachine = "rossby-manage";
|
||||
# dbdHost = "ekman-manage.obx.hs";
|
||||
mungeKey = ./munge.key;
|
||||
jwtKey = ./jwt_hs256.key;
|
||||
mungeUid = mkDefault 994; # hack
|
||||
# slurmUid = mkDefault 307; # hack
|
||||
# pkey = "0x7666";
|
||||
controlMachine = "rossby-manage";
|
||||
mailDomain = "oceanbox.io";
|
||||
nodeName = [
|
||||
"c0-[1-20] Sockets=2 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=382000 TmpDisk=400000 State=UNKNOWN"
|
||||
|
||||
@@ -77,8 +77,8 @@ in {
|
||||
hpc = {
|
||||
slurm.server = true;
|
||||
slurm.slurmrestd = true;
|
||||
slurm.dbdServer = true;
|
||||
slurm.mungeUid = 993;
|
||||
slurm.dbdHosts = "ekman-manage.obx.hs";
|
||||
manageNode = true;
|
||||
};
|
||||
|
||||
@@ -329,6 +329,7 @@ in {
|
||||
extraUpFlags = [
|
||||
"--login-server=https://headscale.svc.oceanbox.io"
|
||||
"--accept-dns=true" # see dnsmasq
|
||||
"--accept-routes=true"
|
||||
"--advertise-exit-node"
|
||||
"--advertise-routes=172.16.239.0/24,172.16.238.0/24"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user