From 0744a8a641022187a4f895fe7c9141afb4c3c1ca Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 29 Aug 2023 14:56:40 +0200 Subject: [PATCH] Use the OmniPath network for Ceph --- m/bay/configuration.nix | 9 +++++---- m/hut/ceph.nix | 2 +- m/lake2/configuration.nix | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/m/bay/configuration.nix b/m/bay/configuration.nix index 5e2b342..1e2c1d0 100644 --- a/m/bay/configuration.nix +++ b/m/bay/configuration.nix @@ -33,9 +33,10 @@ enable = true; global = { fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b"; - monHost = "10.0.40.40"; - monInitialMembers = "bay"; - clusterNetwork = "10.0.40.40/24"; # Use Ethernet only + monHost = "10.0.42.40"; + monInitialMembers = "10.0.42.40"; + publicNetwork = "10.0.42.40/24"; + clusterNetwork = "10.0.42.40/24"; }; extraConfig = { # Only log to stderr so it appears in the journal @@ -49,7 +50,7 @@ enable = true; daemons = [ "mds0" "mds1" ]; extraConfig = { - "host" = "bay"; + "host" = "10.0.42.40"; }; }; mgr = { diff --git a/m/hut/ceph.nix b/m/hut/ceph.nix index 3bebe11..02e50a6 100644 --- a/m/hut/ceph.nix +++ b/m/hut/ceph.nix @@ -17,7 +17,7 @@ fsType = "ceph"; device = "user@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/"; options = [ - "mon_addr=10.0.40.40" + "mon_addr=10.0.42.40" "secretfile=${config.age.secrets."secrets/ceph-user".path}" ]; }; diff --git a/m/lake2/configuration.nix b/m/lake2/configuration.nix index 4b05147..4639757 100644 --- a/m/lake2/configuration.nix +++ b/m/lake2/configuration.nix @@ -20,9 +20,10 @@ enable = true; global = { fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b"; - monHost = "10.0.40.40"; - monInitialMembers = "bay"; - clusterNetwork = "10.0.40.40/24"; # Use Ethernet only + monHost = "10.0.42.40"; + monInitialMembers = "10.0.42.40"; + publicNetwork = "10.0.42.40/24"; + clusterNetwork = "10.0.42.40/24"; }; osd = { enable = true;