fix: slurm updates for rossby

This commit is contained in:
2025-09-26 16:03:31 +02:00
parent 998d551943
commit 398af17797
2 changed files with 6 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"
];