feat: use central sulrmdbd, and misc fixes

This commit is contained in:
2025-09-27 14:03:51 +02:00
parent a981f5e7ba
commit caab89f642
3 changed files with 5 additions and 8 deletions

View File

@@ -98,6 +98,7 @@ let
}; };
networking = { networking = {
useDHCP = false;
domain = mkDefault "cluster.local"; domain = mkDefault "cluster.local";
defaultGateway = mkDefault "172.16.239.1"; defaultGateway = mkDefault "172.16.239.1";
nameservers = mkDefault [ "8.8.8.8" ]; nameservers = mkDefault [ "8.8.8.8" ];
@@ -144,11 +145,10 @@ let
client = true; client = true;
clusterName = "rossby"; clusterName = "rossby";
controlMachine = "rossby-manage"; controlMachine = "rossby-manage";
# dbdHost = "ekman-manage.obx.hs"; dbdHost = "10.255.241.15";
mungeKey = ./munge.key; mungeKey = ./munge.key;
jwtKey = ./jwt_hs256.key; jwtKey = ./jwt_hs256.key;
mungeUid = mkDefault 994; # hack slurmKey = ./slurm.key;
# slurmUid = mkDefault 307; # hack
# pkey = "0x7666"; # pkey = "0x7666";
mailDomain = "oceanbox.io"; mailDomain = "oceanbox.io";
nodeName = [ nodeName = [
@@ -256,7 +256,7 @@ let
}; };
fs-work = { fs-work = {
hostNames = [ hostNames = [
"fs-work" "fs-work.cluster.local" "172.16.239.201" "fs-work" "fs-work.cluster.local" "172.16.239.210"
]; ];
publicKeyFile = ./fs-work/ssh_host_key.pub; publicKeyFile = ./fs-work/ssh_host_key.pub;
}; };

View File

@@ -45,8 +45,6 @@ in {
}; };
}; };
features.hpc.slurm.mungeUid = 994;
features = { features = {
host = { host = {
inherit address; inherit address;

View File

@@ -77,8 +77,7 @@ in {
hpc = { hpc = {
slurm.server = true; slurm.server = true;
slurm.slurmrestd = true; slurm.slurmrestd = true;
slurm.dbdServer = true; slurm.dbdServer = false;
slurm.mungeUid = 993;
manageNode = true; manageNode = true;
}; };