mirror of https://gitlab.crans.org/nounous/nixos
fix: add public and cluster ip
parent
ed5aac805d
commit
78274fd0fa
|
|
@ -13,6 +13,10 @@
|
|||
# je propose comme convention, entier suivi de l'id à 2 chiffre de la machine
|
||||
# les machines physique ont des id < 100, donc ca fonctionne
|
||||
daemons = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11"];
|
||||
extraConfig = {
|
||||
"public_addr" = "172.16.4.3";
|
||||
"cluster_addr" = "172.16.6.3";
|
||||
};
|
||||
};
|
||||
|
||||
# monitor, garde la map du cluster
|
||||
|
|
@ -22,7 +26,7 @@
|
|||
"mon host" = "172.16.4.3";
|
||||
"mon initial members" = "cephiroth";
|
||||
};
|
||||
daemons = ["cephiroth" "cephiroth-san"];
|
||||
daemons = ["cephiroth"];
|
||||
};
|
||||
|
||||
# Dashboard
|
||||
|
|
@ -30,7 +34,9 @@
|
|||
enable = true;
|
||||
daemons = ["cephiroth"];
|
||||
extraConfig = {
|
||||
"mgr_initial_modules" = "dashboard";
|
||||
"mgr_initial_modules" = "dashboard prometheus";
|
||||
# TODO: setup prometheus listen addr
|
||||
# le port de prometheus est 9283 pour ceph
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@
|
|||
interfaces = {
|
||||
ens2f0.mtu = 9000;
|
||||
ens2f1.mtu = 9000;
|
||||
|
||||
bonds.mtu = 9000;
|
||||
|
||||
srv-nat = {
|
||||
ipv4 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue