diff --git a/hosts/physiques/cephiroth/ceph.nix b/hosts/physiques/cephiroth/ceph.nix index 7e13eba..8d72a15 100644 --- a/hosts/physiques/cephiroth/ceph.nix +++ b/hosts/physiques/cephiroth/ceph.nix @@ -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 }; }; diff --git a/hosts/physiques/cephiroth/networking.nix b/hosts/physiques/cephiroth/networking.nix index beb112a..027488a 100644 --- a/hosts/physiques/cephiroth/networking.nix +++ b/hosts/physiques/cephiroth/networking.nix @@ -33,6 +33,8 @@ interfaces = { ens2f0.mtu = 9000; ens2f1.mtu = 9000; + + bonds.mtu = 9000; srv-nat = { ipv4 = {