fix: add public and cluster ip

cephiroth-v3
Lzebulon 2026-02-01 22:56:04 +01:00
parent ed5aac805d
commit 78274fd0fa
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
2 changed files with 10 additions and 2 deletions

View File

@ -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
};
};

View File

@ -34,6 +34,8 @@
ens2f0.mtu = 9000;
ens2f1.mtu = 9000;
bonds.mtu = 9000;
srv-nat = {
ipv4 = {
addresses = [