enable beegfs on /work
This commit is contained in:
@@ -140,6 +140,12 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
compute = {
|
compute = {
|
||||||
|
system.activationScripts = {
|
||||||
|
work.text = ''
|
||||||
|
mkdir -p /work
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
features = {
|
features = {
|
||||||
hpc = {
|
hpc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -158,13 +164,13 @@ let
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
beegfs = {
|
beegfs = {
|
||||||
enable = false;
|
enable = true;
|
||||||
beegfs = {
|
beegfs = {
|
||||||
bee0-0 = {
|
beegfs0 = {
|
||||||
mgmtdHost = "beegfs0";
|
mgmtdHost = "ibbeegfs0";
|
||||||
connAuthFile = "/etc/beegfs/connauthfile";
|
connAuthFile = "/etc/beegfs/connauthfile";
|
||||||
client = {
|
client = {
|
||||||
enable = false;
|
enable = true;
|
||||||
mountPoint = "/work";
|
mountPoint = "/work";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,11 +8,6 @@ let
|
|||||||
|
|
||||||
nodes = import ./nodes.nix;
|
nodes = import ./nodes.nix;
|
||||||
|
|
||||||
cluster = {
|
|
||||||
compute = true;
|
|
||||||
k8sNode = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
compute = {
|
compute = {
|
||||||
# deployment.tags = [ "compute" ];
|
# deployment.tags = [ "compute" ];
|
||||||
|
|
||||||
@@ -43,6 +38,11 @@ let
|
|||||||
hw = ./hw + "/${host.name}.nix";
|
hw = ./hw + "/${host.name}.nix";
|
||||||
in {
|
in {
|
||||||
"${host.name}" = {
|
"${host.name}" = {
|
||||||
|
cluster = {
|
||||||
|
compute = true;
|
||||||
|
k8sNode = true;
|
||||||
|
};
|
||||||
|
|
||||||
features = {
|
features = {
|
||||||
host = {
|
host = {
|
||||||
name = host.name;
|
name = host.name;
|
||||||
@@ -70,7 +70,7 @@ let
|
|||||||
ipv4.routes = [ {
|
ipv4.routes = [ {
|
||||||
address = "10.255.242.2";
|
address = "10.255.242.2";
|
||||||
prefixLength = 32;
|
prefixLength = 32;
|
||||||
via = "10.1.241.100";
|
via = "10.255.241.100";
|
||||||
} ];
|
} ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user