fix: partially fix a totally botched merge.
This commit is contained in:
@@ -35,11 +35,7 @@ let
|
|||||||
|
|
||||||
mkCompute = host:
|
mkCompute = host:
|
||||||
let
|
let
|
||||||
<<<<<<<< HEAD:rossby/c0/default.nix
|
|
||||||
hw = ./hardware-config.d + "/${host.name}.nix";
|
|
||||||
========
|
|
||||||
hw = ./hardware-configuration.d + "/${host.name}.nix";
|
hw = ./hardware-configuration.d + "/${host.name}.nix";
|
||||||
>>>>>>>> ekman:ekman/c0/default.nix
|
|
||||||
in {
|
in {
|
||||||
"${host.name}" = {
|
"${host.name}" = {
|
||||||
cluster = {
|
cluster = {
|
||||||
|
|||||||
@@ -144,28 +144,12 @@ let
|
|||||||
mungeKey = ./munge.key;
|
mungeKey = ./munge.key;
|
||||||
mungeUid = mkDefault 994; # hack
|
mungeUid = mkDefault 994; # hack
|
||||||
# pkey = "0x7666";
|
# pkey = "0x7666";
|
||||||
<<<<<<<< HEAD:rossby/default.nix
|
|
||||||
controlMachine = "rossby-manage";
|
controlMachine = "rossby-manage";
|
||||||
mailDomain = "oceanbox.io";
|
mailDomain = "oceanbox.io";
|
||||||
nodeName = [
|
nodeName = [
|
||||||
<<<<<<< HEAD
|
"c0-[1-20] Sockets=2 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=382000 TmpDisk=400000 State=UNKNOWN"
|
||||||
"c0-[1-16] Sockets=2 CoresPerSocket=64 ThreadsPerCore=1 RealMemory=256000 TmpDisk=500000 State=UNKNOWN"
|
|
||||||
"rossby-login Sockets=2 CoresPerSocket=64 ThreadsPerCore=1 RealMemory=256000 TmpDisk=500000 State=UNKNOWN"
|
|
||||||
"rossby-manage Sockets=2 CoresPerSocket=64 ThreadsPerCore=1 RealMemory=256000 TmpDisk=500000 State=UNKNOWN"
|
|
||||||
========
|
|
||||||
controlMachine = "ekman-manage";
|
|
||||||
mailDomain = "oceanbox.io";
|
|
||||||
nodeName = [
|
|
||||||
"c0-[1-18] Sockets=2 CoresPerSocket=64 ThreadsPerCore=1 RealMemory=256000 TmpDisk=500000 State=UNKNOWN"
|
|
||||||
"c1-[1-8] Sockets=1 CoresPerSocket=64 ThreadsPerCore=1 RealMemory=256000 TmpDisk=100000 State=UNKNOWN"
|
|
||||||
"ekman Sockets=2 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=256000 TmpDisk=500000 State=UNKNOWN"
|
|
||||||
"ekman-manage Sockets=2 CoresPerSocket=16 ThreadsPerCore=2 RealMemory=92000 TmpDisk=200000 State=UNKNOWN"
|
|
||||||
>>>>>>>> ekman:ekman/default.nix
|
|
||||||
=======
|
|
||||||
"c0-[1-20] Sockets=2 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=350000 TmpDisk=400000 State=UNKNOWN"
|
|
||||||
"rossby-login Sockets=1 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=60000 TmpDisk=400000 State=UNKNOWN"
|
"rossby-login Sockets=1 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=60000 TmpDisk=400000 State=UNKNOWN"
|
||||||
"rossby-manage Sockets=1 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=60000 TmpDisk=400000 State=UNKNOWN"
|
"rossby-manage Sockets=1 CoresPerSocket=64 ThreadsPerCore=2 RealMemory=60000 TmpDisk=400000 State=UNKNOWN"
|
||||||
>>>>>>> origin/rossby
|
|
||||||
];
|
];
|
||||||
partitionName = [
|
partitionName = [
|
||||||
"batch Nodes=c0-[1-20] Default=YES MaxTime=INFINITE State=UP"
|
"batch Nodes=c0-[1-20] Default=YES MaxTime=INFINITE State=UP"
|
||||||
@@ -213,13 +197,8 @@ let
|
|||||||
initca = ./ca;
|
initca = ./ca;
|
||||||
cidr = "10.10.0.0/16";
|
cidr = "10.10.0.0/16";
|
||||||
master = {
|
master = {
|
||||||
<<<<<<<< HEAD:rossby/default.nix
|
|
||||||
name = "rossby-manage";
|
name = "rossby-manage";
|
||||||
address = "172.16.239.221";
|
address = "172.16.239.221";
|
||||||
========
|
|
||||||
name = "ekman-manage";
|
|
||||||
address = "10.255.241.99";
|
|
||||||
>>>>>>>> ekman:ekman/default.nix
|
|
||||||
# extraSANs = [
|
# extraSANs = [
|
||||||
# "rossby-manage.oceanbox.io"
|
# "rossby-manage.oceanbox.io"
|
||||||
# ];
|
# ];
|
||||||
@@ -258,41 +237,17 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh.knownHosts = {
|
programs.ssh.knownHosts = {
|
||||||
<<<<<<<< HEAD:rossby/default.nix
|
|
||||||
rossby-manage = {
|
rossby-manage = {
|
||||||
hostNames = [
|
hostNames = [
|
||||||
"manage" "manage.compute.local" "rossby-manage.oceanbox.io" "172.16.239.221" "172.16.240.221"
|
"manage" "manage.compute.local" "rossby-manage.oceanbox.io" "172.16.239.221" "172.16.240.221"
|
||||||
========
|
|
||||||
ekman-manage = {
|
|
||||||
hostNames = [
|
|
||||||
"ekman-manage" "ekman-manage.cluster.local" "frontend.oceanbox.io" "10.255.241.99" "10.255.243.99"
|
|
||||||
>>>>>>>> ekman:ekman/default.nix
|
|
||||||
];
|
];
|
||||||
publicKeyFile = ./manage/ssh_host_key.pub;
|
publicKeyFile = ./manage/ssh_host_key.pub;
|
||||||
};
|
};
|
||||||
rossby-login = {
|
rossby-login = {
|
||||||
hostNames = [
|
hostNames = [
|
||||||
<<<<<<<< HEAD:rossby/default.nix
|
"rossby" "rossby-login" "rossby-login.compute.local" "rossby.compute.local" "rossby.oceanbox.io" "172.16.239.222" "172.16.240.222"
|
||||||
"rossby" "rpssby-login" "rossby-login.compute.local" "rossby.compute.local" "rossby.oceanbox.io" "172.16.239.222" "172.16.240.222"
|
|
||||||
];
|
];
|
||||||
publicKeyFile = ./login/ssh_host_key.pub;
|
publicKeyFile = ./login/ssh_host_key.pub;
|
||||||
========
|
|
||||||
"ekman" "ekman.cluster.local" "ekman.oceanbox.io" "10.255.241.100" "10.255.243.100"
|
|
||||||
];
|
|
||||||
publicKeyFile = ./logon/ssh_host_key.pub;
|
|
||||||
};
|
|
||||||
fs-work = {
|
|
||||||
hostNames = [
|
|
||||||
"fs-work" "fs-work.cluster.local" "10.255.241.90" "10.255.243.90"
|
|
||||||
];
|
|
||||||
publicKeyFile = ./fs-work/ssh_host_key.pub;
|
|
||||||
};
|
|
||||||
fs-backup = {
|
|
||||||
hostNames = [
|
|
||||||
"fs-backup" "fs-backup.cluster.local" "10.255.241.80" "10.255.243.80"
|
|
||||||
];
|
|
||||||
publicKeyFile = ./fs-backup/ssh_host_key.pub;
|
|
||||||
>>>>>>>> ekman:ekman/default.nix
|
|
||||||
};
|
};
|
||||||
# fs-work = {
|
# fs-work = {
|
||||||
# hostNames = [
|
# hostNames = [
|
||||||
@@ -306,15 +261,9 @@ let
|
|||||||
"${x.name}" = {
|
"${x.name}" = {
|
||||||
hostNames = [
|
hostNames = [
|
||||||
"${x.name}"
|
"${x.name}"
|
||||||
<<<<<<<< HEAD:rossby/default.nix
|
|
||||||
"${x.name}.compute.local"
|
"${x.name}.compute.local"
|
||||||
"172.16.239.${n}"
|
"172.16.239.${n}"
|
||||||
"172.16.240.${n}"
|
"172.16.240.${n}"
|
||||||
========
|
|
||||||
"${x.name}.cluster.local"
|
|
||||||
"10.255.241.${n}"
|
|
||||||
"10.255.243.${n}"
|
|
||||||
>>>>>>>> ekman:ekman/default.nix
|
|
||||||
];
|
];
|
||||||
publicKeyFile = x.pubkey;
|
publicKeyFile = x.pubkey;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -113,17 +113,10 @@ in
|
|||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
hostName = name;
|
hostName = name;
|
||||||
<<<<<<<< HEAD:rossby/login/default.nix
|
|
||||||
interfaces.enp129s0f0 = {
|
interfaces.enp129s0f0 = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [ {
|
ipv4.addresses = [ {
|
||||||
inherit address;
|
inherit address;
|
||||||
========
|
|
||||||
interfaces.enp33s0f3np3 = {
|
|
||||||
useDHCP = false;
|
|
||||||
ipv4.addresses = [ {
|
|
||||||
address = address;
|
|
||||||
>>>>>>>> ekman:ekman/login/default.nix
|
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
} ];
|
} ];
|
||||||
# ipv4.routes = [
|
# ipv4.routes = [
|
||||||
|
|||||||
@@ -9,13 +9,8 @@ let
|
|||||||
|
|
||||||
users =
|
users =
|
||||||
if cfg.users then {
|
if cfg.users then {
|
||||||
<<<<<<<< HEAD:rossby/mounts.nix
|
|
||||||
"/users" = {
|
"/users" = {
|
||||||
device = "172.16.239.222:/home";
|
device = "172.16.239.222:/home";
|
||||||
========
|
|
||||||
"/frontend" = {
|
|
||||||
device = "10.255.241.100:/home";
|
|
||||||
>>>>>>>> ekman:ekman/mounts.nix
|
|
||||||
fsType = "nfs4";
|
fsType = "nfs4";
|
||||||
options = [
|
options = [
|
||||||
"soft"
|
"soft"
|
||||||
@@ -77,11 +72,7 @@ let
|
|||||||
};
|
};
|
||||||
} else {};
|
} else {};
|
||||||
|
|
||||||
<<<<<<<< HEAD:rossby/mounts.nix
|
|
||||||
fileSystems = users // opt // data // work // ceph;
|
fileSystems = users // opt // data // work // ceph;
|
||||||
========
|
|
||||||
fileSystems = users // opt // data // work // backup // ceph;
|
|
||||||
>>>>>>>> ekman:ekman/mounts.nix
|
|
||||||
|
|
||||||
automount = mountpoint:
|
automount = mountpoint:
|
||||||
if cfg.automount.enable && builtins.hasAttr mountpoint fileSystems then
|
if cfg.automount.enable && builtins.hasAttr mountpoint fileSystems then
|
||||||
|
|||||||
Reference in New Issue
Block a user