Use the OmniPath network for Ceph

This commit is contained in:
Rodrigo Arias 2023-08-29 14:56:40 +02:00
parent 0f0a861896
commit 0744a8a641
3 changed files with 10 additions and 8 deletions

View File

@ -33,9 +33,10 @@
enable = true; enable = true;
global = { global = {
fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b"; fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b";
monHost = "10.0.40.40"; monHost = "10.0.42.40";
monInitialMembers = "bay"; monInitialMembers = "10.0.42.40";
clusterNetwork = "10.0.40.40/24"; # Use Ethernet only publicNetwork = "10.0.42.40/24";
clusterNetwork = "10.0.42.40/24";
}; };
extraConfig = { extraConfig = {
# Only log to stderr so it appears in the journal # Only log to stderr so it appears in the journal
@ -49,7 +50,7 @@
enable = true; enable = true;
daemons = [ "mds0" "mds1" ]; daemons = [ "mds0" "mds1" ];
extraConfig = { extraConfig = {
"host" = "bay"; "host" = "10.0.42.40";
}; };
}; };
mgr = { mgr = {

View File

@ -17,7 +17,7 @@
fsType = "ceph"; fsType = "ceph";
device = "user@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/"; device = "user@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/";
options = [ options = [
"mon_addr=10.0.40.40" "mon_addr=10.0.42.40"
"secretfile=${config.age.secrets."secrets/ceph-user".path}" "secretfile=${config.age.secrets."secrets/ceph-user".path}"
]; ];
}; };

View File

@ -20,9 +20,10 @@
enable = true; enable = true;
global = { global = {
fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b"; fsid = "9c8d06e0-485f-4aaf-b16b-06d6daf1232b";
monHost = "10.0.40.40"; monHost = "10.0.42.40";
monInitialMembers = "bay"; monInitialMembers = "10.0.42.40";
clusterNetwork = "10.0.40.40/24"; # Use Ethernet only publicNetwork = "10.0.42.40/24";
clusterNetwork = "10.0.42.40/24";
}; };
osd = { osd = {
enable = true; enable = true;